Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

first cut of twgeojson

  • Loading branch information...
commit 6d6c12095a1118a6d0ca4986da4c6ad0481de060 0 parents
@clkao clkao authored
4 .gitignore
@@ -0,0 +1,4 @@
+tmp
+node_modules
+*.swp
+tw*.json
39 Makefile
@@ -0,0 +1,39 @@
+all:: twCounty1982.json twTown1982.json twCounty2010.json
+
+clean::
+ rm -f tw*.json
+
+tmp/tw-town.rar:
+ curl -o $@ http://www.iot.gov.tw/public/Attachment/71018174871.rar
+
+tmp/tw-village.rar:
+ curl -o $@ http://www.iot.gov.tw/public/Attachment/7101817115371.rar
+
+tmp/tw-county.rar:
+ curl -o $@ http://www.iot.gov.tw/public/Attachment/7101816594871.rar
+
+tmp/TWN_TOWN.shp: tmp/tw-town.rar
+ (cd tmp && unrar x ../$<)
+ touch $@
+
+tmp/TWN_COUNTY.shp: tmp/tw-county.rar
+ (cd tmp && unrar x ../$<)
+ touch $@
+
+twCounty1982raw.json: tmp/TWN_COUNTY.shp
+ ogr2ogr -f geojson $@ $<
+
+twCounty1982.json: twCounty1982raw.json
+ ./node_modules/.bin/lsc bin/tw-counties.ls --simplify 0.0005 $< > $@
+
+twCounty2010.json: twCounty1982raw.json
+ ./node_modules/.bin/lsc bin/tw-counties.ls --2010 --simplify 0.0005 $< > $@
+
+twTown1982raw.json: tmp/TWN_TOWN.shp
+ ogr2ogr -f geojson $@ $<
+
+twTown1982.json: twTown1982raw.json
+ ./node_modules/.bin/lsc bin/tw-counties.ls --simplify 0.0005 $< > $@
+
+twTown2010.json: twTown1982raw.json
+ ./node_modules/.bin/lsc bin/tw-counties.ls --2010 --simplify 0.0005 $< > $@
39 bin/tw-counties.ls
@@ -0,0 +1,39 @@
+argv = require \optimist .argv
+require \d3
+require \d3-plugins/simplify/simplify
+data = require "../#{argv._.0}"

require! {'optimist'argv, \d3 \d3-plugins/simplify/simplify data: "../#{argv._.0}"} (gkz/LiveScript#207)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
+by_county = {}
+
+translate2010 = (name) ->
+ | name is \台北縣 => \新北市
+ | name is \台中縣 => \台中市
+ | name is \台南縣 => \台南市
+ | name is \高雄縣 => \高雄市
+ | otherwise => name
+
+for {properties,geometry,type} in data.features
+ throw "not Feature: #type" unless type is \Feature
+ throw "not Polygon" unless geometry.type is \Polygon
+ name = properties.COUNTYNAME
+ name = translate2010 name if argv.2010
+ (by_county[name] ||= []).push geometry.coordinates.0

by_county[][name]push works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
+
+features = for name, coordinates of by_county => do
+ properties: {name}
+ type: \Feature
+ geometry: do

geometry: {type: \Polygon coordinates} works too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
+ type: \Polygon
+ coordinates: coordinates
+
+if argv.simplify
+ simplify = d3.simplify().topology(true).area(argv.simplify).projection -> it

No ! nor spaced dots ? d3.simplify!topology true .area argv.simplify .projection -> it

@clkao Owner
clkao added a note

this was copied from plain js and didn't get cleaned up ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
+
+ for {geometry}:f in features
+ p = simplify simplify.project geometry
+ for polygon in p.coordinates
+ polygon.forEach -> it.pop!
+ f.geometry.coordinates = p.coordinates
+
+console.log JSON.stringify do
+ type: \FeatureCollection
+ features: features
1  index.js
@@ -0,0 +1 @@
+module.exports = {};
30 package.json
@@ -0,0 +1,30 @@
+{
+ "author": {
+ "name": [
+ "Chia-liang Kao"
+ ],
+ "email": "clkao@clkao.org"
+ },
+ "name": "twgeojson",
+ "description": "GeoJSON files for Taiwan",
+ "version": "0.0.1",
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/gedion/ep_tables.git"
+ },
+ "scripts": {
+ "prepublish": "./node_modules/.bin/lsc -cj package.ls\n./node_modules/.bin/lsc -bc -o lib src"
+ },
+ "engines": {
+ "node": "*"
+ },
+ "main": "./lib/index.js",
+ "dependencies": {},
+ "devDependencies": {
+ "LiveScript": "1.1.x",
+ "optimist": "*",
+ "d3": "git://github.com/mbostock/d3.git#3.0",
+ "d3Plugins": "git://github.com/d3/d3-plugins.git"
+ },
+ "optionalDependencies": {}
+}
21 package.ls
@@ -0,0 +1,21 @@
+author:
+ name: ['Chia-liang Kao']
+ email: 'clkao@clkao.org'
+name: 'twgeojson'
+description: 'GeoJSON files for Taiwan'
+version: '0.0.1'
+repository:
+ type: 'git'
+ url: 'git://github.com/gedion/ep_tables.git'
+scripts:
+ prepublish: """
+ ./node_modules/.bin/lsc -cj package.ls
+ """
+engines: {node: '*'}
+dependencies: {}
+devDependencies:
+ LiveScript: \1.1.x
+ optimist: \*
+ d3: "git://github.com/mbostock/d3.git#3.0"
+ d3-plugins: "git://github.com/d3/d3-plugins.git"
+optionalDependencies: {}
1  twCounty1982.json
@@ -0,0 +1 @@
+{"type":"FeatureCollection","features":[{"properties":{"name":"雲林縣"},"type":"Feature","geometry":{"type":"Polygon","coordinates":[[[120.0598454365262,23.489558772383507],[120.029789976291,23.47958647852434],[120.02453235382306,23.460266312166276],[119.99690879959732,23.46575281622008],[120.08108496515005,23.524106352411117],[120.0598454365262,23.489558772383507]],[[120.64450413335379,23.66820013521875],[120.62909132670802,23.635179801755953],[120.66138306319958,23.610236074844217],[120.73055918435328,23.61843640522413],[120.73615378063558,23.570448781492516],[120.67061965964128,23.578280331119966],[120.64874450354075,23.59328636863697],[120.57676920076163,23.58348632250786],[120.53689395278423,23.59474968651307],[120.50358971571166,23.63529603648532],[120.40263485175898,23.62693940835481],[120.33369991075266,23.591808032310958],[120.33250468058466,23.578249034641956],[120.29329012930316,23.56417031940779],[120.27249641826222,23.531324119152917],[120.24209305990972,23.54149274169583],[120.24705680324803,23.5162279481648],[120.2230390163588,23.50430841232954],[120.14580260934842,23.52108663573402],[120.13959384858117,23.549642298943052],[120.14184040577774,23.641473487365428],[120.17873065622975,23.701796855531185],[120.16966130773784,23.70768613886549],[120.18175149858548,23.756634547798065],[120.17649738350214,23.805528228461498],[120.22306198164593,23.83564987638614],[120.30814032834708,23.82029746489297],[120.43314965453851,23.83015730517283],[120.51105153884015,23.800093214539128],[120.55196986021001,23.801005880405746],[120.6403502196714,23.786038160718185],[120.65584806340898,23.73541093104863],[120.6402132149306,23.730888231872843],[120.64450413335379,23.66820013521875]]]}},{"properties":{"name":"桃園縣"},"type":"Feature","geometry":{"type":"Polygon","coordinates":[[[121.18979962366132,25.093617942071088],[121.26037875612174,25.121992331474612],[121.32489823618602,25.09256502061582],[121.35489704363602,25.065134458820786],[121.39105307675683,25.06152665938869],[121.40294762153161,24.998994723310986],[121.36879661951977,24.976793338911925],[121.32725604756376,24.978330797018963],[121.31577677739695,24.93847666322876],[121.33977551603363,24.928497397503012],[121.3175556783441,24.916347789237534],[121.34209263911899,24.892564717227565],[121.37288521018165,24.834860188560448],[121.41562041974755,24.835551199054944],[121.44952080015618,24.786035894308966],[121.42330173565199,24.761899222754185],[121.45008120870598,24.705849488003512],[121.47419573135907,24.69605478747557],[121.42786067155268,24.606242005954975],[121.38752031375746,24.5864866204061],[121.36350318578016,24.60290801395455],[121.3532230776895,24.66774210495049],[121.31805910999604,24.69800964742008],[121.29954020735137,24.696542406647087],[121.30770284443898,24.75502582221948],[121.26024186979124,24.781856708271228],[121.24309015391518,24.808667206022733],[121.17381318015022,24.82763198536835],[121.15019369431101,24.844722342274817],[121.15576701249707,24.880594867110982],[121.13559156999206,24.877993948041095],[121.05757925089003,24.905924195523575],[121.05765791340643,24.93304602705849],[121.03783828969436,24.9463466669537],[120.98603570111636,24.939448358065867],[121.01044694367906,24.98723182215752],[121.05490528139367,25.04326008938629],[121.10203844781782,25.067891716118808],[121.18979962366132,25.093617942071088]]]}},{"properties":{"name":"台東縣"},"type":"Feature","geometry":{"type":"Polygon","coordinates":[[[121.50045247413722,22.646572487964963],[121.47234414359208,22.6470913192572],[121.46411438185397,22.678562165857645],[121.50936779327351,22.67889147284809],[121.50045247413722,22.646572487964963]],[[121.44694231083405,23.443741610581338],[121.49581945388192,23.43467538371576],[121.47808868377766,23.395833626765768],[121.46261036902965,23.314301510024197],[121.42777895542659,23.278777879923037],[121.3974918666446,23.20786680972814],[121.41061253630704,23.123368426020193],[121.3483098138666,23.068068939544446],[121.33641783702349,23.019874151987793],[121.30909335432291,22.97106439658046],[121.28206258676099,22.945915819004345],[121.26781665704826,22.91090188128214],[121.23383444502358,22.865135127418018],[121.2071102117157,22.864321928673135],[121.18627185434015,22.832869875049198],[121.20090092791612,22.79873360958317],[121.17299039407528,22.755420423713662],[121.12803630257534,22.719926334655966],[121.0347480270601,22.667026996612506],[121.0222904945073,22.649204151113018],[121.00918507611026,22.588953006031943],[120.98499909062019,22.56876453732356],[120.94637557175025,22.45677754632632],[120.89490116874697,22.334488302808218],[120.89627582517147,22.24637777294378],[120.86625585101834,22.22980555655451],[120.81538896917023,22.263177351673153],[120.79962765423487,22.25713676147535],[120.77776048515041,22.29787745623429],[120.793112842826,22.312592537698023],[120.78507732851297,22.345502328521597],[120.74346228824089,22.36734295002843],[120.75349937629856,22.405002710893363],[120.78954405424062,22.41761874527658],[120.77650809396107,22.449446062929248],[120.75151374308416,22.45850177494214],[120.76383148503342,22.49114560216813],[120.73949091521477,22.551462982016453],[120.7615634233777,22.630241247160622],[120.7977738385256,22.68907660629193],[120.83491435604341,22.696529534793832],[120.84858317407462,22.71697211053213],[120.8837998875535,22.717295337836084],[120.89478366573795,22.737709540960218],[120.90324856538345,22.800002315740716],[120.86160771535464,22.826596000031593],[120.86900664199814,22.85821664328889],[120.82860449656131,22.90416398670824],[120.82094388569759,22.96083778975627],[120.8795561331272,23.034710559418993],[120.8691554498151,23.05969421805902],[120.88556292759954,23.08892081334605],[120.88790394335793,23.136678830987606],[120.87639340331197,23.15134723187201],[120.91247460513706,23.186676897012187],[120.91579957663471,23.238003954680874],[120.9380056276369,23.24519589028161],[120.97095493702882,23.281228256726063],[121.03889744078154,23.30063270214304],[121.05641971859097,23.290140920459308],[121.07955438300841,23.232731411907242],[121.12927647048008,23.223332175952418],[121.13979859984548,23.20153791786033],[121.1909466138109,23.202267468628943],[121.21194738060586,23.14421658113226],[121.24921837437424,23.131523397626573],[121.27237372596579,23.09785605175212],[121.31605473229,23.110644371442365],[121.33462999939282,23.177823457310698],[121.37789501792304,23.269598486834653],[121.37646511862435,23.2957991480067],[121.42268913980662,23.360062902961598],[121.40001621186434,23.38536505277769],[121.44694231083405,23.443741610581338]],[[121.50944510087314,22.06919870454923],[121.49969283468711,22.080107021489276],[121.56642017798177,22.085842767567232],[121.56989016310693,22.039984121485944],[121.6005800657199,22.020499781300703],[121.5703016193545,22.002869605531117],[121.53378048356039,22.026721338742707],[121.50944510087314,22.06919870454923]]]}},{"properties":{"name":"台北縣"},"type":"Feature","geometry":{"type":"Polygon","coordinates":[[[121.79344375564224,24.89973166049105],[121.76107014100344,24.856882807964325],[121.73051608630014,24.85529903308575],[121.68822564718884,24.816107822150304],[121.62594381238324,24.808794604413873],[121.59195643416392,24.78742137353741],[121.58701412505485,24.720073409912196],[121.54325365243525,24.705662329491435],[121.53631102156318,24.688272764291913],[121.47984561768031,24.673776169849788],[121.45008120870598,24.705849488003512],[121.42330173565199,24.761899222754185],[121.44952080015618,24.786035894308966],[121.41562041974755,24.835551199054944],[121.37288521018165,24.834860188560448],[121.34209263911899,24.892564717227565],[121.3175556783441,24.916347789237534],[121.33977551603363,24.928497397503012],[121.31577677739695,24.93847666322876],[121.32725604756376,24.978330797018963],[121.36879661951977,24.976793338911925],[121.40294762153161,24.998994723310986],[121.39105307675683,25.06152665938869],[121.35489704363602,25.065134458820786],[121.32489823618602,25.09256502061582],[121.28270745542159,25.11010883468686],[121.3871780252793,25.14572272354192],[121.41274232893412,25.167967118448363],[121.40891665843303,25.188163418189337],[121.43932519580589,25.21897917081215],[121.4476106245014,25.245993115289533],[121.54039887064712,25.295041918076084],[121.57899566642861,25.298132448787925],[121.61759583287142,25.277598805370776],[121.63415923915713,25.23953920585554],[121.70836307954613,25.17504213378968],[121.63450092237609,25.143875063566853],[121.65569062359438,25.093450351845554],[121.73207912369006,25.052720879009808],[121.76237361651954,25.05696329493345],[121.75592907684003,25.108508435014894],[121.79775924149567,25.114306536483483],[121.80771253655618,25.133172434559306],[121.89139120990063,25.119560948944574],[121.92392594647806,25.129868960592944],[121.91362489968908,25.08537503901108],[121.94734333260384,25.019909166205252],[121.97604661568248,25.02610334536351],[122.00647186138289,25.010937236441613],[121.96302236680401,24.98757916984087],[121.84723242324468,24.960340007496338],[121.85362703138354,24.925162221805994],[121.83145095967134,24.904838094162997],[121.79344375564224,24.89973166049105]]]}},{"properties":{"name":"台北市"},"type":"Feature","geometry":{"type":"Polygon","coordinates":[[[121.55916455083678,25.21013448717874],[121.58374128576618,25.19458142632804],[121.5770407017002,25.166990708483887],[121.60784391128328,25.13019762566689],[121.59749514786878,25.109509491909726],[121.62622469599198,25.0957988059598],[121.62212002922057,25.039988483474303],[121.66412867575306,25.02336307285417],[121.59763865874434,25.01479527636296],[121.60016909347426,24.97695547031919],[121.61962638064055,24.967168449636926],[121.56124211221821,24.96468310976385],[121.55083157118665,24.987219099663125],[121.5103241973422,25.02171449556104],[121.49312656622209,25.009230686172174],[121.48747695197541,25.035983397352155],[121.50696211049373,25.071158021829643],[121.45878480958676,25.122957690881346],[121.50278666123617,25.173334034145377],[121.54281140221205,25.18888532447036],[121.55916455083678,25.21013448717874]]]}},{"properties":{"name":"台南縣"},"type":"Feature","geometry":{"type":"Polygon","coordinates":[[[120.57824132019417,23.214778702494204],[120.59385698755257,23.239360612451062],[120.60983067356005,23.222627805191813],[120.65544415808263,23.22303971990775],[120.64109491429065,23.182949268923476],[120.60105762655536,23.144119827159404],[120.57478189031471,23.09143487185158],[120.47843221757222,23.00351006485294],[120.46033771403366,23.003386787637837],[120.4164958938216,22.916345403986234],[120.38147894272761,22.92101147680212],[120.35516177884718,22.890406587599443],[120.27803517022659,22.904463123894946],[120.25399308971227,22.894311009946755],[120.19204595865948,22.92120219250129],[120.2165858695905,22.960501287614793],[120.23780838118745,22.961075318399633],[120.24917134257775,22.992479132167787],[120.20965911336087,23.022978759935054],[120.2469579972244,23.065597896138375],[120.18165946555534,23.077568836923266],[120.14898321344528,23.091346875921825],[120.10098776853401,23.084922586146785],[120.0625117782952,23.043262894727768],[120.0315907698773,23.073384118288786],[120.03530181507442,23.101117193989296],[120.06163945795673,23.14351018046987],[120.0824072678119,23.21005925757178],[120.09785489266176,23.294810442207936],[120.11806747142766,23.34018431147561],[120.17096706875047,23.3045473156855],[120.22081937769595,23.295962320833038],[120.23787908567289,23.326900789658183],[120.28608531286339,23.350189335108833],[120.29287923466532,23.37536781185007],[120.3494923933435,23.40131451886522],[120.43820559095522,23.413364443990474],[120.4992288441681,23.38787628174515],[120.48311617428105,23.37139572774911],[120.53997653608121,23.327908971535813],[120.52252506210996,23.31175903866353],[120.53204551740102,23.255422418012017],[120.51903652941547,23.239309825557097],[120.57824132019417,23.214778702494204]]]}},{"properties":{"name":"台南市"},"type":"Feature","geometry":{"type":"Polygon","coordinates":[[[120.13818776086627,22.997158611759488],[120.0625117782952,23.043262894727768],[120.10098776853401,23.084922586146785],[120.14898321344528,23.091346875921825],[120.18165946555534,23.077568836923266],[120.2469579972244,23.065597896138375],[120.20965911336087,23.022978759935054],[120.24917134257775,22.992479132167787],[120.23780838118745,22.961075318399633],[120.2165858695905,22.960501287614793],[120.19383444353188,22.923455448416632],[120.17567258155475,22.93188930874159],[120.15657914276507,22.978489246860597],[120.13818776086627,22.997158611759488]]]}},{"properties":{"name":"台中縣"},"type":"Feature","geometry":{"type":"Polygon","coordinates":[[[120.48238494102522,24.236537112460248],[120.49312682996886,24.266089249133913],[120.52814101532132,24.313894758771905],[120.55004809016468,24.31619166550045],[120.56268389261633,24.361567999398854],[120.62117546748395,24.44094524622248],[120.69276390982127,24.3671475240674],[120.76285443237677,24.326071927784575],[120.8063800694261,24.315722257224976],[120.83319313049991,24.29065957510823],[120.9044815458084,24.29221050522025],[120.92184738857203,24.30244214848507],[120.91632997597875,24.334638203819246],[120.93566937080828,24.342855550386474],[121.00469079202985,24.33187769838667],[121.03422462314225,24.297609470090674],[121.08119741174166,24.324059909349316],[121.12104781592201,24.330551021005338],[121.14086694000808,24.359614840283246],[121.16767469175747,24.360794454307968],[121.20685669495784,24.397876698483724],[121.23159072419215,24.384391255977356],[121.24502289984545,24.42254693955703],[121.32696664953363,24.434348539645303],[121.32689680914423,24.398643894267867],[121.36400703648768,24.389505755482304],[121.37270955314551,24.368712364383494],[121.43685353441,24.38348199368383],[121.45099901378815,24.365395636699976],[121.43414553778074,24.3230153317617],[121.3799856601556,24.279899765083517],[121.38451578316706,24.255455404130714],[121.3521607802049,24.244283401989133],[121.3426922836257,24.224079905348123],[121.25660690028272,24.244987942965466],[121.23739970138664,24.22025322794472],[121.21951975093323,24.229721189370725],[121.18186456411765,24.212644618559747],[121.16748669565301,24.225931395542656],[121.13566086550354,24.19694383623293],[121.10534063877834,24.19813741616747],[121.05235829785184,24.155592773200958],[121.01221498670333,24.15427158013733],[120.99963649638832,24.127885364245962],[120.9751565457209,24.116826477821693],[120.94973064105119,24.127827195011644],[120.89137375932928,24.09780538188883],[120.84484755133373,24.12451970676172],[120.82927615722159,24.071412468875245],[120.80717729130616,24.064438356505473],[120.78469505625944,24.024041556245557],[120.74599138832089,23.998486416684514],[120.70644911560105,24.005154990753184],[120.64660654337341,24.03389324554193],[120.6252872631811,24.030051449944757],[120.62545225896008,24.068740100253905],[120.61251115074064,24.102540697328205],[120.54982900694795,24.113824611707184],[120.52363265196765,24.13956542731099],[120.5079541700765,24.18729452484223],[120.46821450686448,24.212519512863683],[120.48238494102522,24.236537112460248]]]}},{"properties":{"name":"台中市"},"type":"Feature","geometry":{"type":"Polygon","coordinates":[[[120.75360211722312,24.219108579595606],[120.79614528180676,24.20402475316584],[120.8026748934596,24.169382847744632],[120.72617463174929,24.156759091420735],[120.70633925707082,24.1631670662816],[120.70410435014644,24.124655563263655],[120.63010148245279,24.11111907909278],[120.57470871419483,24.147442037793116],[120.59786081084546,24.189424061743303],[120.59634461861906,24.21413046471076],[120.63576065133944,24.20388102111721],[120.69099165957691,24.20624490830213],[120.70400806565772,24.18702246240364],[120.73553957526997,24.194080380599317],[120.75360211722312,24.219108579595606]]]}},{"properties":{"name":"屏東縣"},"type":"Feature","geometry":{"type":"Polygon","coordinates":[[[120.35878313463898,22.321686188884627],[120.36710603042155,22.35168832801877],[120.38752492379972,22.342453505779652],[120.35878313463898,22.321686188884627]],[[120.69254596217262,22.009621056284804],[120.68566813084824,22.026870502884275],[120.71688971306322,22.09329064080221],[120.68656733664855,22.206539777503618],[120.64937687400702,22.25575793714599],[120.64273743455067,22.302533696250208],[120.58484257605734,22.37195898509003],[120.45378645946928,22.446932475823445],[120.42397690164411,22.48035625489435],[120.42285066952219,22.51842453890958],[120.44697932582989,22.585953635635672],[120.43665244620026,22.665020418313542],[120.4557699482751,22.71856411629493],[120.45379720181852,22.769434941065057],[120.46874879473445,22.830526301942143],[120.55322681475815,22.828382952094586],[120.60535794828904,22.872995409038495],[120.64493085869947,22.885155778887174],[120.66110500090306,22.859648530839223],[120.70577406990905,22.881194961507667],[120.7550999293492,22.86464215884149],[120.77836830551223,22.835288288817797],[120.82248461407869,22.865356148151765],[120.8531609509878,22.857604589373185],[120.8685703390177,22.816913512715814],[120.90324856538345,22.800002315740716],[120.89478366573795,22.737709540960218],[120.8837998875535,22.717295337836084],[120.84858317407462,22.71697211053213],[120.83491435604341,22.696529534793832],[120.7977738385256,22.68907660629193],[120.7615634233777,22.630241247160622],[120.73949091521477,22.551462982016453],[120.76383148503342,22.49114560216813],[120.75151374308416,22.45850177494214],[120.77650809396107,22.449446062929248],[120.78954405424062,22.41761874527658],[120.75349937629856,22.405002710893363],[120.74346228824089,22.36734295002843],[120.78507732851297,22.345502328521597],[120.793112842826,22.312592537698023],[120.77776048515041,22.29787745623429],[120.79962765423487,22.25713676147535],[120.81538896917023,22.263177351673153],[120.86625585101834,22.22980555655451],[120.89627582517147,22.24637777294378],[120.88577913180731,22.13270991474549],[120.9018904303076,22.10427875828526],[120.89142902082493,22.0863069084529],[120.90125924306967,22.03409615982974],[120.87524085084242,21.999903446248265],[120.84580044598246,21.98820844111203],[120.84104690278753,21.949480058458406],[120.86642341385458,21.900907098616077],[120.82214544468124,21.934715332043897],[120.76631922101569,21.958940287865758],[120.73966082241033,21.91952544102645],[120.71135160647788,21.934125771624128],[120.71594935437018,21.972661218442614],[120.69254596217262,22.009621056284804]]]}},{"properties":{"name":"南投縣"},"type":"Feature","geometry":{"type":"Polygon","coordinates":[[[121.23767464362308,24.22019862349567],[121.25660690028272,24.244987942965466],[121.34203486580951,24.224462867440874],[121.34943161941818,24.20107592764084],[121.28634357421167,24.177512175167525],[121.28141831656964,24.135579635530124],[121.32847873130903,24.114317272380884],[121.32316230181189,24.084920764400874],[121.28312488988884,24.053997409186938],[121.26103405142275,23.99404720098966],[121.277876746113,23.96583598422776],[121.26834534516635,23.88345005071764],[121.23936864599578,23.84032441282146],[121.22837346684423,23.785194396663083],[121.2046343088964,23.772348974716337],[121.23332234472986,23.748212272783512],[121.24112102577995,23.709157804223597],[121.23584587476553,23.662664516484032],[121.21358282457642,23.600622828457887],[121.17896791008464,23.58349607526171],[121.15350803017468,23.586837339418945],[121.15111158358943,23.527044701065012],[121.06851861785249,23.51847058598193],[121.03912224606455,23.47420396008855],[121.05895451918262,23.461925370683876],[121.01513112044917,23.43519497912711],[121.01580284040536,23.451704796308004],[120.96669040138035,23.47167944784381],[120.9177071032631,23.47564322500223],[120.8393830033184,23.47116994874604],[120.80871669938118,23.535905274378802],[120.82550693640064,23.586395164806973],[120.81376110038538,23.600994432531703],[120.70513862066241,23.617108427984405],[120.66138306319958,23.610236074844217],[120.62909132670802,23.635179801755953],[120.64695305062371,23.672964743483174],[120.6402132149306,23.730888231872843],[120.65584806340898,23.73541093104863],[120.64252033489049,23.78572941884599],[120.68394427835472,23.80150916153702],[120.65190389815082,23.812455155771406],[120.62604332506791,23.841939444566247],[120.62384590532035,23.86884550426809],[120.64686285160676,23.96340757198545],[120.64236258266675,24.00892483688596],[120.67877310569023,24.014213830077534],[120.74599138832089,23.998486416684514],[120.78469505625944,24.024041556245557],[120.80717729130616,24.064438356505473],[120.82927615722159,24.071412468875245],[120.84484755133373,24.12451970676172],[120.89137375932928,24.09780538188883],[120.94973064105119,24.127827195011644],[120.9751565457209,24.116826477821693],[120.99963649638832,24.127885364245962],[121.01221498670333,24.15427158013733],[121.05235829785184,24.155592773200958],[121.10534063877834,24.19813741616747],[121.13566086550354,24.19694383623293],[121.16748669565301,24.225931395542656],[121.18186456411765,24.212644618559747],[121.21951975093323,24.229721189370725],[121.23767464362308,24.22019862349567]]]}},{"properties":{"name":"苗栗縣"},"type":"Feature","geometry":{"type":"Polygon","coordinates":[[[121.20327673096067,24.512500477758763],[121.26260369556489,24.455323912752437],[121.23159072419215,24.384391255977356],[121.20685669495784,24.397876698483724],[121.16767469175747,24.360794454307968],[121.14086694000808,24.359614840283246],[121.12104781592201,24.330551021005338],[121.08119741174166,24.324059909349316],[121.03422462314225,24.297609470090674],[121.00469079202985,24.33187769838667],[120.93566937080828,24.342855550386474],[120.91632997597875,24.334638203819246],[120.92184738857203,24.30244214848507],[120.9044815458084,24.29221050522025],[120.83319313049991,24.29065957510823],[120.8063800694261,24.315722257224976],[120.76285443237677,24.326071927784575],[120.69276390982127,24.3671475240674],[120.62215044267109,24.441173407984543],[120.66537167280919,24.483449260153012],[120.71119398497275,24.58594712635294],[120.7262074309653,24.608217466825106],[120.75886196958893,24.613157125280793],[120.78024587721985,24.6609928240737],[120.82872345360992,24.6695583660581],[120.87851501801168,24.735212255795066],[120.90589507141779,24.740701982898916],[120.91600092791033,24.72054422230124],[120.97666901514569,24.70641112078376],[120.9643978112313,24.683651241119374],[121.0081927806907,24.644386256646207],[121.08309887051836,24.590129999274858],[121.05947612752495,24.55691372470146],[121.08041860104848,24.541177604260156],[121.0718607270003,24.498365763700985],[121.12372167662981,24.510065255575704],[121.16916304794042,24.50259232943076],[121.20327673096067,24.512500477758763]]]}},{"properties":{"name":"基隆市"},"type":"Feature","geometry":{"type":"Polygon","coordinates":[[[121.73386615692426,25.15875384454109],[121.76325432537968,25.163725808366923],[121.80645241019062,25.148443721426165],[121.80227248101862,25.121793321248756],[121.75592907684003,25.108508435014894],[121.76237361651954,25.05696329493345],[121.73207912369006,25.052720879009808],[121.65569062359438,25.093450351845554],[121.63450092237609,25.143875063566853],[121.70836307954613,25.17504213378968],[121.73386615692426,25.15875384454109]]]}},{"properties":{"name":"高雄縣"},"type":"Feature","geometry":{"type":"Polygon","coordinates":[[[120.45430967655587,22.77177338953383],[120.4557699482751,22.71856411629493],[120.43665244620026,22.665020418313542],[120.44697932582989,22.585953635635672],[120.42285066952219,22.51842453890958],[120.42339286408136,22.47659024513592],[120.36026708422743,22.50770859908889],[120.39875523556837,22.54889004546994],[120.37053573168821,22.587099168501503],[120.32469971216655,22.58613149637791],[120.35000688787372,22.63878316498237],[120.31486348961717,22.69592817524841],[120.34042434461566,22.730225204295984],[120.27755446432343,22.737929619261056],[120.25572293052672,22.717954566326995],[120.21223821925568,22.807595352712294],[120.17503992092708,22.911751354531273],[120.19204595865948,22.92120219250129],[120.25399308971227,22.894311009946755],[120.27803517022659,22.904463123894946],[120.35516177884718,22.890406587599443],[120.38147894272761,22.92101147680212],[120.4164958938216,22.916345403986234],[120.46033771403366,23.003386787637837],[120.47843221757222,23.00351006485294],[120.57478189031471,23.09143487185158],[120.60105762655536,23.144119827159404],[120.64109491429065,23.182949268923476],[120.65625279047502,23.217846768509983],[120.64208057419864,23.293102780015015],[120.69365541960394,23.284480464075315],[120.71214327974337,23.30862066036637],[120.74815075687111,23.32208535986189],[120.75965754739624,23.34420430430983],[120.78311088044671,23.342168926269952],[120.82875228044087,23.37522437943833],[120.84953300249437,23.42013426287936],[120.91302975097278,23.458510301245564],[120.96669040138035,23.47167944784381],[121.01580284040536,23.451704796308004],[121.02664368039612,23.406023029123798],[121.00108986535864,23.39195370150819],[120.98711865523079,23.358709772623204],[121.04879220084102,23.325305727335913],[121.02363369912672,23.293680173076815],[120.97095493702882,23.281228256726063],[120.9380056276369,23.24519589028161],[120.91579957663471,23.238003954680874],[120.91247460513706,23.186676897012187],[120.87639340331197,23.15134723187201],[120.88790394335793,23.136678830987606],[120.88556292759954,23.08892081334605],[120.8691554498151,23.05969421805902],[120.8795561331272,23.034710559418993],[120.82094388569759,22.96083778975627],[120.82860449656131,22.90416398670824],[120.85983297038246,22.878220192998416],[120.8531609509878,22.857604589373185],[120.82248461407869,22.865356148151765],[120.77836830551223,22.835288288817797],[120.7550999293492,22.86464215884149],[120.70577406990905,22.881194961507667],[120.66110500090306,22.859648530839223],[120.64493085869947,22.885155778887174],[120.60535794828904,22.872995409038495],[120.55322681475815,22.828382952094586],[120.47619325118026,22.838166437202823],[120.45430967655587,22.77177338953383]]]}},{"properties":{"name":"高雄市"},"type":"Feature","geometry":{"type":"Polygon","coordinates":[[[120.33110316211459,22.755069659494975],[120.34042434461566,22.730225204295984],[120.31486348961717,22.69592817524841],[120.35000688787372,22.63878316498237],[120.32469971216655,22.58613149637791],[120.37053573168821,22.587099168501503],[120.39875523556837,22.54889004546994],[120.35925858451884,22.506907668640668],[120.33469417367293,22.522175210686594],[120.26576360015031,22.610599118899355],[120.25149104207544,22.64527533081007],[120.27755446432343,22.737929619261056],[120.3257351525257,22.735977780201864],[120.33110316211459,22.755069659494975]]]}},{"properties":{"name":"宜蘭縣"},"type":"Feature","geometry":{"type":"Polygon","coordinates":[[[121.84524881194487,24.644644194573626],[121.87750029062175,24.57838757856549],[121.86970028045779,24.528422072337488],[121.84187882123294,24.520371778957482],[121.85557972761066,24.480899235708538],[121.82025029200123,24.461360178130978],[121.80088332657051,24.433982263250527],[121.77355335196829,24.314521968144152],[121.67593389711678,24.337450812258734],[121.63095228461816,24.370527686765477],[121.63271274669704,24.334689629923005],[121.59570696062164,24.331588536318396],[121.60694778948485,24.312991811781963],[121.5598180445848,24.322887141314737],[121.54418538138218,24.33778963735664],[121.49829755862194,24.339230592249997],[121.43685353441,24.38348199368383],[121.37270955314551,24.368712364383494],[121.36400703648768,24.389505755482304],[121.32689680914423,24.398643894267867],[121.31673917059453,24.441708662907377],[121.34548418723801,24.48415673261879],[121.40165129885064,24.5292706775013],[121.40302476368747,24.59172537713487],[121.42786067155268,24.606242005954975],[121.45967920423368,24.67324833807007],[121.53631102156318,24.688272764291913],[121.54325365243525,24.705662329491435],[121.58701412505485,24.720073409912196],[121.59195643416392,24.78742137353741],[121.62594381238324,24.808794604413873],[121.68822564718884,24.816107822150304],[121.73051608630014,24.85529903308575],[121.76107014100344,24.856882807964325],[121.78166625110197,24.88947782925597],[121.83145095967134,24.904838094162997],[121.85362703138354,24.925162221805994],[121.84723242324468,24.960340007496338],[121.96302236680401,24.98757916984087],[121.92640845622847,24.969346106578147],[121.85227459572322,24.891278933301404],[121.83049985492815,24.851214851313877],[121.81926485299458,24.757948050314308],[121.83654251047918,24.713899033628405],[121.84524881194487,24.644644194573626]]]}},{"properties":{"name":"花蓮縣"},"type":"Feature","geometry":{"type":"Polygon","coordinates":[[[121.37721947259374,23.28352596655517],[121.33462999939282,23.177823457310698],[121.31605473229,23.110644371442365],[121.27237372596579,23.09785605175212],[121.24921837437424,23.131523397626573],[121.21194738060586,23.14421658113226],[121.1909466138109,23.202267468628943],[121.13979859984548,23.20153791786033],[121.12927647048008,23.223332175952418],[121.07955438300841,23.232731411907242],[121.05641971859097,23.290140920459308],[121.03889744078154,23.30063270214304],[121.04879220084102,23.325305727335913],[120.98711865523079,23.358709772623204],[121.00108986535864,23.39195370150819],[121.02664368039612,23.406023029123798],[121.01440684598968,23.434791034820115],[121.05895451918262,23.461925370683876],[121.03912224606455,23.47420396008855],[121.06851861785249,23.51847058598193],[121.15111158358943,23.527044701065012],[121.15350803017468,23.586837339418945],[121.17896791008464,23.58349607526171],[121.21358282457642,23.600622828457887],[121.23584587476553,23.662664516484032],[121.24112102577995,23.709157804223597],[121.23332234472986,23.748212272783512],[121.2046343088964,23.772348974716337],[121.22837346684423,23.785194396663083],[121.23936864599578,23.84032441282146],[121.26834534516635,23.88345005071764],[121.277876746113,23.96583598422776],[121.26103405142275,23.99404720098966],[121.28312488988884,24.053997409186938],[121.32316230181189,24.084920764400874],[121.32847873130903,24.114317272380884],[121.28141831656964,24.135579635530124],[121.28634357421167,24.177512175167525],[121.34943161941818,24.20107592764084],[121.3521607802049,24.244283401989133],[121.38451578316706,24.255455404130714],[121.3799856601556,24.279899765083517],[121.43414553778074,24.3230153317617],[121.45099901378815,24.365395636699976],[121.49829755862194,24.339230592249997],[121.54418538138218,24.33778963735664],[121.5598180445848,24.322887141314737],[121.60694778948485,24.312991811781963],[121.59570696062164,24.331588536318396],[121.63271274669704,24.334689629923005],[121.63095228461816,24.370527686765477],[121.67593389711678,24.337450812258734],[121.77355335196829,24.314521968144152],[121.7443895135982,24.26243557045582],[121.67462517671478,24.208197338932656],[121.65871707947503,24.179007306152656],[121.66651433955207,24.148759750817288],[121.65312248640069,24.120423373770343],[121.61776591999767,24.08453321923443],[121.62091611732099,24.047438100023683],[121.6471917929323,24.008426723084284],[121.60579935181285,23.955244693222333],[121.61131815824075,23.933989761475395],[121.59801759514522,23.86052877856646],[121.57303499243517,23.80288639928288],[121.57285833841048,23.760438820808268],[121.54876853368334,23.712519240506662],[121.55316716491635,23.69848009182621],[121.53026296384063,23.62731781582361],[121.52608261376793,23.577783821709893],[121.50293004487138,23.516964871695713],[121.51460260747022,23.4890646156322],[121.49581945388192,23.43467538371576],[121.44737729132254,23.443758424490685],[121.40001621186434,23.38536505277769],[121.42268913980662,23.360062902961598],[121.3778105091697,23.300705935906496],[121.37721947259374,23.28352596655517]]]}},{"properties":{"name":"新竹縣"},"type":"Feature","geometry":{"type":"Polygon","coordinates":[[[120.94913486248821,24.881660170378517],[120.98082678431335,24.939118429901843],[121.03783828969436,24.9463466669537],[121.05765791340643,24.93304602705849],[121.05757925089003,24.905924195523575],[121.13559156999206,24.877993948041095],[121.15576701249707,24.880594867110982],[121.15019369431101,24.844722342274817],[121.17381318015022,24.82763198536835],[121.24309015391518,24.808667206022733],[121.26024186979124,24.781856708271228],[121.30770284443898,24.75502582221948],[121.29954020735137,24.696542406647087],[121.31805910999604,24.69800964742008],[121.3532230776895,24.66774210495049],[121.36350318578016,24.60290801395455],[121.41207384456251,24.572991472301247],[121.39494505630553,24.556187693319238],[121.40165129885064,24.5292706775013],[121.34548418723801,24.48415673261879],[121.30454244732843,24.432830310989416],[121.25845383928338,24.43084319063392],[121.26260369556489,24.455323912752437],[121.2186474024603,24.498296478231882],[121.2156945854297,24.515507932996037],[121.16916304794042,24.50259232943076],[121.12372167662981,24.510065255575704],[121.0718607270003,24.498365763700985],[121.08041860104848,24.541177604260156],[121.05947612752495,24.55691372470146],[121.08309887051836,24.590129999274858],[121.0081927806907,24.644386256646207],[120.9643978112313,24.683651241119374],[120.97666901514569,24.70641112078376],[120.9398313159788,24.70833744468079],[120.93802742290784,24.729487152795738],[120.99307248432557,24.78058546299651],[121.03277334747459,24.762071869396433],[121.02129728655262,24.801614616549674],[121.00025152139358,24.82211342497391],[120.95530110388971,24.834342162161477],[120.93364814494589,24.852763991399165],[120.94913486248821,24.881660170378517]]]}},{"properties":{"name":"新竹市"},"type":"Feature","geometry":{"type":"Polygon","coordinates":[[[120.91090061030832,24.827204872753327],[120.93444021126828,24.852202277233314],[120.95530110388971,24.834342162161477],[121.00025152139358,24.82211342497391],[121.02129728655262,24.801614616549674],[121.03277334747459,24.762071869396433],[120.99307248432557,24.78058546299651],[120.94376696160431,24.7434663908621],[120.93543452074101,24.712604039038222],[120.90589507141779,24.740701982898916],[120.87851501801168,24.735212255795066],[120.89960441606569,24.76047308419602],[120.8925053142502,24.788398272588783],[120.91090061030832,24.827204872753327]]]}},{"properties":{"name":"嘉義縣"},"type":"Feature","geometry":{"type":"Polygon","coordinates":[[[120.6519683977136,23.29115642805552],[120.64072605574118,23.26634730287162],[120.64955317834598,23.228338755165353],[120.60983067356005,23.222627805191813],[120.59385698755257,23.239360612451062],[120.5783278288124,23.214839807873243],[120.51903652941547,23.239309825557097],[120.53204551740102,23.255422418012017],[120.52252506210996,23.31175903866353],[120.53997653608121,23.327908971535813],[120.48311617428105,23.37139572774911],[120.4992288441681,23.38787628174515],[120.43820559095522,23.413364443990474],[120.3494923933435,23.40131451886522],[120.29287923466532,23.37536781185007],[120.28608531286339,23.350189335108833],[120.23787908567289,23.326900789658183],[120.22081937769595,23.295962320833038],[120.17096706875047,23.3045473156855],[120.11806747142766,23.34018431147561],[120.15236356537889,23.38797923759891],[120.14409016093326,23.470091728968473],[120.15785249222253,23.495023009539306],[120.11942754817214,23.495470147838365],[120.12721923818019,23.520189299923278],[120.2230390163588,23.50430841232954],[120.24705680324803,23.5162279481648],[120.24209305990972,23.54149274169583],[120.27249641826222,23.531324119152917],[120.29329012930316,23.56417031940779],[120.33250468058466,23.578249034641956],[120.33369991075266,23.591808032310958],[120.40263485175898,23.62693940835481],[120.50358971571166,23.63529603648532],[120.53689395278423,23.59474968651307],[120.57676920076163,23.58348632250786],[120.64874450354075,23.59328636863697],[120.67061965964128,23.578280331119966],[120.73615378063558,23.570448781492516],[120.73124885887022,23.61074114820878],[120.81376110038538,23.600994432531703],[120.82550693640064,23.586395164806973],[120.80871669938118,23.535905274378802],[120.8393830033184,23.47116994874604],[120.93733025140477,23.473106077531863],[120.88598047757648,23.434738264130324],[120.84953300249437,23.42013426287936],[120.82875228044087,23.37522437943833],[120.78311088044671,23.342168926269952],[120.75965754739624,23.34420430430983],[120.74815075687111,23.32208535986189],[120.71214327974337,23.30862066036637],[120.69365541960394,23.284480464075315],[120.6519683977136,23.29115642805552]]]}},{"properties":{"name":"嘉義市"},"type":"Feature","geometry":{"type":"Polygon","coordinates":[[[120.42862377845057,23.50917284730983],[120.48316606308609,23.505367874038154],[120.50927315127988,23.474742327654077],[120.49523235445339,23.452892231050484],[120.4686881720279,23.461599261462542],[120.43969330927787,23.439563504368927],[120.42930183817928,23.461035199787425],[120.39414145043601,23.46252766245565],[120.38943636053666,23.498648394521304],[120.42862377845057,23.50917284730983]]]}},{"properties":{"name":"彰化縣"},"type":"Feature","geometry":{"type":"Polygon","coordinates":[[[120.62829678760964,23.93148291702954],[120.63714420690391,23.924574875505346],[120.62604332506791,23.841939444566247],[120.65190389815082,23.812455155771406],[120.68394427835472,23.80150916153702],[120.64252033489049,23.78572941884599],[120.55196986021001,23.801005880405746],[120.51105153884015,23.800093214539128],[120.43314965453851,23.83015730517283],[120.30814032834708,23.82029746489297],[120.24223815461872,23.842329981792222],[120.28749591762424,23.875581245046103],[120.31909516292626,23.93583953101871],[120.3044049492348,23.94062918551609],[120.32999478953751,23.988658934109182],[120.37152460771516,24.039824476145746],[120.40743311462882,24.0568845192945],[120.37799255365981,24.057992873621686],[120.37752590592757,24.076518773555236],[120.42702474364053,24.084121009498254],[120.4365117575599,24.1214327123515],[120.394196711219,24.106350292238837],[120.43941584765044,24.158791833697222],[120.45951524764766,24.158992653494245],[120.48590467268795,24.197417093735208],[120.5079541700765,24.18729452484223],[120.52363265196765,24.13956542731099],[120.54982900694795,24.113824611707184],[120.61251115074064,24.102540697328205],[120.62545225896008,24.068740100253905],[120.6252872631811,24.030051449944757],[120.64660654337341,24.03389324554193],[120.67866422186995,24.014030719026568],[120.64236258266675,24.00892483688596],[120.64686285160676,23.96340757198545],[120.62829678760964,23.93148291702954]]]}},{"properties":{"name":"連江縣"},"type":"Feature","geometry":{"type":"Polygon","coordinates":[[[119.97306459109413,26.16644816524188],[119.9731061437476,26.166412749586627],[119.97307256723059,26.166435459396716],[119.97306459109413,26.16644816524188]],[[119.97043746883782,26.16379429833892],[119.9697971850069,26.1637148059942],[119.96990125609386,26.16379015141254],[119.96996488622564,26.163827538900325],[119.97036578293314,26.164056158843703],[119.97043746883782,26.16379429833892]],[[119.96919743004786,26.163496389635746],[119.96919215079608,26.16350109994512],[119.9691912983202,26.16350138843063],[119.96921285720883,26.163488536864058],[119.96919743004786,26.163496389635746]],[[119.97740460828437,26.198734352143017],[119.97278116961004,26.219355028248618],[120.00087308219007,26.2368804869051],[120.0151701032547,26.218239450460885],[119.97740460828437,26.198734352143017]],[[119.94863985399878,26.158357892029994],[119.97307256723059,26.166435459396716],[119.9731061437476,26.166412749586627],[119.97036578293314,26.164056158843703],[119.96996488622564,26.163827538900325],[119.96990125609386,26.16379015141254],[119.96984097440188,26.163749581903755],[119.9698215153669,26.163737579272535],[119.9697971850069,26.1637148059942],[119.9691912983202,26.16350138843063],[119.96921285720883,26.163488536864058],[119.94746663404607,26.14188856671944],[119.91421327373496,26.14407752723453],[119.94863985399878,26.158357892029994]]]}},{"properties":{"name":"澎湖縣"},"type":"Feature","geometry":{"type":"Polygon","coordinates":[[[119.49235180256075,23.381389621801752],[119.50803271143144,23.390723967187654],[119.5137726477919,23.353546550177974],[119.48626355312666,23.356018573625665],[119.49235180256075,23.381389621801752]],[[119.58096029613954,23.661552068087516],[119.55471416672744,23.6575283985746],[119.51740353623728,23.626777130841827],[119.51507274214325,23.564104067303827],[119.46795202709913,23.563485549596702],[119.50335410773144,23.57915130149758],[119.4898186221537,23.595239407625236],[119.5143103880232,23.655637963327003],[119.54028817688055,23.64044811413775],[119.5551771940932,23.668567788377185],[119.59787890974592,23.674530854112263],[119.59786962879166,23.64156596064783],[119.62415708022482,23.580296596630845],[119.65008647197627,23.609525187059294],[119.66928272179032,23.601720476894123],[119.69354368938927,23.55518557420989],[119.64631805839745,23.56051237851814],[119.60588736980885,23.52930464062877],[119.60624055100729,23.50784640117831],[119.57180967829908,23.508659035569043],[119.58271380037225,23.53271139080059],[119.56203554218416,23.58533614473887],[119.60659195819214,23.58526807580104],[119.58096029613954,23.661552068087516]]]}},{"properties":{"name":"金門縣"},"type":"Feature","geometry":{"type":"Polygon","coordinates":[[[118.3648311214179,24.428418953225275],[118.33051821081997,24.388667291206858],[118.27814802231286,24.413575124380316],[118.31077397069811,24.428655531443102],[118.28789367543115,24.46913826207838],[118.31420352459176,24.489514996734204],[118.34497241807624,24.466947446306342],[118.38439523749737,24.46759824998896],[118.39237776570296,24.509024127731614],[118.42530658588375,24.525617381216513],[118.44828074560161,24.50851924900959],[118.4727257198386,24.441430835607413],[118.43026425775108,24.40701131642551],[118.42760229020548,24.425361215932128],[118.39523891837419,24.436242023393913],[118.3648311214179,24.428418953225275]],[[118.26339600369043,24.42533843681105],[118.214545144332,24.409354236227568],[118.22914682645734,24.446409455757436],[118.26708601014673,24.443314678573785],[118.26339600369043,24.42533843681105]]]}}]}
1  twTown1982.json
1 addition, 0 deletions not shown
@vendethiel

by_county[][name]push works

@vendethiel

geometry: {type: \Polygon coordinates} works too

@vendethiel

No ! nor spaced dots ? d3.simplify!topology true .area argv.simplify .projection -> it

@vendethiel

require! {'optimist'argv, \d3 \d3-plugins/simplify/simplify data: "../#{argv._.0}"} (gkz/LiveScript#207)

@clkao

this was copied from plain js and didn't get cleaned up ;)

Please sign in to comment.
Something went wrong with that request. Please try again.