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:
- gagan-bansal/geojson2svg to convert a geojson file to SVG
- elrumordelaluz/scale-that-svg to scale an SVG file
- elrumordelaluz/svgson to convert SVG file to json (and be able to use it with
scale-that-svg
) - elrumordelaluz/svg-path-tools to customize
scale-that-svg
- elrumordelaluz/element-to-path to customize
scale-that-svg
- polylabel to locate the pole of inaccessibility of a zone