OSM XML 🗺

OpenStreetMap XML (.osm)

Open Beta
.osm · application/x-openstreetmap+xml

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.

OpenStreetMap data as of 24 August 2026 · 46 days ago

Safirisha OSM XML sasa ✨ Open Beta — bila malipo, bila vikomo

Vipengele Muhimu

✓OSM API 0.6 structure: node, way, closed ways for polygons
✓Tags carry over as key-value pairs with their original OSM keys — colons preserved (addr:street, building:levels)
✓Negative ids — a marker for non-uploaded data
✓UTF-8 encoding understood by every OSM tool
✓Single layer — a .osm file, multiple layers — a ZIP archive

Kuhusu Muundo wa OSM XML

OSM XML is OpenStreetMap's own text format: nodes, ways and their tags written as ordinary XML following the OSM API 0.6 schema. The file is human-readable, opens in a notepad, is parsed by any XML parser, and in the OSM world every tool understands it — JOSM, osmium, osm2pgsql, GDAL.

The format is chosen when you need the objects themselves with their tags rather than a picture: to look at a selection in JOSM, to load an area into PostGIS for analytics, to run it through your own script or convert it into any other format — OSM XML is the universal go-between for that.

The exporter assembles a document of the same structure: points become node elements, lines become ways, polygons become closed ways (the first node matches the last), and tags are carried over as key-value pairs. The encoding is UTF-8; one layer means an .osm file, several layers mean a ZIP archive. Identifiers are issued by us and are negative: that is the accepted OSM marker for "data not in the database yet". The original OSM object numbers are therefore not preserved, and complex relations — multipolygons with holes and routes — are not recreated in a flat export.

Programu Gani Hufungua Faili za OSM XML

Programu na programu-tumizi zifuatazo zinaweza kufungua, kuhariri, na kufanya kazi na faili za OpenStreetMap XML (.osm) (.osm) zilizosafirishwa kutoka OSM2CDR:

💻JOSM 💻osmium-tool 💻osm2pgsql 🌎QGIS (GDAL OSM driver) 💻Vespucci

Format specifications

Nani Hutumia Ramani za OSM XML

🏗
Viewing and checking an OSM selection in the JOSM editor
The selection opens in JOSM and is checked by eye: objects, tags, geometry.
💻
Importing data into PostGIS via osm2pgsql for analytics
The area is loaded into PostGIS through osm2pgsql and then analysed with SQL queries.
📊
Converting to any format through GDAL (ogr2ogr) or osmium
The file is converted into any format you need through ogr2ogr or osmium — every tool in the ecosystem understands OSM XML.
🎨
Archiving and sharing a small extract in a human-readable form
A small fragment is convenient to hand over or put aside in an archive in human-readable form.

Jinsi ya Kusafirisha OSM XML

1
Chagua eneo
Chora mstatili au poligoni kwenye ramani shirikishi katika osm2cdr.ru
2
Chagua OSM XML
Chagua OpenStreetMap XML (.osm) kutoka orodha ya miundo 127 ya usafirishaji inayopatikana
3
Safirisha
Bofya Safirisha na upokee faili yako ya .osm ndani ya dakika 1-5
4
Pakua
Pakua faili tayari ya OSM XML na uifungue katika JOSM

Jinsi ya Kufungua Baada ya Kuhamisha

Ramani maarufu katika OSM XML

Bila malipo

Pata usafirishaji wa ramani za OpenStreetMap XML (.osm)

Pakua ramani za kitaalamu za OSM XML kutoka OpenStreetMap. Uzalishaji wa papo hapo, eneo lolote.

Bila malipo / usafirishaji
Safirisha OSM XML sasa →

Maswali Yanayoulizwa Mara kwa Mara

Can I upload this file back into OpenStreetMap? ▼
How does OSM XML differ from OSM PBF? ▼
Are relations and multipolygons preserved? ▼
Can I open the result in QGIS? ▼
Are the original OSM object identifiers preserved? ▼
How heavy does the file get? ▼

Convert to OSM XML and back

What people who already downloaded say

Reviews are quoted in the language their authors wrote them in.

Наконец-то карты можно скачать в векторе. Автору спасибо!
Ильяс, сентябрь 2026
всё очень круто, не ожидал что просто приду и скачаю кусочек карты! спасибо!!!
Сергей, сентябрь 2026
ОГРОМНОЕ СПАСИБО!!! ОЧЕНЬ ХОРОШАЯ ПРОГРАММА!!! Искал карту в векторе на стыке 3 стран - очень помогло!!
Андрей, сентябрь 2026
Ты - молодец! Сделал большое и нужное дело!
Артем, сентябрь 2026
Иван, спасибо огромное! Не просто человек - Человечище!
Константин, сентябрь 2026
иван, вы просто чудо. Спасибо за неимоверно крутой сервис
Студент-архитектор, сентябрь 2026

Miundo Inayohusiana

Husafirishwa Pamoja Mara kwa Mara

Related Articles