Convert GML to FGB
Turn GML files into FlatGeobuf. A FlatGeobuf with the features and their attributes in the source's coordinate system and a spatial index.
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 compact file.Features and attributes go into one FlatGeobuf with a spatial index.
What you get
One FGB file with the features and their attributes from the GML. The coordinates stay in the coordinate system of the source, and a spatial index is included.
FGB is a compact binary format for map features that streams over the web. GML is the XML that WFS services send.
What changes or is left out
Features without a geometry are left out of the FGB.
Lists and nested values become JSON text, so they sit in a single attribute as text.
If the GML holds several layers, they are joined into one. A layer column names the layer each feature came from.
Going back
To get GML again, use FGB to GML. For other formats, see every GML conversion.
GML and FGB.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
FlatGeobuf
FlatGeobuf, a compact binary format for map features that streams over the web.
- Extensions
- .fgb
- MIME type
- application
/flatgeobuf - Kind
- Text and data
In your code.The same GML to FGB conversion through the API, for your app or your agent.
$ cv convert report.gml report.fgb$ cv convert report.gml report.fgbQuestions.What people ask about GML to FGB.
Yes. The features stay in the coordinate system of the source GML.
The layers are joined into one FGB. The layer column tells you which layer each feature came from.
No. Features without a geometry are left out.
Lists and nested values become JSON text in the attribute.