Convert SVG to GeoJSON

Is there a way to convert SVG files, for example: World_map _-_ low_resolution.svg to GeoJSON, which can then be loaded into a leaf in the form of a polygon?

+4
source share
4 answers

Want to learn something cool? When Leaflet creates a polygon, it is SVG. Therefore, try adding this SVG directly to the DOM in one of the sheet panels.

+4
source

You can use Inkscape to convert to DXF, which can then be loaded into QGIS, but it is very difficult to do due to all the complications:

: QGis: SVG Quantum GIS?

GeoJSON , https://github.com/johan/world.geo.json/blob/master/countries.geo.json, , : https://github.com/nvkelso/natural-earth-vector/tree/master/geojson

+2

svg-to-json SVG JSON. https://github.com/stela5/svg2json. , GeoJSON, svg2json GeoJSON.

0

All Articles