Convert KML to GPKG

Turn KML files into GeoPackage. A GeoPackage with one layer of the features and their attributes, in the source's coordinate system.

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 layers in one GeoPackage file.Features and their attributes go into a single GPKG layer, in the coordinate system of the source.

  1. What you get

    One GeoPackage file with one layer of the features from your KML. Each feature keeps its attributes. The coordinate system stays the one the source uses, so nothing is reprojected.

    A GeoPackage is a SQLite database of map layers that QGIS and ArcGIS read and write. The file opens in either program.

  2. What changes

    Lists and nested values do not have a place in a flat attribute table, so they become JSON text. The values are kept, written as text in the attribute.

    A KML with several layers is joined into one layer. A layer column names where each feature came from, so you can still tell the original layers apart.

    To go the other way, use GPKG to KML.

KML and GPKG.What each format is.

The formats

From · KML

KML

Placemarks, paths and polygons for Google Earth.

Extensions
.kml
MIME type
application/vnd.google-earth.kml+xml
Kind
Text and data
To · GPKG

GeoPackage

The OGC GeoPackage, a SQLite database of map layers that QGIS and ArcGIS read and write.

Extensions
.gpkg
MIME type
application/geopackage+sqlite3
Kind
Text and data

In your code.The same KML to GPKG conversion through the API, for your app or your agent.

terminal
$ cv convert report.kml report.gpkg
$ cv convert report.kml report.gpkg

Questions.What people ask about KML to GPKG.

01OF 04

No. The features stay in the coordinate system of the source.

Several layers are joined into one, and a layer column names where each feature came from.

Lists and nested values become JSON text.

Yes. A GeoPackage is a database of map layers that QGIS and ArcGIS read and write.

More conversions.Other ways in and out of KML and GPKG.