Convert KML to SHP
Turn KML files into Shapefile. A zip of shapefiles, one for each kind of geometry among points, lines and polygons, each with its .shp, .shx, .dbf, .prj and .cpg, in the source's coordinate system with the attributes as UTF-8 columns.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop KML files on the dialor turn it to pick what to do
Shapefiles from your KML placemarks.One zip, with a shapefile for each kind of geometry in the KML.
What you get
A zip of shapefiles, one for each kind of geometry among points, lines and polygons. Each shapefile comes with its .shp, .shx, .dbf, .prj and .cpg parts.
The coordinates stay in the coordinate system of the KML. The attributes become columns in the .dbf, stored as UTF-8.
What changes
Column names are cut to 10 characters. Lists and nested values become JSON text in their column.
Features without a geometry are left out, since a shapefile holds only shapes.
If the KML has several layers, they are joined into one. A layer column names the layer each feature came from.
Going back
To return to Google Earth, SHP to KML converts a shapefile into a KML file.
KML and SHP.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
Shapefile
Esri shapefiles zipped with their .shx, .dbf and .cpg parts, the vector format GIS programs exchange.
- Extensions
- .shp.zip .shz .shp
- MIME type
- application
/x -shapefile +zip - Kind
- Text and data
In your code.The same KML to SHP conversion through the API, for your app or your agent.
$ cv convert report.kml report.shp.zip$ cv convert report.kml report.shp.zipQuestions.What people ask about KML to SHP.
A shapefile holds one kind of geometry. The zip has one shapefile for each of points, lines and polygons that the KML contains.
Names longer than 10 characters are cut to 10 characters. The values stay as UTF-8 text in the columns.
Several layers are joined into one. The layer column tells you which layer each feature came from.
No. Features without a geometry are left out.