geojson data for Taiwan
LiveScript Python HTML Makefile JavaScript
Switch branches/tags
Nothing to show
Latest commit 85212c5 Aug 19, 2015 @kiang kiang Merge pull request #36 from kurorido/master
minor fix and some map demo
Failed to load latest commit information.
demo make some demo Oct 13, 2014
json 移出package.json到根目錄 Oct 13, 2014
legacy d3-plugin simplify is deprecated. patch to use topojson -s. add vote … Mar 23, 2013
raw raw nlsc shp exported to geojson Apr 27, 2013
vote Update ly-section.json May 1, 2013
.gitignore ignore netbeans folder May 23, 2014
Makefile fix paths in make all May 23, 2014 Update the package.json Apr 19, 2014 fixes for 蘇澳 effective 2013-04-01 Apr 28, 2013
districts.csv fixes for 蘇澳 effective 2013-04-01 Apr 28, 2013 Added g0v.json for project description. Dec 6, 2013
index.js first cut of twgeojson Nov 7, 2012
package.json 移出package.json到根目錄 Oct 13, 2014
village-fix.csv fixup Mar 31, 2013
village-list.csv villages Mar 30, 2013 fixup Mar 31, 2013



var county = require('twgeojson/twCounty1982');

projection = d3.geo.mercator().scale(50000).translate([-16500, 3650]);



The package provides the geojson files for administrative divisions in Taiwan. The data has been simplified with d3.simplify and is suitable for geographical visualisation. The county level data file is about 64K in size.

For raw data or different levels of simplification, see Makefile for the rules generating them.


Use npm to install all required modules, including d3:

npm install

To build taiwan geographic json files you'll need the following:

  • unrar - install it with 'brew install unrar' or your favorite package manager.

then build json files with make:

make twVote1982.topo.json
make twVillage1982.topo.json
make twTown1982.topo.json
make twCounty2010.topo.json


  • Merge subsumed polygons in the 2010 city merge
  • Town level translation for the 2010 city merge
  • Provide zip code as layer properties for towns
  • fix vote/errant.json
  • fix XXX-1 to XXX-0


  • we used d3-plugins/simplify to simplify the output json files, but d3-plugins/simplify is declared deprecated, replaced by TopoJSON and removed from github. Thus, we made some changes to adopt this issue. Please use TopoJSON format instead of GeoJSON in the future.

See Also

CC0 1.0 Universal

To the extent possible under law, Chia-liang Kao has waived all copyright and related or neighboring rights to twgeojson.

This work is published from Taiwan.