I have :
I want to :
But :
Here is an extract from the map.osm that JOSM tries to import :
What's going wrong here? asked 17 Oct '12, 17:26 Lucciniolo SimonPoole ♦ |
The question has been closed for the following reason "The question is answered" by SimonPoole 18 May '17, 23:31
As you said, the extracts from bbbike.org have the version of all map objects set to -1. They also have all timestamps set to 1969. I'm not sure why, but this definitely makes them unusable for editing in JOSM. I suppose you could modify the version manually by replacing It might be easier to look for a different extract that provides the real OSM data with real version numbers instead of a modified version of it. Other extract providers are listed on the wiki "Planet" page. I personally would recommend the geofabrik ones. answered 18 Oct '12, 05:19 ToeBee As explained by ToeBee, this is a problem with the OSM data you downloaded - the data contains wrong version values (namely -1). This is because the extracts from bbbike.org are not suitable for editing. The FAQ at http://extract.bbbike.org/extract.html explains:
Consequently, the extracts in Protocol Buffers format (.pbf) all have all version attributes set to -1, at least when I checked (2017-05-18). The downloads in OSM XML format (.xml.gz) also do not contain a proper version, only there the version is always set to 1 instead of -1 (which is arguably even worse, because tools will not notice right away). You will have to obtain OSM data from somewhere else.
(18 May '17, 09:55)
sleske
No, manually "fixing" the version will not work (or cause even more trouble). JOSM needs the right version of each object to update it correctly. That information is simply missing in the downloads, there is no way to fix that.
(18 May '17, 09:56)
sleske
How would JOSM know whether the data contains the "right version" or not? There's no such thing. As long as JOSM gets a valid version number (ie. >=1), it shouldn't have a problem opening it and working with it. Keep in mind that the database in question here is separate from the "live" OSM database and they didn't say anything about uploading this data to the OSM database, so mis-matching versions wouldn't be an issue.
(18 May '17, 16:34)
alester
1
Folks this question was asked nearly 5 years ago, and is long outdated. not to mention that the author is unlikely to still be waiting for your input.
(18 May '17, 23:30)
SimonPoole ♦
|
In fact, all vesion and changeset of the .osm that i have imported was equal to -1 !
I think that it is not normal. What do you think about that ?
Ok. In fact, it is normal because I dowmload tne data on http://download.bbbike.org/osm/ which have not diffs.
What can i do to use my database with JOSM ?
Can i change version and changeset manuelly ?