Re: [Pymag-devel] Crash with Newzealand OSM extracts
Status: Alpha
Brought to you by:
lhj
From: Josh <jo...@fe...> - 2008-12-18 06:16:53
|
Hi Ingo, The problem is with that OSM extract you're using. It has 103 non-existent nodes still referenced in ways. One of them you'll recognize from your error message - node 25884869. I wrote a quick filter when I first played with pymag to clean up my OSM dumps to stop this error, but I think it should be handled by pymag, by just exclude any references to deleted nodes. The missing nodes are: 104572522 142395382 170734405 170734407 170734408 170734409 170734410 170734412 170734413 170734415 170734417 170734418 170734419 170734421 170734422 170734424 170734425 170734426 170734427 170734429 170734430 170734431 170734433 170734435 246972078 246972079 246972080 246972081 246972083 246972084 246972086 246972087 246972088 246972089 246972090 246972091 246972092 246972093 246972094 246972095 246972096 248757745 252151160 252151161 252151162 252151163 252151164 252151165 252151166 252151167 252151168 252151169 254340837 254340867 25776570 25884869 25885322 25885335 25885661 25885662 258981333 258981334 258981335 258981336 258981337 259412603 259412604 25952823 25952839 267664509 59942013 59964349 59964350 59964351 59964352 59964353 59964354 60701473 60701474 60701475 60701476 60701477 60701478 60701479 60701480 60701481 60701482 60701483 60701484 60701485 60701486 60701487 60701536 60701537 60701538 60701539 60701540 60701541 60701542 60701588 60701589 60701615 68406202 Cheers, Josh Ingo Hornberger wrote: > Hi! > > First of all, thanks for your effort so far! This is currently the > only practical abbroach for converting OSM's for our Magellan devices. > > I'm not yet on the list. And I also don't know Python at all. So I'm > unable to do further debugging ATM. I used the OSM extracts from the > following source: > http://debian.mcmillan.net.nz/nzosm/ > > cellelement = CellElementPolyline([self.nodes[ref] for ref in > self.waynodes], > KeyError: 25884869 > > Best regards, > Ingo > ------------------------------------------------------------------------ |