Modify

Opened 11 months ago

Closed 11 months ago

Last modified 11 months ago

#23624 closed defect (othersoftware)

JOSM two ids are the same value

Reported by: ofarukgnsl@… Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: Cc:

Description

I am editing the path using JOSM.
After making the changes, I created two nodes.
I get this error when converting the file I saved as .osm to .pbf with osmconvert. What should I do?

Error:
osmconvert Warning: wrong sequence at node -25363
osmconvert Warning: next object is node_-25364

Attachments (1)

convertError.png (91.1 KB ) - added by ofarukgnsl@… 11 months ago.

Download all attachments as: .zip

Change History (5)

by ofarukgnsl@…, 11 months ago

Attachment: convertError.png added

comment:1 by stoecker, 11 months ago

Resolution: othersoftware
Status: newclosed

osmconvert seems to expect a certain sorting order. You should ask osmconvert authors or try osmium instead.

comment:2 by stoecker, 11 months ago

P.S. Why don't you save .osm.pbf from JOSM directly? It supports output in this format!

comment:3 by GerdP, 11 months ago

It supports output in this format!

Only when the pbf plugin is installed. Also note that the pbf format is not fully compatible with the *.osm format. Actions like modifiy or delete are not stored.

comment:4 by GerdP, 11 months ago

osmconvert seems to expect a certain sorting order

The tool warns because other software may not be able to handle the data. Some programs expect the nodes, then ways, then relations, each sorted by id.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.