Convert GEOJSON to PNG
Turn GEOJSON 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 GEOJSON files on the dialor turn it to pick what to do
A picture of your map as a PNG.Polygons, lines and points drawn on white, one color per layer.
What you get
One PNG that is 1024 pixels wide, unless that would make it taller than 4096. The background is white.
Polygons are lightly filled and outlined. Lines are drawn as lines, and points are drawn as dots. Each layer has its own color.
How coordinates are drawn
Longitude and latitude are drawn in Web Mercator, the projection web maps use, so the shapes look as they do on a web map. Other coordinates are drawn as they are.
Shapes are simplified to half a pixel.
What is not drawn
Attributes and labels are not drawn, so the picture shows shapes only. The styles stored in the GeoJSON file are not used, and there is no base map under the shapes.
If you need to combine several files first, you can merge GEOJSON before you convert.
GEOJSON and PNG.What each format is.
The formats
GeoJSON
Points, lines and polygons as JSON, the web's map data format.
- Extensions
- .geojson
- MIME type
- application
/geo +json - 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 GEOJSON to PNG conversion through the API, for your app or your agent.
$ cv convert report.geojson report.png$ cv convert report.geojson report.pngQuestions.What people ask about GEOJSON to PNG.
No. The shapes are drawn on a plain white background, with no base map under them.
No. Attributes and labels are not drawn. Only the shapes appear.
It is 1024 pixels wide, unless that would make it taller than 4096.
No. The file's own styles are not used. Each layer gets its own color.