Converting map data between formats
From OpenStreetMap Wiki
(Redirected from Convert)
Available languages
• English
Other languages — Help us translating this wiki
• Afrikaans • አማርኛ • العربية • অসমীয়া • asturianu • azərbaycanca • български • বাংলা • brezhoneg • bosanski • català • corsu • česky • dansk • Deutsch • Zazaki • ދިވެހިބަސް • Ελληνικά • Esperanto • español • eesti • euskara • فارسی • suomi • français • Frysk • Gaeilge • Kréyòl gwadloupéyen • Gàidhlig • galego • Alemannisch • ગુજરાતી • هَوُسَ • עברית • हिन्दी • hrvatski • Kreyòl ayisyen • magyar • Հայերեն • interlingua • Bahasa Indonesia • Igbo • íslenska • italiano • 日本語 • Basa Jawa • ქართული • қазақша • ភាសាខ្មែរ • ಕನ್ನಡ • 한국어 • Kurdî • Lëtzebuergesch • ລາວ • lietuvių • latviešu • Malagasy • македонски • മലയാളം • मराठी • Bahasa Melayu • Malti • မြန်မာဘာသာ • नेपाली • Nederlands • norsk (nynorsk) • norsk (bokmål) • occitan • Oromoo • ଓଡ଼ିଆ • ਪੰਜਾਬੀ • polski • پښتو • português • português do Brasil • română • română (Moldova) • русский • سنڌي • සිංහල • slovenčina • slovenščina • Soomaaliga • shqip • српски / srpski • svenska • தமிழ் • తెలుగు • тоҷикӣ • ไทย • Türkçe • українська • اردو • oʻzbekcha • Tiếng Việt • Wolof • isiXhosa • Yorùbá • 中文(简体) • 中文(繁體) • isiZulu
This page lists tools to convert external map data to and from OSM formats.
- For exporting a map as images (PNG, SVG, PDF) please refer to the Rendering page.
- For a much general overview, see the Export Guide.
- For converting between different OSM file formats (including altering or filtering) see OSM file formats#Conversion between different osm map data formats
- For converting GPS tracks only see Converting GPS track data between formats
- Remember, if you are converting map data into OSM to upload it into OpenStreetMap, be sure to following the guidelines for an Import
| This page is being considered for cleanup. Please discuss this page. |
map data formats
| File type | Extension | To import into OSM | To export from OSM | Discussion/Comments |
|---|---|---|---|---|
| Adobe Illustrator | .ai | No | osm2ai.pl | See Exporting to Adobe Illustrator, OSM2ai and http://www.flosm.de/ai/ |
| ArcGIS (by ESRI) |
several | ExportToOSM.py | ArcGIS | |
| E00 | e00 | Partial | Partial | See message 593 |
| Dafif | ? | dafif2osm | No | |
| DXF (by AutoCad) |
.dxf | Partial | No | See Convert dxf File to Shapefile Using Grass |
| GADM | ? | gadm2osm | No | |
| Garmin maps | .img | No | OSM Map on Garmin | |
| Geobase | ? | geobase2osm | No | |
| GeoJSON | .geojson | ? | OSM2GEO | |
| GML | ? | No | XSLT, Python, GeoConverter (online tool) | See Converting OSM to GML. See JOSM ticket #6921. |
| Google Earth (Keyhole) Markup Language | .kml | JOSM/Plugins/OpenData | OSM in Google Earth, Osm2KML, GeoConverter (online tool) | |
| GPX | .gpx | Yes | traceosm, GeoConverter (online tool) | |
| Image (non georeferenced) |
.png, .jpg, etc. | Geo Things Map Rectifier |
Main map program | Reference Image using markers and open it with JOSM AgPifoJ Plugin |
| Mapserver | .map | No | Convert to GML first | See Displaying OSM Shapefiles In Mapserver |
| MATLAB | .mat | No | OpenStreetMap functions [1] | Load as MATLAB structure |
| MP (Polish format) | .mp | mp2osm | Osm2mp | |
| NKF | ? | Nkf2osm | No | |
| PGSQL | ? | No | osm2pgsql,imposm | See PostgreSQL |
| QGIS | .qgs | No | Convert to GML first | See Importing Planet.osm into QGIS |
| Shapefile | .shp | JOSM/Plugins/OpenData | Partial, GeoConverter (online tool) | See Shapefiles |
| SRTM | ? | Srtm2Osm | No | See SRTM |
| SVG | .svg | JOSM/Plugins/ImportVec | Main map program | See Osmarender/Howto or Maperitive |
specialised formats
This lists only very specific formats, mostly dedicated for a specific import
| File type | Extension | To import into OSM | To export from OSM | Discussion/Comments |
|---|---|---|---|---|
| AND | ? | and2osm | No | See AND Data |
| CIA World Database | .wdb | wdb2osm | No | |
| Coastlines | .pgs | perl script | No | See Almien coastlines (PGS) |
| LINZ | ? | LINZ | No | |
| Frida | ? | Frida | No | |
| TIGER | ?? | ? | ? | See TIGER, most data has been imported |