Live Online Convertergeopackage → gml

GeoPackage to GML Converter

Converts the layers of a GeoPackage to GML 3.2 with schema using GDAL's ogr2ogr.

Upload a .gpkg file. All layers go into one GML 3.2 file with an application schema; both come in one ZIP. The coordinate system is kept.

Drag a file here to convert, or select file

Accepted: .gpkg · max. 50 MB

Direct upload to the GDAL worker (Fly.io, Frankfurt)Files are deleted after the conversion

What the converter does

  • GDAL writes GML 3.2 (namespace http://www.opengis.net/gml/3.2) plus an XML schema. The download is a ZIP with converted.gml and converted.xsd.
  • The coordinate system is written as srsName (e.g. urn:ogc:def:crs:EPSG::4326). GDAL adds the field gml_id.
  • The QGIS style table layer_styles is skipped and listed in the report.
  • The report below the upload shows layers and features read and written, skipped layers with the reason, GDAL's warnings and the exact commands.

GDAL command the worker runs

sh — gdal
$ogr2ogr -f GML converted.gml input.gpkg parcels

parcels stands for the layers of your GeoPackage; the worker lists all of them.

Tested with

Test fileResult
GeoPackage with 1 polygon layer in EPSG:25832ZIP with converted.gml and converted.xsd; 1 of 1; EPSG:25832 kept

Tested on 24 Sep 2026 with the worker code of this site and GDAL 3.10.3 (conda-forge build on Windows). The worker image runs the Debian build of the same GDAL version; the live worker was not part of these tests.

Limits

  • Upload limit: 50 MB per file.
  • Each GDAL step may run for up to 240 seconds; a longer run is stopped with an error message.

Frequently Asked Questions

What happens to my file?

Your browser uploads it directly to the GDAL worker on Fly.io (region Frankfurt). The worker converts it in a temporary folder and deletes the folder after sending the result, or immediately if the conversion fails. Files are not stored permanently.

Related conversions