Convert FGB to SHP

Turn FGB files into Shapefile. A zip of shapefiles, one for each kind of geometry among points, lines and polygons, each with its .shp, .shx, .dbf, .prj and .cpg, in the source's coordinate system with the attributes as UTF-8 columns.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

Map features as a zip of shapefiles.One zip holds a shapefile for each kind of geometry in the FGB file.

  1. What you get

    A single zip file. Inside, there is one shapefile for each kind of geometry the FGB file contains: points, lines and polygons. A kind that is not in the source gets no shapefile.

    Each shapefile comes with its .shp, .shx, .dbf, .prj and .cpg parts. The coordinate system of the source is kept, and the attributes are written as UTF-8 columns.

  2. What changes

    Column names are cut to 10 characters. Lists and nested values become JSON text in their column.

    Features without a geometry are left out, so they do not appear in any of the shapefiles.

  3. Going back

    To return to the streaming format, use SHP to FGB.

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

Shapefile

Esri shapefiles zipped with their .shx, .dbf and .cpg parts, the vector format GIS programs exchange.

Extensions
.shp.zip .shz .shp
MIME type
application/x-shapefile+zip
Kind
Text and data

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

terminal
$ cv convert report.fgb report.shp.zip
$ cv convert report.fgb report.shp.zip

Questions.What people ask about FGB to SHP.

01OF 04

A shapefile holds one kind of geometry. The zip has one for each of points, lines and polygons found in the FGB file.

Yes. The shapefiles stay in the coordinate system of the source, and each has a .prj part.

They are cut to 10 characters.

Lists and nested values become JSON text.

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