Convert KML to GEOJSON
Turn KML files into GEOJSON. A GeoJSON FeatureCollection in WGS 84 longitude and latitude, as the GeoJSON standard asks, with each feature's attributes as its properties.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop KML files on the dialor turn it to pick what to do
Map data for the web.Your KML becomes one GeoJSON file in longitude and latitude.
What you get
A GeoJSON FeatureCollection in WGS 84 longitude and latitude, as the GeoJSON standard asks. Each feature's attributes become its properties.
The result is a single file.
Several layers
When the KML holds several layers, they are joined into one collection. A layer column names where each feature came from, so you can still tell the layers apart.
To combine more than one GeoJSON file afterwards, you can merge GEOJSON. To go the other way, use GEOJSON to KML.
When it fails
If the file could not be parsed, the conversion stops with
input_corrupted.
KML and GEOJSON.What each format is.
The formats
KML
Placemarks, paths and polygons for Google Earth.
- Extensions
- .kml
- MIME type
- application
/vnd .google -earth .kml +xml - Kind
- Text and data
GeoJSON
Points, lines and polygons as JSON, the web's map data format.
- Extensions
- .geojson
- MIME type
- application
/geo +json - Kind
- Text and data
In your code.The same KML to GEOJSON conversion through the API, for your app or your agent.
$ cv convert report.kml report.geojson$ cv convert report.kml report.geojsonQuestions.What people ask about KML to GEOJSON.
WGS 84 longitude and latitude, as the GeoJSON standard asks.
Yes. Each feature's attributes become its properties.
The layers are joined into one FeatureCollection. A layer column names the layer each feature came from.
The file could not be parsed. The conversion stops with input_corrupted when that happens.