Converting map data between formats

From OpenStreetMap Wiki
(Redirected from Converting)
Jump to: navigation, search
Available languages — Converting map data between formats
Afrikaans Alemannisch aragonés asturianu azərbaycanca Bahasa Indonesia Bahasa Melayu Bân-lâm-gú Basa Jawa Baso Minangkabau bosanski brezhoneg català čeština 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 português do Brasil română shqip slovenčina slovenščina Soomaaliga suomi svenska Tiếng Việt Türkçe Vahcuengh vèneto Wolof Yorùbá Zazaki српски / srpski беларуская български қазақша македонски монгол русский тоҷикӣ українська Ελληνικά Հայերեն ქართული नेपाली मराठी हिन्दी অসমীয়া বাংলা ਪੰਜਾਬੀ ગુજરાતી ଓଡ଼ିଆ தமிழ் తెలుగు ಕನ್ನಡ മലയാളം සිංහල ไทย မြန်မာဘာသာ ລາວ ភាសាខ្មែរ ⵜⴰⵎⴰⵣⵉⵖⵜ አማርኛ 한국어 日本語 中文(简体)‎ 吴语 粵語 中文(繁體)‎ ייִדיש עברית اردو العربية پښتو سنڌي فارسی ދިވެހިބަސް

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.
  • Remember, if you are converting map data into OSM to upload it into OpenStreetMap, be sure to follow the guidelines for an Import

Formats

See also Import and Export.

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 (online tool), OSM IQ, OSM2DXF [1] (http://www.studionascetti.it), Spatial Manager Desktop™ 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 (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), OSM IQ. Spatial Manager Desktop™
GPX .gpx Import as layer in main site, josm, gpx2csv->csv2osm 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
Julia .jld No OpenStreetMap.jl Package
Mapserver .map No Convert to GML first See Displaying OSM Shapefiles In Mapserver
MATLAB .mat No OpenStreetMap functions [2] Load as MATLAB structure
MP (Polish format) .mp mp2osm
PFM2OSM
Osm2mp
NKF  ? Nkf2osm No
PGSQL  ? No osm2pgsql,imposm, Spatial Manager Desktop™ See PostgreSQL
QGIS .qgs No Convert to GML first See Importing Planet.osm into QGIS
Shapefile .shp JOSM/Plugins/OpenData Yes, GeoConverter (online tool), OSM IQ, Spatial Manager Desktop™ See Shapefiles
Smallworld (GE Smallworld datastore) .ds No Yes, 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