Skip to content

Instantly share code, notes, and snippets.

@sabrinadchan
Last active August 14, 2017 06:45
Show Gist options
  • Select an option

  • Save sabrinadchan/d6f5ce50d9e10d460876ae53da2a5a06 to your computer and use it in GitHub Desktop.

Select an option

Save sabrinadchan/d6f5ce50d9e10d460876ae53da2a5a06 to your computer and use it in GitHub Desktop.
Non-residential and non-commercial spaces in Chicago
license: gpl-3.0
height: 990

An example of mapping multiple geographical layers at once from different TopoJSON files. Use the checkboxes to show/hide different layers.

Geographical boundaries were obtained from the City of Chicago Data Portal. A combination of Python GeoPandas and TopoJSON Client were used to process (re-project, select features, convert file formats, simplify topology) the initial GeoJSON files.

Display the source blob
Display the rendered blob
Raw
{"type":"Topology","objects":{"boulevards":{"type":"GeometryCollection","crs":{"type":"name","properties":{"name":"urn:ogc:def:crs:OGC:1.3:CRS84"}},"geometries":[{"type":"MultiPolygon","properties":{"fid":"Boulevards.0","Name":"581455.1763","SQ_FOOTAGE":"581455.1763","ACREAGE":"13.35"},"arcs":[[[0]],[[1]],[[2]],[[3]],[[4]],[[5]],[[6]],[[7]],[[8]],[[9]],[[10]],[[11]],[[12]],[[13]],[[14]],[[15]]]},{"type":"MultiPolygon","properties":{"fid":"Boulevards.1","Name":"474184.9815","SQ_FOOTAGE":"474184.9815","ACREAGE":"10.89"},"arcs":[[[16]],[[17]],[[18]],[[19]],[[20]],[[21]],[[22]]]},{"type":"MultiPolygon","properties":{"fid":"Boulevards.2","Name":"23919.8418","SQ_FOOTAGE":"23919.8418","ACREAGE":"0.55"},"arcs":[[[23]],[[24]],[[25]]]},{"type":"MultiPolygon","properties":{"fid":"Boulevards.3","Name":"1491471.5813","SQ_FOOTAGE":"1491471.5813","ACREAGE":"34.24"},"arcs":[[[26]],[[27]],[[28]],[[29]],[[30]],[[31]],[[32]],[[33]],[[34]],[[35]],[[36]],[[37]],[[38]],[[39]],[[40]],[[41]],[[42]],[[43]],[[44]],[[45]],[[46]],[[47]],[[48]],[[49]],[[50]],[[51]],[[52]],[[53]],[[54]],[[55]],[[56]],[[57]],[[58]],[[59]],[[60]],[[61]],[[62]],[[63]],[[64]],[[65]],[[66]],[[67]],[[68]],[[69]],[[70]],[[71]],[[72]],[[73]]]},{"type":"MultiPolygon","properties":{"fid":"Boulevards.4","Name":"1528754.5647","SQ_FOOTAGE":"1528754.5647","ACREAGE":"35.1"},"arcs":[[[74]],[[75]],[[76]],[[77]],[[78]],[[79]],[[80]],[[81]],[[82]],[[83]],[[84]],[[85]],[[86]],[[87]],[[88]],[[89]],[[90]],[[91]],[[92]],[[93]],[[94]],[[95]],[[96]],[[97]],[[98]],[[99]],[[100]],[[101]],[[102]],[[103]],[[104]],[[105]],[[106]],[[107]],[[108]],[[109]],[[110]],[[111]],[[112]],[[113]],[[114]],[[115]],[[116]]]},{"type":"MultiPolygon","properties":{"fid":"Boulevards.5","Name":"155411.6186","SQ_FOOTAGE":"155411.6186","ACREAGE":"3.57"},"arcs":[[[117]],[[118]]]},{"type":"MultiPolygon","properties":{"fid":"Boulevards.6","Name":"495122.2464","SQ_FOOTAGE":"495122.2464","ACREAGE":"11.37"},"arcs":[[[119]],[[120]],[[121]],[[122]],[[123]],[[124]],[[125]],[[126]],[[127]],[[128]],[[129]]]},{"type":"MultiPolygon","properties":{"fid":"Boulevards.7","Name":"561388.1422","SQ_FOOTAGE":"561388.1422","ACREAGE":"12.89"},"arcs":[[[130]],[[131]],[[132]],[[133]],[[134]],[[135]],[[136]],[[137]],[[138]],[[139]],[[140]],[[141]],[[142]],[[143]],[[144]],[[145]],[[146]],[[147]],[[148]],[[149]],[[150]],[[151]],[[152]],[[153]]]},{"type":"MultiPolygon","properties":{"fid":"Boulevards.8","Name":"374300.6361","SQ_FOOTAGE":"374300.6361","ACREAGE":"8.59"},"arcs":[[[154]],[[155]],[[156]],[[157]],[[158]],[[159]],[[160]],[[161]],[[162]],[[163]],[[164]],[[165]],[[166]],[[167]],[[168]],[[169]]]},{"type":"MultiPolygon","properties":{"fid":"Boulevards.9","Name":"597916.5684","SQ_FOOTAGE":"597916.5684","ACREAGE":"13.73"},"arcs":[[[170]],[[171]],[[172]],[[173]],[[174]],[[175]],[[176]],[[177]],[[178]],[[179]],[[180]],[[181]],[[182]],[[183]],[[184]],[[185]]]},{"type":"MultiPolygon","properties":{"fid":"Boulevards.10","Name":"200743.6517","SQ_FOOTAGE":"200743.6517","ACREAGE":"4.61"},"arcs":[[[186]],[[187]],[[188]],[[189]],[[190]]]},{"type":"MultiPolygon","properties":{"fid":"Boulevards.11","Name":"318165.7955","SQ_FOOTAGE":"318165.7955","ACREAGE":"7.3"},"arcs":[[[191]],[[192]],[[193]],[[194]],[[195]],[[196]],[[197]],[[198]]]},{"type":"MultiPolygon","properties":{"fid":"Boulevards.12","Name":"843180.6604","SQ_FOOTAGE":"843180.6604","ACREAGE":"19.36"},"arcs":[[[199]],[[200]],[[201]],[[202]],[[203]],[[204]],[[205]],[[206]],[[207]],[[208]],[[209]],[[210]],[[211]],[[212]],[[213]]]},{"type":"MultiPolygon","properties":{"fid":"Boulevards.13","Name":"264231.6382","SQ_FOOTAGE":"264231.6382","ACREAGE":"6.07"},"arcs":[[[214]],[[215]],[[216]],[[217]],[[218]],[[219]],[[220]],[[221]],[[222]]]},{"type":"MultiPolygon","properties":{"fid":"Boulevards.14","Name":"102764.8106","SQ_FOOTAGE":"102764.8106","ACREAGE":"2.36"},"arcs":[[[223]],[[224]],[[225]]]},{"type":"MultiPolygon","properties":{"fid":"Boulevards.15","Name":"918222.1731","SQ_FOOTAGE":"918222.1731","ACREAGE":"21.08"},"arcs":[[[226]],[[227]],[[228]],[[229]],[[230]],[[231]],[[232]],[[233]],[[234]],[[235]],[[236]],[[237]],[[238]],[[239]],[[240]],[[241]],[[242]],[[243]],[[244]],[[245]],[[246]],[[247]],[[248]],[[249]],[[250]],[[251]],[[252]],[[253]],[[254]],[[255]],[[256]],[[257]],[[258]],[[259]],[[260]],[[261]]]},{"type":"MultiPolygon","properties":{"fid":"Boulevards.16","Name":"668234.8705","SQ_FOOTAGE":"668234.8705","ACREAGE":"15.34"},"arcs":[[[262]],[[263]],[[264]],[[265]],[[266]],[[267]],[[268]],[[269]],[[270]]]}]}},"arcs":[[[60415,537,0],[1079,20,0],[722,6,0],[135,6,0],[12,-52,0],[-5,-145,0],[-16,-22,0],[-544,-5,0],[-1382,-10,0],[-1,202,0]],[[66649,617,0],[2016,29,0],[-3,-183,0],[-1936,-27,0],[-57,0,0],[-15,15,0],[-5,166,0]],[[70848,679,0],[1926,43,0],[0,-198,0],[-1909,-29,0],[-17,184,0]],[[64585,580,0],[28,11,0],[954,3,0],[625,11,0],[147,4,0],[169,7,0],[34,-16,0],[-5,-161,0],[-38,-16,0],[-687,-4,0],[-1171,-19,0],[-44,0,0],[-12,11,0],[0,169,0]],[[69113,661,0],[1568,14,0],[13,-179,0],[-1591,-26,0],[10,191,0]],[[57115,504,0],[1070,18,0],[16,-205,0],[-19,-12,0],[-1060,-15,0],[-7,214,0]],[[62477,566,0],[112,10,0],[966,9,0],[1,-214,0],[-1029,-8,0],[-50,6,0],[0,197,0]],[[59198,535,0],[1073,8,0],[10,-177,0],[-9,-20,0],[-960,-23,0],[-101,-11,0],[-13,223,0]],[[72944,732,0],[1067,-1,0],[17,-184,0],[-1086,-11,0],[2,196,0]],[[58316,519,0],[876,14,0],[4,-221,0],[-470,-2,0],[-412,-8,0],[2,217,0]],[[63565,587,0],[698,2,0],[158,-4,0],[19,-109,0],[-11,-79,0],[-391,-8,0],[-479,-18,0],[6,216,0]],[[56270,484,0],[836,17,0],[7,-207,0],[-829,-6,0],[-14,196,0]],[[74042,733,0],[812,18,0],[17,-174,0],[-384,-20,0],[-349,-3,0],[-99,1,0],[3,178,0]],[[77979,786,0],[520,14,0],[141,4,0],[80,-25,0],[13,-151,0],[-254,-11,0],[-237,1,0],[-276,-1,0],[13,169,0]],[[75017,735,0],[885,6,0],[10,-110,0],[-12,-28,0],[-94,-9,0],[-806,-8,0],[17,149,0]],[[77151,744,0],[646,3,0],[33,-26,0],[-4,-74,0],[-46,-16,0],[-380,-3,0],[-247,-19,0],[-2,135,0]],[[99691,7806,0],[-54,677,0],[9,674,0],[25,8,0],[67,5,0],[171,-3,0],[25,-9,0],[34,-580,0],[-2,-772,0],[-138,0,0],[138,-2,0],[24,-424,0],[-1,-76,0],[10,-508,0],[-11,-185,0],[-4,-54,0],[-210,-4,0],[-33,30,0],[-20,56,0],[3,229,0],[-33,938,0]],[[99852,13187,0],[-322,10,0],[-44,1327,0],[329,-2,0],[-2,-150,0],[8,-379,0],[31,-806,0]],[[99574,11821,0],[294,-6,0],[37,-1326,0],[-308,6,0],[-23,1326,0]],[[99484,15881,0],[-24,1340,0],[253,-15,0],[13,-97,0],[51,-1243,0],[-293,15,0]],[[99611,10491,0],[288,-6,0],[17,-287,0],[19,-565,0],[-5,-374,0],[-280,-7,0],[-39,1239,0]],[[99852,13187,0],[11,-1240,0],[-274,2,0],[-45,1235,0],[308,3,0]],[[99483,15859,0],[288,7,0],[24,-1225,0],[-41,-18,0],[-164,-8,0],[-62,5,0],[-45,1239,0]],[[88182,39312,0],[55,35,0],[75,-13,0],[19,-132,0],[3,-272,0],[-11,-277,0],[-41,-39,0],[-96,10,0],[-4,688,0]],[[88182,39878,0],[62,9,0],[71,-291,0],[-14,-78,0],[-83,0,0],[-47,18,0],[11,342,0]],[[88191,39470,0],[81,13,0],[55,-36,0],[-21,-43,0],[-76,-22,0],[-54,27,0],[15,61,0]],[[12924,94476,0],[2473,20,0],[40,-19,0],[-2,-128,0],[17,-330,0],[-20,-19,0],[-100,-6,0],[-3911,-13,0],[-44,490,0],[1547,5,0]],[[15618,93415,0],[-10,394,0],[20,38,0],[60,25,0],[79,12,0],[138,-6,0],[99,-33,0],[90,-2045,0],[-112,-209,0],[-247,-5,0],[-48,63,0],[-69,1766,0]],[[11429,99870,0],[815,-423,0],[0,-7,0],[-10,-19,0],[-30,-32,0],[-69,-25,0],[-1137,6,0],[-70,19,0],[-107,83,0],[-59,121,0],[-8,63,0],[40,83,0],[80,82,0],[129,44,0],[426,5,0]],[[15360,91600,0],[-10,38,0],[-20,388,0],[-62,1893,0],[98,-1,0],[49,-19,0],[40,-45,0],[83,-2185,0],[-30,-63,0],[-60,-13,0],[-88,7,0]],[[15339,91504,0],[149,13,0],[38,-33,0],[20,-31,0],[35,-1207,0],[-49,-7,0],[-139,8,0],[-54,1257,0]],[[15695,91471,0],[19,32,0],[109,6,0],[79,6,0],[20,-13,0],[0,-32,0],[-21,-25,0],[-10,-45,0],[37,-1137,0],[-10,-19,0],[-119,7,0],[-59,13,0],[0,13,0],[-45,1194,0]],[[10985,95622,0],[-46,1220,0],[158,5,0],[40,-12,0],[36,-1195,0],[-50,-32,0],[-138,14,0]],[[15428,90143,0],[179,4,0],[54,-1215,0],[-212,5,0],[-21,1206,0]],[[10904,98106,0],[2,43,0],[4,29,0],[19,10,0],[19,2,0],[18,-5,0],[33,-16,0],[79,-29,0],[11,-8,0],[3,-14,0],[57,-1099,0],[-30,-19,0],[-60,-13,0],[-79,7,0],[-39,38,0],[-37,1074,0]],[[15765,90160,0],[191,3,0],[28,-1198,0],[-179,-21,0],[-40,1216,0]],[[11382,95792,0],[99,-7,0],[20,-7,0],[29,-38,0],[36,-1169,0],[-138,14,0],[-20,18,0],[-29,33,0],[-37,1099,0],[0,38,0],[40,19,0]],[[11248,97977,0],[31,57,0],[29,0,0],[40,0,0],[59,-19,0],[40,-32,0],[38,-960,0],[-30,-18,0],[-79,0,0],[-89,13,0],[-39,959,0]],[[11285,96808,0],[20,45,0],[20,0,0],[50,6,0],[49,-6,0],[39,-7,0],[20,-26,0],[-2,-133,0],[40,-813,0],[-19,-6,0],[-139,-6,0],[-39,26,0],[-39,920,0]],[[10993,95533,0],[169,-1,0],[29,-25,0],[20,-915,0],[-41,-12,0],[-39,-13,0],[-79,7,0],[-29,6,0],[-30,953,0]],[[10877,99250,0],[30,5,0],[49,-19,0],[10,-25,0],[59,-51,0],[39,-57,0],[20,-826,0],[-10,-26,0],[-39,-6,0],[-129,39,0],[-10,26,0],[-19,940,0]],[[11715,99868,0],[524,4,0],[119,-45,0],[79,-51,0],[28,-64,0],[-11,-108,0],[-30,-57,0],[-40,-32,0],[-20,-6,0],[-649,359,0]],[[25463,99984,0],[8,8,0],[16,7,0],[22,0,0],[18,0,0],[49,-1,0],[30,-4,0],[37,-5,0],[22,-13,0],[53,-24,0],[14,-17,0],[29,-19,0],[38,3,0],[22,4,0],[16,10,0],[26,14,0],[49,4,0],[438,-216,0],[18,-33,0],[-74,12,0],[-60,10,0],[-71,20,0],[-116,17,0],[-119,15,0],[-145,13,0],[-101,5,0],[-153,0,0],[-42,3,0],[-14,3,0],[-4,9,0],[-6,175,0]],[[14352,99532,0],[-6,51,0],[19,15,0],[20,5,0],[843,8,0],[19,-9,0],[11,-14,0],[5,-91,0],[-7,-10,0],[-17,-6,0],[-14,-5,0],[-843,-4,0],[-16,3,0],[-8,8,0],[-5,6,0],[-1,43,0]],[[17514,99524,0],[-10,77,0],[9,13,0],[14,8,0],[15,3,0],[836,6,0],[26,-3,0],[16,-9,0],[9,-14,0],[4,-14,0],[3,-66,0],[-9,-12,0],[-18,-9,0],[-13,-5,0],[-52,1,0],[-796,-4,0],[-13,0,0],[-9,5,0],[-12,23,0]],[[13289,99536,0],[0,38,0],[7,12,0],[29,8,0],[38,2,0],[831,2,0],[12,-7,0],[10,-11,0],[0,-17,0],[3,-68,0],[-13,-15,0],[-18,-10,0],[-24,-2,0],[-622,-4,0],[-50,9,0],[-13,0,0],[-99,0,0],[-36,-1,0],[-33,7,0],[-12,5,0],[-2,9,0],[-5,13,0],[-3,30,0]],[[15413,99537,0],[-2,43,0],[14,18,0],[29,9,0],[25,2,0],[812,5,0],[25,-8,0],[11,-55,0],[1,-48,0],[-22,-11,0],[-40,-8,0],[-823,-6,0],[-21,11,0],[-6,5,0],[-3,43,0]],[[16459,99520,0],[-5,78,0],[15,13,0],[14,4,0],[15,2,0],[19,0,0],[823,4,0],[20,-2,0],[14,-14,0],[1,-42,0],[3,-39,0],[-1,-12,0],[-12,-15,0],[-13,-4,0],[-837,-6,0],[-19,0,0],[-22,5,0],[-14,9,0],[-1,19,0]],[[24837,99566,0],[-5,82,0],[14,15,0],[16,10,0],[17,1,0],[839,6,0],[25,-15,0],[2,-18,0],[1,-71,0],[-8,-13,0],[-8,-5,0],[-15,-4,0],[-23,-5,0],[-817,-3,0],[-19,4,0],[-19,16,0]],[[18562,99524,0],[-5,81,0],[14,17,0],[15,9,0],[18,1,0],[839,6,0],[25,-15,0],[2,-18,0],[1,-71,0],[-8,-13,0],[-8,-4,0],[-15,-5,0],[-23,-5,0],[-817,-3,0],[-19,5,0],[-19,15,0]],[[21700,99550,0],[-5,81,0],[14,17,0],[15,9,0],[17,1,0],[840,6,0],[25,-15,0],[2,-18,0],[0,-71,0],[-7,-13,0],[-8,-4,0],[-16,-6,0],[-23,-5,0],[-816,-2,0],[-19,5,0],[-19,15,0]],[[19616,99534,0],[-5,81,0],[14,16,0],[15,10,0],[17,1,0],[840,6,0],[24,-15,0],[2,-19,0],[1,-71,0],[-7,-12,0],[-8,-5,0],[-15,-5,0],[-24,-5,0],[-816,-2,0],[-19,4,0],[-19,16,0]],[[20646,99543,0],[-4,82,0],[14,15,0],[14,10,0],[18,1,0],[839,6,0],[25,-15,0],[2,-18,0],[1,-72,0],[-8,-12,0],[-8,-5,0],[-15,-4,0],[-22,-5,0],[-817,-3,0],[-20,4,0],[-19,16,0]],[[22742,99555,0],[-5,81,0],[14,16,0],[15,10,0],[18,1,0],[839,5,0],[24,-15,0],[2,-18,0],[2,-71,0],[-8,-12,0],[-8,-5,0],[-15,-5,0],[-23,-5,0],[-817,-2,0],[-19,4,0],[-19,16,0]],[[23784,99557,0],[-4,81,0],[13,16,0],[15,10,0],[18,1,0],[839,5,0],[25,-14,0],[1,-19,0],[1,-71,0],[-7,-12,0],[-8,-5,0],[-16,-5,0],[-22,-4,0],[-816,-3,0],[-20,4,0],[-19,16,0]],[[15596,94489,0],[99,-1,0],[108,-51,0],[49,-38,0],[48,-70,0],[0,-58,0],[-1,-76,0],[-40,-69,0],[-170,-95,0],[-60,-6,0],[-29,0,0],[-4,464,0]],[[14366,99814,0],[859,3,0],[25,-9,0],[7,-22,0],[0,-57,0],[-12,-12,0],[-10,-6,0],[-17,-2,0],[-859,-6,0],[-15,6,0],[-5,7,0],[1,87,0],[6,7,0],[20,4,0]],[[23778,99806,0],[-2,56,0],[17,14,0],[22,3,0],[834,3,0],[28,-6,0],[9,-42,0],[1,-43,0],[-3,-14,0],[-14,-7,0],[-870,-1,0],[-14,7,0],[-9,4,0],[0,7,0],[1,19,0]],[[22735,99804,0],[-1,55,0],[18,15,0],[20,2,0],[834,4,0],[29,-7,0],[9,-41,0],[2,-43,0],[-5,-14,0],[-13,-7,0],[-870,-1,0],[-13,7,0],[-10,3,0],[0,8,0],[0,19,0]],[[18556,99774,0],[-1,55,0],[17,15,0],[20,2,0],[834,3,0],[29,-6,0],[9,-42,0],[2,-43,0],[-5,-13,0],[-12,-7,0],[-871,-1,0],[-13,6,0],[-9,3,0],[0,8,0],[0,20,0]],[[20640,99793,0],[-1,55,0],[17,14,0],[21,3,0],[834,3,0],[28,-6,0],[10,-42,0],[1,-43,0],[-4,-14,0],[-14,-6,0],[-869,-2,0],[-14,7,0],[-10,4,0],[0,7,0],[1,20,0]],[[21693,99800,0],[-1,55,0],[17,15,0],[22,2,0],[834,3,0],[28,-6,0],[9,-42,0],[1,-43,0],[-3,-13,0],[-14,-8,0],[-871,0,0],[-12,6,0],[-10,3,0],[0,8,0],[0,20,0]],[[19609,99783,0],[-2,56,0],[18,14,0],[21,3,0],[834,3,0],[29,-6,0],[9,-42,0],[1,-43,0],[-4,-13,0],[-14,-8,0],[-870,-1,0],[-12,6,0],[-10,4,0],[0,7,0],[0,20,0]],[[17494,99760,0],[-5,58,0],[16,16,0],[42,3,0],[851,5,0],[23,-8,0],[3,-28,0],[1,-52,0],[-3,-8,0],[-8,-5,0],[-12,-6,0],[-879,-7,0],[-19,7,0],[-8,6,0],[-2,19,0]],[[15409,99758,0],[1,40,0],[16,15,0],[31,9,0],[835,6,0],[19,-17,0],[0,-34,0],[1,-48,0],[-11,-8,0],[-20,-6,0],[-829,-4,0],[-24,4,0],[-11,3,0],[-8,11,0],[0,29,0]],[[13328,99805,0],[859,6,0],[19,-7,0],[5,-11,0],[3,-66,0],[-14,-18,0],[-18,-7,0],[-873,-3,0],[-20,9,0],[-4,16,0],[-3,53,0],[9,24,0],[37,4,0]],[[16441,99762,0],[-4,48,0],[12,14,0],[29,3,0],[849,7,0],[25,-13,0],[5,-37,0],[2,-37,0],[-3,-12,0],[-15,-8,0],[-861,-6,0],[-20,3,0],[-12,3,0],[-6,9,0],[-1,26,0]],[[11218,94433,0],[15,-432,0],[-29,1,0],[-70,19,0],[-117,70,0],[-49,63,0],[-19,71,0],[20,63,0],[21,70,0],[119,76,0],[100,37,0],[9,-38,0]],[[11266,98670,0],[60,12,0],[19,-13,0],[30,-12,0],[-6,-515,0],[-39,0,0],[-50,7,0],[-39,19,0],[-15,419,0],[10,58,0],[30,25,0]],[[24827,99829,0],[-3,46,0],[15,14,0],[37,2,0],[482,3,0],[22,-15,0],[-1,-84,0],[-7,-6,0],[-15,-3,0],[-464,-3,0],[-37,3,0],[0,-3,0],[-19,3,0],[-11,10,0],[1,33,0]],[[12631,99495,0],[90,51,0],[70,25,0],[79,25,0],[118,6,0],[139,-8,0],[28,-6,0],[11,-13,0],[7,-30,0],[0,-22,0],[-5,-14,0],[-20,-11,0],[-23,-5,0],[-494,2,0]],[[11325,99217,0],[21,-23,0],[-4,-1,0],[-4,-11,0],[-12,-24,0],[11,-379,0],[-2,-13,0],[-14,-11,0],[-18,-6,0],[-28,2,0],[-22,5,0],[-20,15,0],[-3,354,0],[3,18,0],[20,33,0],[44,26,0],[28,15,0]],[[12743,99787,0],[360,4,0],[24,-5,0],[29,-21,0],[2,-18,0],[9,-32,0],[-9,-13,0],[-28,-5,0],[-279,-6,0],[-59,17,0],[-40,16,0],[-19,12,0],[-14,21,0],[5,18,0],[19,12,0]],[[25900,99676,0],[19,4,0],[23,-2,0],[41,-13,0],[414,-83,0],[7,-8,0],[-8,-9,0],[-34,-5,0],[-384,0,0],[-41,-3,0],[-26,3,0],[-11,14,0],[0,102,0]],[[21724,33287,0],[35,29,0],[427,3,0],[84,-29,0],[52,-63,0],[-10,-182,0],[30,-95,0],[110,-49,0],[164,-15,0],[334,9,0],[511,7,0],[404,7,0],[2363,34,0],[-10,-69,0],[-645,-172,0],[-572,-137,0],[-3280,-43,0],[3,765,0]],[[21662,36223,0],[299,9,0],[27,-296,0],[43,-290,0],[80,-261,0],[90,-168,0],[73,-419,0],[4,-285,0],[32,-478,0],[10,-491,0],[-33,-148,0],[-92,-29,0],[-505,-2,0],[-21,2789,0],[-7,69,0]],[[17792,43060,0],[316,2,0],[36,-610,0],[-4,0,0],[20,-637,0],[-28,-18,0],[-304,-1,0],[-4,652,0],[257,5,0],[-225,6,0],[-35,-11,0],[-29,612,0]],[[19318,40409,0],[2013,16,0],[14,-143,0],[-4,-33,0],[-27,-9,0],[-1987,-21,0],[-9,190,0]],[[19346,40109,0],[1998,23,0],[12,-189,0],[-2008,-13,0],[-2,179,0]],[[21483,40407,0],[16,25,0],[792,-9,0],[31,-604,0],[-296,-9,0],[-10,123,0],[-19,92,0],[-81,109,0],[-80,55,0],[-121,36,0],[-179,18,0],[-47,14,0],[-6,150,0]],[[22129,36240,0],[300,97,0],[27,-998,0],[-154,-10,0],[-97,169,0],[-51,240,0],[-44,192,0],[19,310,0]],[[17910,40387,0],[296,0,0],[22,-63,0],[31,-57,0],[50,-58,0],[74,-41,0],[78,-25,0],[93,-28,0],[93,-8,0],[37,-191,0],[-776,-1,0],[2,472,0]],[[21624,37747,0],[308,4,0],[14,-763,0],[-323,0,0],[1,759,0]],[[27167,32861,0],[222,101,0],[431,10,0],[5,-486,0],[-192,1,0],[-427,343,0],[-39,31,0]],[[17867,41099,0],[308,3,0],[23,-699,0],[-288,-2,0],[-43,698,0]],[[21511,39792,0],[347,4,0],[3,-442,0],[13,-173,0],[-327,-6,0],[-36,617,0]],[[21563,38515,0],[327,-4,0],[20,-617,0],[-16,-17,0],[-264,3,0],[-36,16,0],[-31,619,0]],[[18347,41101,0],[293,2,0],[11,-693,0],[-289,2,0],[-15,689,0]],[[21638,36982,0],[320,-3,0],[12,-610,0],[-58,-12,0],[-253,-7,0],[-21,632,0]],[[17851,41746,0],[226,1,0],[78,-15,0],[17,-622,0],[-313,2,0],[-8,634,0]],[[22110,36970,0],[308,-9,0],[14,-569,0],[-142,-52,0],[-94,-27,0],[-74,3,0],[-12,654,0]],[[18304,42448,0],[296,4,0],[9,-640,0],[-304,5,0],[-1,631,0]],[[21562,39087,0],[316,7,0],[16,-583,0],[-331,7,0],[-1,569,0]],[[18229,44358,0],[1,76,0],[45,24,0],[238,-1,0],[13,-453,0],[10,-202,0],[-276,3,0],[-31,553,0]],[[22026,39802,0],[293,14,0],[12,-635,0],[-230,-6,0],[-51,10,0],[-7,68,0],[-17,549,0]],[[18338,41736,0],[67,17,0],[218,-6,0],[17,-629,0],[-289,-1,0],[-13,619,0]],[[18295,43056,0],[273,-2,0],[21,-599,0],[-285,1,0],[-9,600,0]],[[17804,43785,0],[273,-1,0],[33,-592,0],[-285,-1,0],[-21,594,0]],[[18269,43780,0],[269,4,0],[32,-589,0],[-288,6,0],[-13,579,0]],[[22053,39092,0],[276,-1,0],[-10,-554,0],[-265,-4,0],[-1,559,0]],[[17778,44461,0],[269,0,0],[32,-453,0],[-9,-25,0],[-52,-9,0],[-236,5,0],[-4,482,0]],[[17685,44789,0],[51,46,0],[320,3,0],[1,-322,0],[-362,3,0],[-10,270,0]],[[18682,40398,0],[613,4,0],[5,-178,0],[-612,-17,0],[-6,191,0]],[[18695,40107,0],[616,4,0],[5,-176,0],[-616,-6,0],[-5,178,0]],[[21511,40106,0],[3,29,0],[67,6,0],[171,-46,0],[81,-81,0],[29,-214,0],[-355,-3,0],[4,309,0]],[[18214,44842,0],[264,0,0],[34,-314,0],[-285,0,0],[-13,314,0]],[[22293,35236,0],[162,29,0],[29,-783,0],[-54,-14,0],[-137,768,0]],[[18337,45754,0],[-72,-3,0],[31,-600,0],[-95,-14,0],[-22,630,0],[44,27,0],[95,0,0],[19,-40,0]],[[22490,33821,0],[111,11,0],[20,-118,0],[20,-266,0],[-37,-68,0],[-111,-2,0],[-3,443,0]],[[22099,37745,0],[83,2,0],[-4,-268,0],[17,-203,0],[-116,-2,0],[-35,381,0],[-3,50,0],[-4,0,0],[62,40,0]],[[17890,45787,0],[62,8,0],[71,-28,0],[16,-669,0],[-62,-12,0],[-11,645,0],[-81,13,0],[5,43,0]],[[22362,37185,0],[33,-176,0],[-276,21,0],[-10,161,0],[253,-6,0]],[[18374,40394,0],[281,1,0],[10,-186,0],[-55,6,0],[-85,23,0],[-71,27,0],[-62,57,0],[-18,72,0]],[[17803,43933,0],[256,2,0],[23,-18,0],[0,-121,0],[-281,-1,0],[2,138,0]],[[22430,34387,0],[62,2,0],[7,-486,0],[-66,4,0],[-3,480,0]],[[18211,44994,0],[270,53,0],[1,-133,0],[-263,-2,0],[-8,82,0]],[[17788,44902,0],[249,63,0],[6,-56,0],[-255,-7,0]],[[20,59022,0],[-20,59,0],[287,-1,0],[112,-14,0],[82,-1895,0],[-32,-20,0],[-348,-11,0],[-19,32,0],[-62,1850,0]],[[90,57044,0],[13,22,0],[61,8,0],[290,6,0],[17,-47,0],[12,-585,0],[-374,-12,0],[-19,608,0]],[[31044,4580,0],[348,-2,0],[71,-1531,0],[-348,17,0],[-71,1516,0]],[[31138,2934,0],[315,14,0],[18,-1338,0],[-311,-239,0],[-22,1563,0]],[[30981,6974,0],[344,-1,0],[64,-1230,0],[-379,7,0],[-29,1224,0]],[[30913,8001,0],[388,-3,0],[24,-923,0],[-352,1,0],[-60,925,0]],[[31654,211,0],[22,20,0],[34,6,0],[217,-15,0],[1385,23,0],[85,-6,0],[30,-29,0],[11,-152,0],[-13,-20,0],[-691,1,0],[-657,-9,0],[-197,11,0],[-121,41,0],[-109,67,0],[-9,42,0],[13,20,0]],[[31191,1252,0],[293,201,0],[68,-1120,0],[-331,18,0],[-30,901,0]],[[31064,5600,0],[97,21,0],[162,-11,0],[48,-37,0],[21,-922,0],[-331,12,0],[3,937,0]],[[33540,216,0],[22,26,0],[81,-4,0],[1085,12,0],[-77,-196,0],[-1026,-13,0],[-69,8,0],[-18,8,0],[2,159,0]],[[35013,255,0],[560,6,0],[7,-202,0],[-644,-1,0],[77,197,0]],[[31228,215,0],[426,-174,0],[-25,-41,0],[-380,7,0],[-21,208,0]],[[30933,8159,0],[370,4,0],[-36,-62,0],[-97,-34,0],[-132,1,0],[-114,35,0],[9,56,0]],[[89238,7664,0],[189,-4,0],[34,-427,0],[283,-3,0],[5,-767,0],[-194,0,0],[-38,125,0],[-226,638,0],[-9,-1,0],[-44,439,0]],[[88796,21475,0],[137,-5,0],[15,-1417,0],[4,-215,0],[-143,-4,0],[-13,1641,0]],[[88577,19849,0],[-81,1610,0],[143,-1,0],[12,-689,0],[56,-925,0],[-130,5,0]],[[88833,11698,0],[143,4,0],[18,-1237,0],[-129,9,0],[-32,1224,0]],[[88796,13040,0],[130,-5,0],[32,-1210,0],[-137,1,0],[-25,1214,0]],[[88745,14374,0],[110,4,0],[59,-1224,0],[-144,5,0],[-25,1215,0]],[[89150,10367,0],[123,0,0],[45,-1237,0],[-123,-4,0],[-45,1241,0]],[[89134,11714,0],[122,-5,0],[5,-1241,0],[-116,-4,0],[-11,1250,0]],[[89166,9009,0],[129,3,0],[44,-1228,0],[-109,1,0],[-64,1224,0]],[[89045,14381,0],[109,0,0],[32,-1224,0],[-123,1,0],[-18,1223,0]],[[88981,15719,0],[116,0,0],[52,-1215,0],[-116,0,0],[-52,1215,0]],[[88879,18378,0],[136,3,0],[33,-1192,0],[-96,4,0],[-73,1185,0]],[[88957,17040,0],[109,-5,0],[26,-1198,0],[-116,-8,0],[-19,1211,0]],[[88878,10364,0],[102,-5,0],[45,-1228,0],[-116,5,0],[-31,1228,0]],[[89055,13030,0],[129,4,0],[35,-1088,0],[-116,1,0],[-48,1083,0]],[[88869,19707,0],[116,0,0],[18,-1211,0],[-102,-4,0],[-32,1215,0]],[[88938,9011,0],[99,2,0],[24,-1230,0],[-115,1,0],[-8,1227,0]],[[88702,15716,0],[102,0,0],[59,-1211,0],[-102,-4,0],[-59,1215,0]],[[88634,18383,0],[102,-4,0],[32,-1202,0],[-102,1,0],[-32,1205,0]],[[88664,17045,0],[95,-4,0],[46,-1202,0],[-109,5,0],[-32,1201,0]],[[88582,19708,0],[90,5,0],[72,-1225,0],[-109,1,0],[-53,1219,0]],[[88955,7665,0],[129,-7,0],[-28,-371,0],[23,-54,0],[7,-144,0],[43,-160,0],[72,-153,0],[53,-189,0],[23,-138,0],[-209,5,0],[-18,813,0],[-95,398,0]],[[88487,22349,0],[95,0,0],[44,-886,0],[-136,9,0],[-3,877,0]],[[88794,22366,0],[137,3,0],[3,-741,0],[-135,1,0],[-5,737,0]],[[88715,25191,0],[-59,1798,0],[93,280,0],[19,-605,0],[90,-1483,0],[-143,10,0]],[[88226,38478,0],[7,31,0],[69,9,0],[61,-31,0],[5,-75,0],[4,-1276,0],[17,-224,0],[-156,10,0],[-7,1556,0]],[[88387,27293,0],[119,-374,0],[-22,-1149,0],[33,-587,0],[-123,14,0],[-7,2096,0]],[[88354,33105,0],[34,35,0],[89,3,0],[19,-56,0],[38,-799,0],[-17,-250,0],[5,-127,0],[-62,-35,0],[-67,23,0],[-39,1206,0]],[[88405,31789,0],[28,26,0],[68,-4,0],[40,-40,0],[26,-1171,0],[-28,-53,0],[-55,-13,0],[-61,13,0],[-18,1242,0]],[[88338,34487,0],[21,48,0],[61,4,0],[54,-31,0],[27,-1145,0],[-9,-101,0],[-62,-13,0],[-61,14,0],[-31,1224,0]],[[88287,35807,0],[48,43,0],[75,-13,0],[6,-66,0],[40,-1114,0],[-35,-52,0],[-89,4,0],[-45,1198,0]],[[88434,25065,0],[82,21,0],[47,-18,0],[12,-1232,0],[-116,1,0],[-25,1228,0]],[[88707,25067,0],[54,18,0],[55,-18,0],[45,-1215,0],[-116,-4,0],[-38,1219,0]],[[88464,23722,0],[75,9,0],[27,-13,0],[19,-1211,0],[-116,0,0],[-5,1215,0]],[[88764,23716,0],[96,0,0],[38,-1215,0],[-122,14,0],[-12,1201,0]],[[88289,35983,0],[-36,926,0],[136,-1,0],[16,-926,0],[-14,-48,0],[-55,0,0],[-47,49,0]],[[88441,30389,0],[49,31,0],[81,-23,0],[6,-79,0],[17,-776,0],[-136,10,0],[-17,837,0]],[[88512,27916,0],[-43,912,0],[123,-1,0],[22,-917,0],[-69,-3,0],[-33,9,0]],[[88458,29543,0],[136,-5,0],[12,-702,0],[-144,1,0],[-4,706,0]],[[88502,27718,0],[130,4,0],[10,-272,0],[-65,-294,0],[-78,285,0],[3,277,0]],[[52066,432,0],[548,1,0],[791,20,0],[613,17,0],[4,-211,0],[-463,-7,0],[-1454,-23,0],[-38,12,0],[-1,191,0]],[[47972,377,0],[819,21,0],[11,-208,0],[-1,212,0],[1039,13,0],[13,-213,0],[-1051,-15,0],[0,2,0],[-820,-8,0],[-10,196,0]],[[54149,466,0],[917,15,0],[454,6,0],[538,9,0],[10,-205,0],[-541,1,0],[-1377,-35,0],[-1,209,0]],[[35683,262,0],[1611,16,0],[7,-199,0],[-1614,-18,0],[-4,201,0]],[[37315,276,0],[1214,13,0],[4,-192,0],[-76,-8,0],[-171,0,0],[-964,-10,0],[-7,197,0]],[[50875,213,0],[3,221,0],[1054,9,0],[0,-205,0],[-328,7,0],[-266,-4,0],[-463,-28,0]],[[43721,335,0],[1054,13,0],[1,-195,0],[-1045,-15,0],[-10,197,0]],[[41666,317,0],[1038,9,0],[8,-193,0],[-1041,-11,0],[-5,195,0]],[[39581,102,0],[2,196,0],[1036,6,0],[1,-193,0],[-1039,-9,0]],[[40631,306,0],[1020,9,0],[13,-195,0],[-1026,-9,0],[-7,195,0]],[[45827,164,0],[11,190,0],[1023,12,0],[8,-187,0],[-166,-8,0],[-876,-7,0]],[[44794,348,0],[1029,5,0],[-3,-189,0],[-1025,-10,0],[-1,194,0]],[[50875,213,0],[-900,-6,0],[6,212,0],[893,13,0],[1,-219,0]],[[42708,328,0],[885,6,0],[10,-183,0],[-6,-8,0],[-879,-8,0],[-10,193,0]],[[38542,97,0],[3,190,0],[857,5,0],[14,-145,0],[-7,-32,0],[-867,-18,0]],[[46880,368,0],[798,2,0],[4,-165,0],[-106,-8,0],[-263,-3,0],[-84,5,0],[-339,-23,0],[-10,192,0]],[[99198,19196,0],[-31,248,0],[-26,97,0],[-228,319,0],[-155,229,0],[-121,169,0],[-263,371,0],[309,-2,0],[128,-163,0],[181,-279,0],[216,-252,0],[148,-213,0],[80,-203,0],[44,-300,0],[-282,-21,0]],[[99205,19192,0],[281,25,0],[130,-1080,0],[-21,-5,0],[-213,-7,0],[-40,13,0],[-137,1054,0]],[[99461,17327,0],[-133,746,0],[294,-3,0],[107,-727,0],[0,-31,0],[-247,6,0],[-21,9,0]],[[97924,21240,0],[27,31,0],[83,25,0],[89,22,0],[89,-31,0],[114,-173,0],[195,-287,0],[88,-98,0],[-308,-7,0],[-377,518,0]],[[97510,21550,0],[151,17,0],[178,21,0],[171,35,0],[69,-44,0],[87,-138,0],[33,-53,0],[-158,-21,0],[-137,-30,0],[-89,-61,0],[-36,-106,0],[-269,380,0]],[[30457,23918,0],[249,140,0],[97,-29,0],[42,-1649,0],[-24,-527,0],[-71,0,0],[-243,313,0],[-50,1752,0]],[[30370,27143,0],[311,-1,0],[20,-1036,0],[36,-217,0],[-354,8,0],[-13,1246,0]],[[30365,25800,0],[361,-1,0],[-8,-749,0],[-302,-135,0],[-51,885,0]],[[30317,28301,0],[248,-341,0],[25,-152,0],[42,-172,0],[39,-396,0],[-333,5,0],[-21,1056,0]],[[30423,24746,0],[292,123,0],[20,-572,0],[-275,-141,0],[-37,590,0]],[[30434,29381,0],[78,-779,0],[-190,5,0],[7,196,0],[31,365,0],[41,129,0],[33,84,0]],[[30507,28591,0],[91,-600,0],[-257,384,0],[-30,221,0],[86,0,0],[110,-5,0]],[[30166,30162,0],[54,0,0],[98,-440,0],[-7,-163,0],[-49,-20,0],[-89,18,0],[-7,605,0]],[[12726,51302,0],[2011,19,0],[4,-276,0],[-2011,-11,0],[-4,268,0]],[[10603,51272,0],[1955,19,0],[15,-264,0],[-1961,-15,0],[-9,260,0]],[[8535,51238,0],[38,20,0],[1924,11,0],[22,-256,0],[-1981,-11,0],[-3,236,0]],[[166,55040,0],[379,10,0],[78,-902,0],[-23,-336,0],[-398,-6,0],[-36,1234,0]],[[213,53678,0],[398,2,0],[54,-1249,0],[-404,-6,0],[-48,1253,0]],[[2227,51187,0],[1956,11,0],[3,-256,0],[-1936,-11,0],[-23,256,0]],[[4388,51206,0],[1899,14,0],[-3,-251,0],[-1887,-20,0],[-9,257,0]],[[6436,51228,0],[1969,15,0],[-3,-248,0],[-1955,-7,0],[-11,240,0]],[[273,52357,0],[386,7,0],[14,-957,0],[-361,-3,0],[-39,953,0]],[[18,51305,0],[82,44,0],[99,-24,0],[91,-177,0],[105,-108,0],[155,-85,0],[180,-65,0],[155,-1,0],[236,-69,0],[-6,-68,0],[-1016,-27,0],[-68,32,0],[-13,548,0]],[[1206,51184,0],[915,-9,0],[16,-248,0],[-915,-3,0],[-16,260,0]],[[330,51324,0],[367,6,0],[93,-60,0],[105,-69,0],[155,-29,0],[10,-243,0],[-137,4,0],[-217,49,0],[-334,226,0],[-42,116,0]],[[145,55440,0],[417,6,0],[-16,-313,0],[-398,-2,0],[-3,309,0]],[[304,56412,0],[182,5,0],[21,-505,0],[12,-86,0],[-9,-25,0],[-35,-5,0],[-156,0,0],[-15,616,0]],[[340,55715,0],[178,2,0],[21,-11,0],[-6,-153,0],[-200,-3,0],[-7,168,0],[14,-3,0]],[[87586,930,0],[816,8,0],[623,9,0],[449,7,0],[22,-19,0],[2,-123,0],[-12,-15,0],[-1291,-27,0],[-489,-2,0],[-126,-2,0],[6,164,0]],[[78952,839,0],[705,-1,0],[574,-8,0],[125,-1,0],[-10,-185,0],[-668,1,0],[-726,-11,0],[0,205,0]],[[85471,897,0],[114,5,0],[562,4,0],[326,3,0],[118,7,0],[88,-6,0],[19,-7,0],[1,-115,0],[-15,-29,0],[-19,-10,0],[-372,-2,0],[-611,-9,0],[-175,-7,0],[-34,5,0],[0,15,0],[-2,146,0]],[[82676,846,0],[27,15,0],[1170,10,0],[33,-2,0],[-2,-134,0],[-3,-22,0],[-1177,-14,0],[-46,3,0],[-2,144,0]],[[81317,831,0],[281,4,0],[850,15,0],[58,-5,0],[9,-144,0],[-80,-10,0],[-1109,-16,0],[-9,156,0]],[[84092,880,0],[491,0,0],[657,6,0],[49,-2,0],[11,-44,0],[2,-79,0],[-26,-12,0],[-844,-10,0],[-280,2,0],[-61,5,0],[1,134,0]],[[80364,834,0],[714,-4,0],[22,-19,0],[2,-149,0],[-60,-10,0],[-688,-6,0],[10,188,0]],[[89640,939,0],[334,2,0],[357,9,0],[140,-1,0],[76,-27,0],[41,-52,0],[-42,-36,0],[-72,-8,0],[-163,-1,0],[-221,-4,0],[-463,0,0],[13,118,0]],[[86853,910,0],[27,12,0],[626,1,0],[-2,-161,0],[-645,-11,0],[-15,12,0],[9,147,0]],[[15838,87615,0],[94,63,0],[91,38,0],[52,-1436,0],[-20,-19,0],[-119,1,0],[-39,6,0],[-20,13,0],[-39,1334,0]],[[15811,88873,0],[199,0,0],[9,-1058,0],[-173,-43,0],[-35,1101,0]],[[15592,75972,0],[4,24,0],[30,17,0],[38,-2,0],[327,-117,0],[10,-412,0],[-379,1,0],[-21,401,0],[-9,88,0]],[[14879,78034,0],[348,-2,0],[32,-978,0],[52,-252,0],[95,-259,0],[-3,-203,0],[54,-104,0],[-510,155,0],[-68,1643,0]],[[15412,78025,0],[285,1,0],[38,-1902,0],[-181,41,0],[14,308,0],[-30,223,0],[-74,196,0],[-51,238,0],[-1,895,0]],[[15445,72623,0],[0,47,0],[68,23,0],[99,-12,0],[27,-50,0],[3,-484,0],[10,-293,0],[22,-145,0],[-38,-137,0],[-128,-95,0],[-149,-42,0],[-176,-11,0],[-67,24,0],[-23,49,0],[96,40,0],[199,57,0],[74,116,0],[2,212,0],[-11,272,0],[0,386,0],[-8,43,0]],[[15468,88796,0],[199,52,0],[56,-1150,0],[-235,-101,0],[-20,1199,0]],[[2521,71179,0],[50,17,0],[695,5,0],[-157,-347,0],[-9,-23,0],[-560,5,0],[-11,212,0],[-8,131,0]],[[3392,71111,0],[73,101,0],[2099,22,0],[31,-14,0],[13,-82,0],[-10,-17,0],[-2116,-14,0],[-90,4,0]],[[15495,87483,0],[139,44,0],[40,-26,0],[55,-1182,0],[-10,-50,0],[-169,-12,0],[-20,13,0],[-35,1213,0]],[[15678,73862,0],[250,-96,0],[28,-350,0],[9,-72,0],[1,-552,0],[-68,-14,0],[-82,12,0],[-32,27,0],[-106,1045,0]],[[9876,71484,0],[1968,17,0],[12,-111,0],[-1972,-13,0],[-8,107,0]],[[9883,71275,0],[1972,11,0],[4,-107,0],[-1968,-14,0],[-8,110,0]],[[3529,71322,0],[38,101,0],[2039,14,0],[-5,-99,0],[-2072,-16,0]],[[12036,71285,0],[1936,26,0],[45,-32,0],[-5,-73,0],[-1969,-23,0],[-7,102,0]],[[7846,71143,0],[1,110,0],[1955,11,0],[12,-96,0],[-1968,-25,0]],[[5703,71219,0],[19,18,0],[1923,5,0],[-2,-101,0],[-1931,-12,0],[-9,90,0]],[[5688,71443,0],[1958,8,0],[4,-99,0],[-1949,-14,0],[-13,105,0]],[[12028,71398,0],[1,90,0],[5,12,0],[1935,14,0],[46,-18,0],[3,-78,0],[-1990,-20,0]],[[7840,71462,0],[1946,11,0],[8,-96,0],[-1950,-17,0],[-4,102,0]],[[15120,71070,0],[7,186,0],[1,58,0],[54,17,0],[288,-10,0],[207,-39,0],[176,-61,0],[103,-76,0],[58,-67,0],[-894,-8,0]],[[15424,73354,0],[-21,563,0],[107,21,0],[9,-244,0],[40,-199,0],[42,-138,0],[-17,0,0],[34,-593,0],[-167,7,0],[4,121,0],[-22,462,0],[-9,0,0]],[[3266,70801,0],[24,150,0],[101,113,0],[14,-37,0],[38,-552,0],[2,-235,0],[-33,-72,0],[-140,-40,0],[5,70,0],[-6,293,0],[-5,310,0]],[[15787,72581,0],[5,61,0],[50,26,0],[82,-24,0],[7,-98,0],[7,-256,0],[6,-147,0],[19,-337,0],[96,-265,0],[-150,280,0],[-44,43,0],[-66,207,0],[-12,510,0]],[[2941,70785,0],[163,14,0],[15,-629,0],[-77,0,0],[-93,53,0],[-8,562,0]],[[14107,71287,0],[14,26,0],[885,5,0],[26,-24,0],[0,-81,0],[-921,-5,0],[-4,79,0]],[[15713,74402,0],[10,27,0],[347,-190,0],[52,-65,0],[-25,-109,0],[-1,-83,0],[8,-112,0],[-1,-28,0],[71,-5,0],[-26,-32,0],[-92,-1,0],[-47,38,0],[-10,171,0],[-93,141,0],[-77,46,0],[-84,91,0],[-32,111,0]],[[14104,71420,0],[1,96,0],[916,8,0],[-1,-81,0],[-9,-18,0],[-907,-5,0]],[[15728,74865,0],[-2,86,0],[66,85,0],[110,56,0],[113,13,0],[11,-313,0],[5,-59,0],[-300,91,0],[-3,41,0]],[[15662,74282,0],[79,-82,0],[120,-76,0],[38,-105,0],[31,-97,0],[-4,-78,0],[-26,-4,0],[-139,54,0],[-94,43,0],[-5,345,0]],[[15323,76127,0],[103,-41,0],[19,-610,0],[-115,-1,0],[-7,652,0]],[[15623,75313,0],[4,33,0],[38,8,0],[281,-2,0],[-231,-279,0],[-45,-55,0],[-21,-55,0],[-15,-38,0],[-11,388,0]],[[2828,69968,0],[1,99,0],[6,95,0],[95,26,0],[98,-41,0],[82,-6,0],[3,-178,0],[-285,5,0]],[[15549,71454,0],[150,118,0],[15,180,0],[6,99,0],[164,-288,0],[-37,-72,0],[-109,-12,0],[-189,-25,0]],[[15520,71353,0],[394,70,0],[114,-281,0],[-84,81,0],[-198,85,0],[-226,45,0]],[[15399,74329,0],[25,63,0],[34,87,0],[21,86,0],[26,-626,0],[-102,-18,0],[19,77,0],[34,61,0],[-15,61,0],[-41,30,0],[7,53,0],[48,43,0],[1,59,0],[-57,24,0]],[[3257,69966,0],[10,108,0],[104,33,0],[8,-135,0],[-122,-6,0]],[[15370,75342,0],[82,0,0],[15,-320,0],[-29,99,0],[-63,194,0],[-5,27,0]],[[15424,73354,0],[0,-1,0],[-3,1,0],[3,0,0]],[[30694,16368,0],[345,9,0],[59,-1649,0],[15,-936,0],[-360,-10,0],[-59,2586,0]],[[30577,21333,0],[287,-342,0],[63,-1343,0],[20,-584,0],[-344,2,0],[-26,2267,0]],[[30778,13686,0],[343,-2,0],[55,-1366,0],[-379,2,0],[-19,1366,0]],[[30788,12297,0],[422,10,0],[-5,-1196,0],[-343,-4,0],[-35,5,0],[-39,1185,0]],[[30967,17822,0],[73,-1337,0],[-335,-16,0],[-81,1355,0],[343,-2,0]],[[30861,10993,0],[334,-1,0],[47,-1230,0],[-352,7,0],[-29,1224,0]],[[30947,19052,0],[20,-1224,0],[-326,2,0],[-39,1219,0],[345,3,0]],[[30899,9746,0],[361,-1,0],[10,-692,0],[-362,2,0],[-9,691,0]],[[30925,8986,0],[344,11,0],[-29,-136,0],[-81,-187,0],[76,-249,0],[79,-69,0],[-461,-5,0],[48,86,0],[90,136,0],[11,181,0],[-96,159,0],[19,73,0]]],"bbox":[-87.720281,41.793458,-87.603821,41.928883],"transform":{"scale":[0.0000011646116461164968,0.0000013542635426354054],"translate":[-87.720281,41.793458]}}
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
<!DOCTYPE html>
<style>
body {
font: 16px sans-serif;
}
</style>
<body>
<div>
<span style="background-color: lightgreen;">
<input type="checkbox" id="parks-box" value="parks" checked> Parks
</span>
<span style="background-color: lightgreen;">
<input type="checkbox" id="boulevards-box" value="boulevards" checked> Boulevards
</span>
<span style="background-color: #ddd;">
<input type="checkbox" id="corridors-box" value="corridors" checked> Industrial Corridors
</span>
<span style="background-color: darkgreen;">
<input type="checkbox" id="forests-box" value="forests" checked> Forest Preserves
</span>
<span style="background-color: steelblue;">
<input type="checkbox" id="waterways-box" value="waterways" checked> Waterways
</span>
</div>
<script src="https://d3js.org/d3.v4.min.js"></script>
<script src="https://d3js.org/topojson.v1.min.js"></script>
<script type="text/javascript">
var margin = {top: 15, right: 20, bottom: 15, left: 20},
outerWidth = 960,
outerHeight = 960,
width = outerWidth - margin.left - margin.right,
height = outerHeight - margin.top - margin.bottom;
var svg = d3.select("body").append("svg")
.attr("width", outerWidth)
.attr("height", outerHeight)
.append("g")
.attr("transform", "translate(" + margin.left + "," + margin.top + ")");
var projection = d3.geoTransverseMercator()
.rotate([88 + 20 / 60, -36 - 40 / 60]);
var path = d3.geoPath()
.projection(projection);
d3.queue()
.defer(d3.json, "chicago.topojson")
.defer(d3.json, "parks.topojson")
.defer(d3.json, "boulevards.topojson")
.defer(d3.json, "industrial_corridors.topojson")
.defer(d3.json, "forestry.topojson")
.defer(d3.json, "waterways.topojson")
.await(ready);
function ready(error, chicago, parks, boulevards, corridors, forests, waterways) {
if (error) return console.error(error);
// start with unit projection
projection
.scale(1)
.translate([0, 0]);
// then translate and scale according to bbox for chicago's boundary
var b = path.bounds(topojson.feature(chicago, chicago.objects.communities)),
s = 0.95 / Math.max((b[1][0] - b[0][0]) / width, (b[1][1] - b[0][1]) / height),
t = [(width - s * (b[1][0] + b[0][0])) / 2, (height - s * (b[1][1] + b[0][1])) / 2];
projection
.scale(s)
.translate(t);
svg.append("clipPath")
.attr("id", "clip")
.append("path")
.datum(topojson.feature(chicago, chicago.objects.communities))
.attr("d", path)
.attr("stroke", "#aaa")
.attr("stroke-width", 3);
svg.append("path")
.datum(topojson.feature(chicago, chicago.objects.communities))
.attr("d", path)
.attr("fill", "none")
.attr("stroke", "#aaa")
.attr("stroke-width", 1);
svg.append("g")
.attr("class", "parks")
.selectAll(".parks")
.data(topojson.feature(parks, parks.objects.parks).features)
.enter().append("path")
.attr("d", path)
.attr("fill", "lightgreen")
.attr("stroke", "lightgreen")
.attr("stroke-width", 1);
svg.append("g")
.attr("class", "boulevards")
.selectAll(".boulevards")
.data(topojson.feature(boulevards, boulevards.objects.boulevards).features)
.enter().append("path")
.attr("d", path)
.attr("fill", "lightgreen")
.attr("stroke", "lightgreen")
.attr("stroke-width", 1);
svg.append("g")
.attr("class", "corridors")
.selectAll(".corridors")
.data(topojson.feature(corridors, corridors.objects.corridors).features)
.enter().append("path")
.attr("d", path)
.attr("fill", "#ddd")
.attr("stroke", "#aaa")
.attr("stroke-width", 1);
svg.append("g")
.attr("class", "forests")
.selectAll(".forests")
.data(topojson.feature(forests, forests.objects.forests).features)
.enter().append("path")
.attr("d", path)
.attr("fill", "green")
.attr("stroke", "darkgreen")
.attr("stroke-width", 1);
svg.append("g")
.attr("class", "waterways")
.selectAll(".waterways")
.data(topojson.feature(waterways, waterways.objects.waterways).features)
.enter().append("path")
.attr("d", path)
.attr("clip-path", "url(#clip)")
.attr("fill", "lightblue")
.attr("stroke", "steelblue")
.attr("stroke-width", 1);
d3.select("#parks-box").on("change", update);
d3.select("#boulevards-box").on("change", update);
d3.select("#corridors-box").on("change", update);
d3.select("#forests-box").on("change", update);
d3.select("#waterways-box").on("change", update);
}
function update() {
checkbox = d3.select(this);
if(!checkbox.property("checked")) {
d3.select("g." + checkbox.property("value"))
.attr("opacity", 0);
} else {
d3.select("g." + checkbox.property("value"))
.attr("opacity", 1);
}
}
</script>
</body>
</html>
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment