The topology information contains the boundary lines between regencies ("kabupaten@id") in the Indonesian teritory.
The process for producing the output file id.json
follows the commands below. Note that before executing
topojson
, I simplified the map in http://www.mapshaper.org/ by 0.30%. The final
file sizes 216 KB with decent details for overviewing.
$ ogr2ogr -f GeoJSON regency.json IDN_adm2.shp
// Upload regency.json to mapshaper.org
$ topojson --id-property id=ID_2 -p name=NAME_2 -o id.json regency.json
Kredit grafik: Mike Bostock
Data source: gadm.org
Modified http://d3js.org/d3.v3.min.js to a secure url
Modified http://d3js.org/topojson.v1.min.js to a secure url
https://d3js.org/d3.v3.min.js
https://d3js.org/topojson.v1.min.js