Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#4242 closed defect (wontfix)

ogr2osm missing attributes in osm files

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

Description

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

Attachments (1)

ogr2osm-malmis.diff (2.7 KB) - added by Malmis 7 years ago.
just a small hack to make osm files valid for osmosis

Download all attachments as: .zip

Change History (4)

Changed 7 years ago by Malmis

Attachment: ogr2osm-malmis.diff added

just a small hack to make osm files valid for osmosis

comment:1 Changed 7 years ago by 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.

comment:2 Changed 7 years ago by Malmis

Resolution: wontfix
Status: newclosed

comment:3 in reply to:  1 Changed 7 years ago by JoshD

Replying to 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.

Note: See TracTickets for help on using tickets.