Convert OSM to KML
Turn OSM files into KML. A KML document in WGS 84 with each feature as a placemark and its attributes as extended data.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop OSM files on the dialor turn it to pick what to do
OpenStreetMap data as placemarks for Google Earth.Each feature with a geometry becomes a KML placemark in WGS 84.
What you get
One KML file. Every feature is a placemark, and its attributes are kept as extended data.
Tagged nodes become points. Ways become lines, or polygons when they are closed and tagged as areas. Route relations become multilines, and multipolygon relations become multipolygons.
Tags and columns
Common tags such as name, highway and building become columns of their own. The other tags are kept as JSON in other_tags, so they are not lost.
When the file has several layers, they are joined into one. A layer column names the layer each feature came from.
What is left out
Features without a geometry are not in the KML. Untagged nodes, relations other than route and multipolygon, versions and authors are dropped.
For other formats, see every OSM conversion or every KML conversion.
OSM and KML.What each format is.
The formats
OpenStreetMap Data
OpenStreetMap nodes, ways and relations with their tags, as .osm XML or the smaller .osm.pbf.
- Extensions
- .osm .osm.pbf
- MIME type
- application
/vnd .openstreetmap .data +xml - Kind
- Text and data
KML
Placemarks, paths and polygons for Google Earth.
- Extensions
- .kml
- MIME type
- application
/vnd .google -earth .kml +xml - Kind
- Text and data
In your code.The same OSM to KML conversion through the API, for your app or your agent.
$ cv convert report.osm report.kml$ cv convert report.osm report.kmlQuestions.What people ask about OSM to KML.
Yes. The source can be .osm XML or the smaller .osm.pbf.
Common tags such as name, highway and building become columns. The other tags are kept as JSON in other_tags.
WGS 84.
You get one file. Several layers are joined, and a layer column shows where each feature came from.