How to Convert GeoJSON to SVG

Samuele
3 min readMay 15, 2022

After converting a Shapefile to GeoJSON I can start creating the svg file. There are some repositories that can help. But I need something more specific.

Conversion from GeoJSON to SVG must meet these requirements:

  • keep the same aspect of the various geographical regions
  • keep the various data for later use (for example the zone ID)
  • create overlapping layers, each with its own id
  • add a custom style to the various elements
  • create and add custom labels for the various elements
  • enlarge the result

I start from what already exists, so with these repositories:

Convertire un file GeoJSON in SVG

--

--

Samuele

I'm a hobby programmer, experimenting with Svelte, Javascript, Construct 3 and magic tools