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

ogr2osm missing attributes in osm files #4242

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

ogr2osm missing attributes in osm files #4242

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

Comments

@openstreetmap-trac
Copy link

Reporter: Malmis
[Submitted to the original trac issue database at 3.02pm, Thursday, 23rd February 2012]

ogr2osm doesn't include a version attribute or any timestamps to nodes, ways or relations in osm files.

@openstreetmap-trac
Copy link
Author

Author: iandees
[Added to the original trac issue at 1.59pm, Friday, 24th February 2012]

This diff should not be applied to ogr2osm because it creates a logically invalid OSM file. version and timestamp attributes should not exist in an OSM file until it has been uploaded to the OSM server.

@openstreetmap-trac
Copy link
Author

Author: JoshD
[Added to the original trac issue at 6.52pm, Friday, 24th February 2012]

Replying to [comment:1 iandees]:

This diff should not be applied to ogr2osm because it creates a logically invalid OSM file. version and timestamp attributes should not exist in an OSM file until it has been uploaded to the OSM server.

I would agree, though I must admit I've used sed to add fake metadata then strip it out so I could use osmosis. Ah, just saw #4243 to change osmosis to accept data without metadata.

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