Convert FGB to PNG

Turn FGB files into PNG. A picture of the map as PNG, 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 picture of your map as PNG.Polygons, lines and points drawn on white, each layer in its own color.

  1. What you get

    One PNG that shows the map. It is 1024 pixels wide, unless that would make it taller than 4096, in which case the size is adjusted. The background is white.

    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 coordinates are drawn

    When the file uses longitude and latitude, the map is drawn in Web Mercator, the way web maps show it. Coordinates in any other system are drawn as they are.

    Shapes are simplified to half a pixel, so very fine detail below that size is not kept.

  3. What is not drawn

    Attributes and labels are not drawn, so the picture carries no names or values from the file. The styles stored in the file are not used, and there is no base map under the shapes.

    If you need to change the size of the picture afterward, resize PNG does that.

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

PNG

Lossless raster images with an alpha channel. Screenshots, icons and graphics with sharp edges.

Extensions
.png
MIME type
image/png
Kind
Images

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

terminal
$ cv convert report.fgb report.png
$ cv convert report.fgb report.png

Questions.What people ask about FGB to PNG.

01OF 04

It is 1024 pixels wide. If that would make it taller than 4096 pixels, it is not drawn at that width.

No. The shapes are drawn on a white background, with no base map under them.

No. Attributes and labels are not drawn, and neither are the styles stored in the FGB file.

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

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