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.

지금 OSM XML 내보내기 ✨ 오픈 베타 — 무료, 제한 없음

주요 기능

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

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.

OSM XML 파일을 여는 프로그램

다음 프로그램과 애플리케이션으로 OSM2CDR에서 내보낸 OpenStreetMap XML (.osm)(.osm) 파일을 열고 편집하고 작업할 수 있습니다:

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

Format specifications

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.

OSM XML 내보내기 방법

1
영역 선택
osm2cdr.ru의 인터랙티브 지도에서 사각형 또는 폴리곤을 그리세요
2
OSM XML 선택
사용 가능한 127가지 내보내기 형식 목록에서 OpenStreetMap XML (.osm)을(를) 선택하세요
3
내보내기
내보내기를 클릭하면 1~5분 안에 .osm 파일을 받습니다
4
다운로드
완성된 OSM XML 파일을 다운로드하여 JOSM에서 여세요

내보낸 뒤 여는 방법

OSM XML 형식의 인기 지도

무료

OpenStreetMap XML (.osm) 지도 내보내기 받기

OpenStreetMap에서 전문가용 OSM XML 지도를 다운로드하세요. 즉시 생성, 모든 영역 지원.

무료 / 내보내기
지금 OSM XML 내보내기 →

자주 묻는 질문

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?

관련 형식

함께 자주 내보내는 형식

Related Articles