This is how I created the SVG map for this interactive demo.
kartograph svg -c map.json -o italy.svg
The shapefiles are taken from eurostat and filtered using QGis by WHERE STAT_LEVL = 2 AND NUTS_ID LIKE 'IT%'
.
This is how I created the SVG map for this interactive demo.
kartograph svg -c map.json -o italy.svg
The shapefiles are taken from eurostat and filtered using QGis by WHERE STAT_LEVL = 2 AND NUTS_ID LIKE 'IT%'
.
{ | |
"proj": { | |
"id": "satellite", | |
"up": 23, | |
"dist": 1.15 | |
}, | |
"layers": [{ | |
"id": "regions", | |
"src": "italy-nuts2.shp", | |
"attributes": [{ "src": "NUTS_ID", "tgt": "nuts2" }] | |
}], | |
"bounds": { | |
"mode": "polygons", | |
"data": { "layer": "regions" } | |
}, | |
"export": { | |
"height": 700 | |
} | |
} |