All examples By author By category About

johardi

Indonesia ADM2

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