Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

Key Error #3512

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 4 comments
Closed

Key Error #3512

openstreetmap-trac opened this issue Jul 23, 2021 · 4 comments

Comments

@openstreetmap-trac
Copy link

Reporter: penorman[at]mac.com
[Submitted to the original trac issue database at 9.01pm, Friday, 4th February 2011]

When processing a shapefile I get an error on line 603

Traceback (most recent call last):
File "ogr2osm.py", line 603, in
for nodeID in segmentNodes[segmentID]:
KeyError: -42641

@openstreetmap-trac
Copy link
Author

Author: JoshD
[Added to the original trac issue at 8.14pm, Monday, 22nd August 2011]

I can replicate this problem with the provided test data, however I've never seen this error before, so my guess is the shapefile has corrupt geometry. I'm downgrading to minor unless we get additional reports of this happening.

@openstreetmap-trac
Copy link
Author

Author: mtoups[at]alumni.cmu.edu
[Added to the original trac issue at 9.36pm, Wednesday, 28th September 2011]

happens to me also. I'll attach the shapefile as another test case.

@openstreetmap-trac
Copy link
Author

Author: mtoups[at]alumni.cmu.edu
[Added to the original trac issue at 9.40pm, Wednesday, 28th September 2011]

never mind -- the shapefile in question far exceeds the 256kb upload limit.

@openstreetmap-trac
Copy link
Author

Author: pnorman
[Added to the original trac issue at 1.37am, Thursday, 29th September 2011]

Mine did then I used QGIS to slice it down to a smaller area that exhibited the problem.

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

No branches or pull requests

1 participant