Convert GML to GPKG
Turn GML 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 GML files on the dialor turn it to pick what to do
Map features in a GeoPackage.One layer with the features and their attributes, in the source's coordinate system.
What you get
A single GPKG file, a SQLite database of map layers that QGIS and ArcGIS read and write. It holds one layer with the features from the GML file and their attributes.
The coordinate system of the source is kept, so the features stay where they were and are not moved to another system.
What changes
GeoPackage attributes are plain values, so lists and nested values become JSON text. The data is still in the file, written as text in the attribute.
A GML file can hold several layers. They are joined into one layer, and a layer column names where each feature came from. Filter on that column to pick out one original layer.
To go the other way, use GPKG to GML.
GML and GPKG.What each format is.
The formats
GML
Geography Markup Language, the OGC's XML for map features, as WFS services send it.
- Extensions
- .gml
- MIME type
- application
/gml +xml - Kind
- Text and data
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 GML to GPKG conversion through the API, for your app or your agent.
$ cv convert report.gml report.gpkg$ cv convert report.gml report.gpkgQuestions.What people ask about GML to GPKG.
Yes. The features come with their attributes. Lists and nested values are written as JSON text.
They are joined into one layer. A layer column names the layer each feature came from.
No. The output stays in the coordinate system of the source.
Yes. GPKG is a format that QGIS and ArcGIS read and write.