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

planetosm-excerpt-tags.pl can't handle nodes with attributes other than id, lat and lon #677

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment

Comments

@openstreetmap-trac
Copy link

Reporter: tibors[at]xs4all.nl
[Submitted to the original trac issue database at 10.45am, Friday, 8th February 2008]

The script /applications/utils/osm-extract/planetosm-excerpt-tags.pl 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.

@openstreetmap-trac
Copy link
Author

Author: cartinus[at]xs4all.nl
[Added to the original trac issue at 3.28am, Tuesday, 9th September 2008]

fixed in r7193 by Frederik Ramm

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