Convert GEOJSON to FGB
Turn GEOJSON 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 GEOJSON files on the dialor turn it to pick what to do
GeoJSON as a compact binary file.Features and attributes keep their coordinate system, and a spatial index is added.
What you get
One FlatGeobuf file with the features from your GeoJSON and their attributes. The coordinates stay in the coordinate system of the source, so nothing is reprojected.
The file also holds a spatial index.
What changes or is left out
Features without a geometry are left out. If your GeoJSON has entries that carry only attributes, they do not appear in the FlatGeobuf.
Lists and nested values in the attributes become JSON text. The data is still there, but it is stored as a text string, not as a list or an object.
Going back
To return to JSON, use FGB to GEOJSON. If you have several GeoJSON files to join first, merge GEOJSON combines them.
GEOJSON and FGB.What each format is.
The formats
GeoJSON
Points, lines and polygons as JSON, the web's map data format.
- Extensions
- .geojson
- MIME type
- application
/geo +json - 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 GEOJSON to FGB conversion through the API, for your app or your agent.
$ cv convert report.geojson report.fgb$ cv convert report.geojson report.fgbQuestions.What people ask about GEOJSON to FGB.
No. The features stay in the coordinate system of the source file.
Yes. Each feature keeps its attributes. Lists and nested values become JSON text.
They are left out of the FlatGeobuf.
Yes. The FlatGeobuf is written with a spatial index.