Opened 9 years ago

Closed 9 years ago

#2620 closed defect (wontfix)

osmosis can't parse un-uploaded 0.6 .osm files (from JOSM, other tools) due to requiring version=""

Reported by: avar Owned by: avar
Priority: blocker Milestone:
Component: osmosis Version:
Keywords: Cc:

Description

(This is related to #2474)

osmosis will die on files like this one:

<?xml version='1.0' encoding='UTF-8'?>
<osm version='0.6' generator='JOSM'>
  <node id='-1' visible='true' lat='0.9821734421147642' lon='-1.0863279795680407' />
  <node id='-2' visible='true' lat='-1.4618577742968084' lon='0.6155858550885565' />
  <way id='-3' visible='true'>
    <nd ref='-1' />
    <nd ref='-2' />
  </way>
</osm>

It shouldn't require the version attribute on elements with a negative id attribute. This breaks using osmosis as a preprocessor before one uploads a file generated by some script (like *2osm).

Change History (4)

comment:1 Changed 9 years ago by bretth

Resolution: wontfix
Status: newclosed

Osmosis is not compatible with JOSM format OSM files. JOSM OSM files are editor oriented and deviate from Osmosis in a number of ways (version and action attributes at least ...) If you wish to discuss this in more detail please post to the osmosis-dev mailing list, but for now there are no plans to rectify this.

comment:2 Changed 9 years ago by bretth

Resolution: wontfix
Status: closedreopened

comment:3 Changed 9 years ago by bretth

Owner: changed from bretth to avar
Status: reopenedassigned

comment:4 Changed 9 years ago by bretth

Resolution: wontfix
Status: assignedclosed
Note: See TracTickets for help on using tickets.