Convert KML to FGB

Turn KML 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 KML files on the dialor turn it to pick what to do

Map features in one FlatGeobuf file.Your KML placemarks, paths and polygons become one FGB file with a spatial index.

  1. What you get

    A FlatGeobuf with the features and their attributes. The coordinate system of the source is kept, and the file includes a spatial index.

    The result is a single file, even when the KML holds several layers.

  2. What changes

    Features without a geometry are left out of the FGB.

    Lists and nested values in the attributes become JSON text.

    When the KML has several layers, they are joined into one. A layer column names the layer each feature came from, so you can still tell them apart.

  3. Going back

    To return to Google Earth, FGB to KML converts the other way.

KML and FGB.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 · FGB

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 KML to FGB conversion through the API, for your app or your agent.

terminal
$ cv convert report.kml report.fgb
$ cv convert report.kml report.fgb

Questions.What people ask about KML to FGB.

01OF 04

Yes. The features stay in the coordinate system of the KML.

They are joined into one layer. A layer column names where each feature came from.

No. Features without a geometry are left out.

Lists and nested values become JSON text.

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