Convert FGB to CSV

Turn FGB files into CSV. A CSV with one row for each feature: its shape as WKT in a first column named WKT, then every attribute as a column.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop FGB files on the dialor turn it to pick what to do

A table of your map features.One row for each feature, with its shape in the first column.

  1. What you get

    A CSV with one row for each feature. The first column is named WKT and holds the feature's shape as WKT. Every attribute follows as its own column.

    A feature without a geometry keeps its row, and its WKT cell is empty.

  2. What changes

    Coordinates are written in WGS 84 longitude and latitude. If the FGB file uses another system, such as Korea's EPSG:5186, the coordinates are converted. If the data names no system, the coordinates are kept as they are.

    If an attribute is already named WKT, its column is renamed WKT_1, so it does not clash with the shape column. Lists and nested values become JSON text in their cell.

  3. Going back

    To turn a table back into map features, use CSV to FGB. For other targets, see every FGB conversion.

FGB and CSV.What each format is.

The formats

From · 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
To · CSV

CSV

Rows of comma-separated values. The plainest way to move a table between programs.

Extensions
.csv
MIME type
text/csv
Kind
Text and data

In your code.The same FGB to CSV conversion through the API, for your app or your agent.

terminal
$ cv convert report.fgb report.csv
$ cv convert report.fgb report.csv

Questions.What people ask about FGB to CSV.

01OF 04

It is in the first column, named WKT. Each row holds the shape of one feature as WKT.

They keep their row. The WKT cell is left empty.

WGS 84 longitude and latitude. Coordinates are converted from the source's system, such as EPSG:5186. If the data names no system, they stay as they are.

That column is renamed WKT_1. The first column named WKT always holds the shape.

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