Opened 8 years ago

Closed 6 years ago

#3512 closed defect (fixed)

Key Error

Reported by: penorman@… Owned by: ivan@…
Priority: minor Milestone:
Component: ogr2osm Version:
Keywords: Cc: JoshD

Description

When processing a shapefile I get an error on line 603

Traceback (most recent call last):

File "ogr2osm.py", line 603, in <module>

for nodeID in segmentNodes[segmentID]:

KeyError?: -42641

Attachments (1)

test.tgz (19.4 KB) - added by pnorman 8 years ago.
File that replicates the problem

Download all attachments as: .zip

Change History (6)

Changed 8 years ago by pnorman

Attachment: test.tgz added

File that replicates the problem

comment:1 Changed 8 years ago by JoshD

Cc: JoshD added
Priority: majorminor

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.

comment:2 Changed 8 years ago by mtoups@…

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

comment:3 Changed 8 years ago by mtoups@…

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

comment:4 Changed 8 years ago by pnorman

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

comment:5 Changed 6 years ago by pnorman

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.