Convert KML to PNG
Turn KML 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 KML files on the dialor turn it to pick what to do
A picture of your KML map.Polygons, lines and points drawn on white as one PNG.
What you get
A PNG picture 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 has its own color.
How coordinates are 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 is not drawn
Attributes and labels are not drawn, so placemarks appear as shapes without names. The styles stored in the KML file are not used either, and neither is a base map, so you get the shapes on white with no streets or terrain.
KML and PNG.What each format is.
The formats
KML
Placemarks, paths and polygons for Google Earth.
- Extensions
- .kml
- MIME type
- application
/vnd .google -earth .kml +xml - 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 KML to PNG conversion through the API, for your app or your agent.
$ cv convert report.kml report.png$ cv convert report.kml report.pngQuestions.What people ask about KML to PNG.
No. The shapes are drawn on a white background, with no base map behind them.
No. 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. The height follows the shape of the map.