Introduction
OSM XML writes OpenStreetMap data as XML: a list of instances of the project’s data primitives. The binary alternative is OSM PBF.
Structure
The root osm element records the API version and the program that made the
file. A node is a point in WGS 84 coordinates; a way refers to
nodes with nd elements; a relation lists
member elements with a type, reference and role. Each may carry
tag elements with a key and a value.
Not described
This page is a first outline.
Known, not yet covered
- Reference: the attributes, ordering conventions and the osmChange form.
- Viewer: the site has no viewer for this format.
Links
Software
- JOSM
- Osmosis
- Vespucci
Reference
- OSM XML – the OpenStreetMap wiki’s description
- Planet.osm – the whole database as one file, in OSM XML or PBF