Converting map data between formats
From OpenStreetMap Wiki
· Afrikaans · Alemannisch · aragonés · asturianu · azərbaycanca · Bahasa Indonesia · Bahasa Melayu · Bân-lâm-gú · Basa Jawa · Basa Sunda · Baso Minangkabau · bosanski · brezhoneg · català · čeština · corsu · dansk · Deutsch · eesti · English · español · Esperanto · estremeñu · euskara · français · Frysk · Gaeilge · Gàidhlig · galego · Hausa · hrvatski · Igbo · interlingua · Interlingue · isiXhosa · isiZulu · íslenska · italiano · Kiswahili · Kreyòl ayisyen · kréyòl gwadloupéyen · Kurdî · latviešu · Lëtzebuergesch · lietuvių · magyar · Malagasy · Malti · Nederlands · Nedersaksies · norsk bokmål · norsk nynorsk · occitan · Oromoo · oʻzbekcha/ўзбекча · Plattdüütsch · polski · português · română · shqip · slovenčina · slovenščina · Soomaaliga · suomi · svenska · Tagalog · Tiếng Việt · Türkçe · Vahcuengh · vèneto · Wolof · Yorùbá · Zazaki · српски / srpski · беларуская · български · қазақша · македонски · монгол · русский · тоҷикӣ · українська · Ελληνικά · Հայերեն · ქართული · नेपाली · मराठी · हिन्दी · भोजपुरी · অসমীয়া · বাংলা · ਪੰਜਾਬੀ · ગુજરાતી · ଓଡ଼ିଆ · தமிழ் · తెలుగు · ಕನ್ನಡ · മലയാളം · සිංහල · བོད་ཡིག · ไทย · မြန်မာဘာသာ · ລາວ · ភាសាខ្មែរ · ⵜⴰⵎⴰⵣⵉⵖⵜ ⵜⴰⵏⴰⵡⴰⵢⵜ · አማርኛ · 한국어 · 日本語 · 中文(简体) · 中文(繁體) · 吴语 · 粵語 · ייִדיש · עברית · اردو · العربية · پښتو · سنڌي · فارسی · ދިވެހިބަސް
Other languages — Help us translate this wiki
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 more 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 follow the guidelines for an Import
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 | DXF_import (JOSM plugin), Dxf2gpx | GeoConverter, OSM IQ, OSM2DXF | See Convert dxf File to Shapefile Using Grass |
| GADM | ? | gadm2osm | no | |
| Garmin maps | .img | no | OSM Map on Garmin | |
| Geobase | ? | geobase2osm | no | |
| GeoJSON | .geojson | osm-and-geojson | OSM2GEO, osmtogeojson, Gdal ogr2ogr | ogr2ogr tips |
| GML | ? | gml2osm | XSLT, Python, GeoConverter | See Converting OSM to GML. See JOSM ticket #6921. |
| Google Earth (Keyhole) Markup Language | .kml | JOSM/Plugins/OpenData | OSM in Google Earth, Osm2KML, GeoConverter, OSM IQ. | |
| GPX | .gpx | Import as layer in main site, josm, gpx2csv->csv2osm | traceosm, GeoConverter | |
| Image (non georeferenced) |
.png, .jpg, etc. | Geo Things Map Rectifier |
Main map program | Reference Image using markers and open it with JOSM AgPifoJ Plugin |
| Julia | .jld | no | OpenStreetMap.jl Package | |
| Mapserver | .map | no | Convert to GML first | See Displaying OSM Shapefiles In Mapserver |
| MATLAB | .mat | no | OpenStreetMap functions plugin | Load as MATLAB structure |
| MP (Polish format) | .mp | mp2osm PFM2OSM |
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 | GeoConverter, OSM IQ | See Shapefiles |
| Smallworld (GE Smallworld datastore) | .ds | no | OpenStreetMap Plug-In | |
| 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 |
See also