GML to GeoPackage Converter
Writes every feature type of a GML file as a layer into one GeoPackage.
Upload a .gml file. Each feature type becomes a layer of one GeoPackage; the coordinate system from srsName is kept. The result equals a single ogr2ogr run on the file (checked in the tests).
Drag a file here to convert, or select file
Accepted: .gml · max. 50 MB
What the converter does
- GDAL's GML driver reads each feature type as a layer and derives the fields from the file itself; an .xsd is not needed.
- The coordinate system from srsName is kept (in the test EPSG:25832).
- All feature types go into one GeoPackage. GDAL adds the field gml_id.
- 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
Gebaeude and Baum are the feature types of the test file; the worker lists those of your file.
Tested with
| Test file | Result |
|---|---|
| GML with 2 Gebaeude polygons and 1 Baum point in EPSG:25832 | 2 layers: Gebaeude (2) and Baum (1); 3 of 3; EPSG:25832; identical to a single ogr2ogr run |
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.
- Only .gml is accepted; ALKIS NAS (.xml) has its own converter.
- 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.