forked from clupprich/python-osm
-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
Zum Reproduzieren:
python -m osm.multipolygon -r 450512
Erzeugt den Fehler:
node with more than 2 ways 665766410
Traceback (most recent call last):
File ".../lib/python2.7/runpy.py", line 162, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File ".../lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File ".../lib/python2.7/site-packages/osm/multipolygon.py", line 329, in <module>
mp = multipolygon(osmobj.relations[int(relation)])
File ".../lib/python2.7/site-packages/osm/multipolygon.py", line 14, in __init__
self.read_relation(self.relation)
File ".../lib/python2.7/site-packages/osm/multipolygon.py", line 36, in read_relation
self.outer_polygons, self.outer_ways = self.create_polygons(outer_ways)
File ".../lib/python2.7/site-packages/osm/multipolygon.py", line 82, in create_polygons
ways = endnodes.pop(startnode.id)
KeyError: 665766410
Die Relation hat offensichtlich einen Knoten, in dem sich zwei Polygone (und insgesamt 4 ways) berühren. Siehe
http://www.openstreetmap.org/browse/relation/450512
http://www.openstreetmap.org/browse/node/665766410
Metadata
Metadata
Assignees
Labels
No labels