Convert GEOJSON to SVG
Turn GEOJSON files into SVG. A picture of the map as SVG, 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 map of your GeoJSON as an SVG picture.Polygons, lines and points are drawn on white, each layer in its own color.
What you get
An SVG picture of the map, 1024 pixels wide on a white background. If that width would make the picture taller than 4096 pixels, the size is adjusted so it stays within that height.
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 them apart.
How the map is drawn
Longitude and latitude are drawn in Web Mercator, the projection web maps show. Coordinates that are not longitude and latitude are drawn as they are.
Shapes are simplified to half a pixel, so very fine detail in a line or an outline can be smoothed out.
What it leaves behind
Attributes and labels are not drawn, so names and other properties from your features do not appear in the picture. Styles stored in the GeoJSON file itself are ignored, and each layer gets its own color instead.
No base map is drawn. You get your shapes on white, without streets, borders or tiles behind them.
GEOJSON and SVG.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
SVG
Scalable vector graphics in XML. Logos, icons and diagrams that stay sharp at any size.
- Extensions
- .svg .svgz
- MIME type
- image
/svg +xml - Kind
- Images
In your code.The same GEOJSON to SVG conversion through the API, for your app or your agent.
$ cv convert report.geojson report.svg$ cv convert report.geojson report.svgQuestions.What people ask about GEOJSON to SVG.
No. Only the shapes from your file are drawn, on a white background.
No. Attributes and labels are not drawn. Only the shapes appear.
Longitude and latitude are drawn in Web Mercator, as web maps show them. Other coordinates are drawn as they are.
No. The styles in the file are not used. Each layer is drawn in its own color. To work with the result further, see every SVG conversion.