Talk:OSM XML/XSD

From OpenStreetMap Wiki
Jump to navigation Jump to search

Discuss XSD here:


Exactly where is that .xsd?

Here are possible sources of a workable OSM .xsd

Best found so far

oschrenk Apr 25, 2012 https://github.com/oschrenk/gis-java/blob/master/lib/gis/formats/osm.io/src/main/resources/OSMSchema.xsd

oschrenk Feb 4, 2013 https://github.com/oschrenk/osm/blob/master/osm-io/src/main/resources/OSMSchema.xsd

Above schema file (as of 2-16-2015) visual

Note: there is no official .xsd See: https://help.openstreetmap.org/questions/41078/location-and-use-of-xsd-schema-files See also OSM XML#OSM XML file format notes. The above .xsd's may not exactly match the XML file you recieve. OSM does NOT use XML at its core. The core data at OSM is xml tagged by the API.

Related

Older Forum topic From http://forum.openstreetmap.org/viewtopic.php?id=7186

Older Help topic (note 3,500 views!) https://help.openstreetmap.org/questions/8682/xml-schema-for-nominatim-responses

Rjl (talk) 21:37, 16 February 2015 (UTC)