Convert GPKG to PNG
Turn GPKG 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 GPKG files on the dialor turn it to pick what to do
A picture of your map layers.One PNG that draws each layer in its own color on white.
What you get
A PNG picture of the map, 1024 pixels wide unless that would make it taller than 4096. The background is white. Each layer has its own color.
Polygons are lightly filled and outlined. Lines are drawn as lines, and points are drawn as dots.
How it is drawn
Longitude and latitude are drawn in Web Mercator, as web maps show them. Other coordinates are drawn as they are. Shapes are simplified to half a pixel.
What it leaves behind
Attributes and labels are not drawn, so the picture shows shapes only. The styles stored in the file are not used, and each layer gets its own color instead. A base map is not added, so the map sits on plain white.
The result is one file. To change its size afterwards, use resize PNG.
GPKG and PNG.What each format is.
The formats
GeoPackage
The OGC GeoPackage, a SQLite database of map layers that QGIS and ArcGIS read and write.
- Extensions
- .gpkg
- MIME type
- application
/geopackage +sqlite3 - Kind
- Text and data
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 GPKG to PNG conversion through the API, for your app or your agent.
$ cv convert report.gpkg report.png$ cv convert report.gpkg report.pngQuestions.What people ask about GPKG to PNG.
No. The shapes are drawn on white, and no base map is drawn.
No. Only the shapes appear. Attributes and labels are not drawn.
No. The file's own styles are not drawn. Each layer gets its own color instead.
It is 1024 pixels wide, unless that would make it taller than 4096.