OSM XML/XSD

From OpenStreetMap Wiki
Jump to navigation Jump to search
No official .xsd Schema exists. For more see discussion tab above.

An XSD (XML Schema) file defines the format of an XML file, in terms of expected elements, how they are ordered, nested and repeated, and what attributes they have. Many downstream programs that consume OSM data will require, or behave better, when supplied with a well constructed and comprehensive .xsd file.

TODO: Create a comprehensive .xsd Schema for .osm files for API v0.6. For more see discussion tab above.

API map calls

The 'map' call to the API returns xml in a .osm file. Likewise, the easy web export feature returns the same results.

See also