Convert FGB to SVG

Turn FGB files into SVG. A picture of the map as SVG, 1024 pixels wide unless it would be taller than 4096, on white: polygons lightly filled and outlined, lines drawn and points as dots, each layer in its own color.

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 map you can open as a picture.Your FGB features are drawn as an SVG, one layer per color, on white.

  1. What you get

    An SVG picture of the map, 1024 pixels wide. If that would make it taller than 4096 pixels, the size is adjusted to stay within that height.

    Polygons are lightly filled and outlined. Lines are drawn as lines, and points are drawn as dots. Each layer gets its own color, so you can tell the layers apart.

  2. How the map is drawn

    Longitude and latitude are drawn in Web Mercator, the way web maps show them. Coordinates in any other system are drawn as they are.

    Shapes are simplified to half a pixel, so very fine detail in a shape can be smoothed out.

  3. What is left out

    Attributes and labels are not drawn, so the picture shows shapes only. The styles stored in the FGB file are not used, and there is no base map under the features.

    If you need the SVG smaller or want to combine several, try compress SVG or merge SVG.

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

SVG

Scalable vector graphics in XML. Logos, icons and diagrams that stay sharp at any size.

Extensions
.svg .svgz
MIME type
image/svg+xml
Kind
Images

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

terminal
$ cv convert report.fgb report.svg
$ cv convert report.fgb report.svg

Questions.What people ask about FGB to SVG.

01OF 04

No. Only the features from the file are drawn, on a white background.

No. Attributes and labels are not drawn. The SVG shows polygons, lines and points only.

Longitude and latitude are drawn in Web Mercator, as web maps show them. Other coordinates are drawn as they are.

No. The picture is 1024 pixels wide unless that would make it taller than 4096, and each layer gets its own color.

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