Opened 13 years ago

Closed 12 years ago

#677 closed defect (fixed) can't handle nodes with attributes other than id, lat and lon

Reported by: tibors@… Owned by: Nick
Priority: minor Milestone:
Component: utils Version:
Keywords: Cc:


The script /applications/utils/osm-extract/ assumes that every node only has the attributes id, lat and lon. As far as I can tell every node in an .osm file saved by JOSM and the country excerpts generated with Osmosis has at least a timestamp attribute in addition to the other three and there can be more attributes. The result of this is that the script generates a lot of "Invalid node line" errors and an .osm file without any nodes in it.

The attached patch solves this.

Attachments (1) (683 bytes) - added by tibors@… 13 years ago.

Download all attachments as: .zip

Change History (3)

Changed 13 years ago by tibors@…

comment:1 Changed 13 years ago by Tom Hughes

Owner: changed from Tom Hughes to Nick

comment:2 Changed 12 years ago by cartinus@…

Resolution: fixed
Status: newclosed

fixed in r7193 by Frederik Ramm

Note: See TracTickets for help on using tickets.