Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fehler in multipolygon relation=450512 #11

Open
marians opened this issue Apr 25, 2013 · 0 comments
Open

Fehler in multipolygon relation=450512 #11

marians opened this issue Apr 25, 2013 · 0 comments

Comments

@marians
Copy link

marians commented Apr 25, 2013

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant