Convert SHP to PNG
Turn SHP 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 SHP files on the dialor turn it to pick what to do
A picture of your shapefile map.One PNG with each layer in its own color, on white.
What you get
A single PNG of the map, 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 gets its own color.
How coordinates are drawn
Longitude and latitude are drawn in Web Mercator, the projection web maps show. Other coordinates are drawn as they are.
Shapes are simplified to half a pixel, so very fine detail may be lost.
What is not drawn
Attributes and labels are not drawn, so the picture shows shapes only. The styles stored in the file are ignored, and there is no base map behind the shapes.
If you need a different size, resize PNG changes the image after the conversion.
SHP and PNG.What each format is.
The formats
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
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 SHP to PNG conversion through the API, for your app or your agent.
$ cv convert report.shp.zip report.png$ cv convert report.shp.zip report.pngQuestions.What people ask about SHP to PNG.
No. The width is 1024 pixels unless the map would then be taller than 4096. This conversion has no options.
No. Labels and a base map are not drawn. You get the shapes on a white background.
No. The file's own styles are not used. Each layer is given its own color.
You get one PNG file.