OSM XML is the native text format of OpenStreetMap, holding nodes, ways, and relations with tags since 2004. It is human-readable, opens in Notepad, and parses with any XML parser, and in the OSM world every tool understands it: JOSM, osmium, osm2pgsql, GDAL. Our exporter assembles a valid OSM API 0.6 document from the selected OSM layers: points become node elements, lines become way elements, polygons become closed ways (first node equals last), and tags carry over as key-value pairs. The file is UTF-8; multiple layers are packed into a ZIP. Honestly: we assign negative ids to nodes and ways — a marker for «data not from the live database» — so the file is handy for viewing in JOSM, importing into PostGIS, and converting through GDAL, but is not meant for uploading straight back into OSM.
Key Features
What Program Opens OSM XML Files
The following programs and applications can open, edit, and work with OpenStreetMap XML (.osm) (.osm) files exported from OSM2CDR:
Format specifications
- Open standard
- 2D only
- Lossless (no quality loss)
- Stores feature attributes
- Output: 1 file
- An OSM API 0.6 document (nodes/ways, closed ways for polygons) with negative ids marking non-uploaded data; a single .osm, multiple layers as a ZIP.
Who Uses OSM XML Maps
How to Export OSM XML
Popular maps in OSM XML
Get OpenStreetMap XML (.osm) map exports
Download professional OSM XML maps from OpenStreetMap. Instant generation, any area.