[OSM-dev] OSM XML declaration, JOSM, Osmosis et al.

Richard Fairhurst richard at systemed.net
Wed Sep 21 15:09:44 BST 2011


Serge Wroclawski wrote:
> OSM objects are identified by three identifiers:
> 
> Object Type, ID and Version
>
> Those three identifiers are necessary when talking about an OSM
> object. Absence of one of them means the data isn't valid. The 
> type and ID are obvious, but the version number appears to be 
> tripping you up. The version number is not metadata, it's part 
> of the identifier of the object.

No. "It can be", not "it is".

It is absolutely a valid assumption for read-only purposes that, if the
version number is absent, it refers to the most recent version at the time
the extract was made.

Version numbers are only required when writing back to the OSM database and
that's a minority of OSM uses.

cheers
Richard



--
View this message in context: http://gis.638310.n2.nabble.com/OSM-XML-declaration-JOSM-Osmosis-et-al-tp6814991p6816141.html
Sent from the Developer Discussion mailing list archive at Nabble.com.



More information about the dev mailing list