spritejs/spritejs

View on GitHub
examples/assets/mapdata/2101.json

Summary

Maintainability
Test Coverage
{"type": "FeatureCollection", "features": [{"type":"Feature","properties":{"name":"皇姑区","id":"210105"},"geometry":{"type":"MultiPolygon","coordinates":[[[[123.4311340625,41.8491274238282],[123.437345,41.823843],[123.437345,41.813843],[123.427345,41.813843],[123.410704375,41.8104836250001],[123.397345,41.8038430000001],[123.393985625,41.8104836250001],[123.360704375,41.8172023750001],[123.347345,41.823843],[123.354796171875,41.8388283515626],[123.3458215625,41.8572023750001],[123.373985625,41.8504836250001],[123.3841028125,41.830483625],[123.403985625,41.837202375],[123.410704375,41.880483625],[123.447345,41.883843],[123.4311340625,41.8491274238282]]]]}},{"type":"Feature","properties":{"name":"大东区","id":"210104"},"geometry":{"type":"MultiPolygon","coordinates":[[[[123.494439726563,41.7767494941407],[123.477345,41.773843],[123.45170046875,41.8081996894532],[123.447345,41.823843],[123.46062625,41.83056175],[123.467345,41.843843],[123.528033476563,41.8407534003907],[123.504581328125,41.8146181464844],[123.51716921875,41.7971450019532],[123.494439726563,41.7767494941407]]],[[[123.501685820313,41.8903041816407],[123.504801054688,41.8597695136719],[123.467345,41.8738430000001],[123.479107695313,41.88800315625],[123.501685820313,41.8903041816407]]]]}},{"type":"Feature","properties":{"name":"东陵区","id":"210112"},"geometry":{"type":"MultiPolygon","coordinates":[[[[123.467345,41.8738430000001],[123.504801054688,41.8597695136719],[123.501685820313,41.8903041816407],[123.479107695313,41.88800315625],[123.447345,41.883843],[123.447345,41.903843],[123.472760039063,41.8976003242188],[123.497261992188,41.9135561347656],[123.55326296875,41.9279274726563],[123.595987578125,41.9458730292969],[123.640230742188,41.9359548164063],[123.681300078125,41.9626967597657],[123.717345,41.9538430000001],[123.722896757813,41.9492336250001],[123.721803007813,41.9385207343751],[123.7358215625,41.9140456367188],[123.722808867188,41.8983803535157],[123.711324492188,41.888843],[123.74076296875,41.8643910957031],[123.712808867188,41.8483803535156],[123.67166140625,41.8305361152344],[123.673834257813,41.809233625],[123.652808867188,41.7917678046875],[123.703414335938,41.7728810859375],[123.777345,41.7938430000001],[123.770631132813,41.7642873359375],[123.807335234375,41.7018447089844],[123.791793242188,41.6893959785157],[123.781632109375,41.6652834296875],[123.747940703125,41.6383058906251],[123.757345,41.6138430000001],[123.678761015625,41.6083901191407],[123.642345,41.6098342109376],[123.612345,41.6086452460937],[123.602345,41.6090407539063],[123.592174101563,41.608637921875],[123.549327421875,41.6381215644531],[123.509595976563,41.6170961738282],[123.452535429688,41.6290334296875],[123.382154570313,41.6386525703125],[123.362535429688,41.6501210761719],[123.401475859375,41.6862026191407],[123.359971953125,41.6993434882813],[123.322408476563,41.6978542304688],[123.317345,41.713843],[123.327345,41.713843],[123.327345,41.7238430000001],[123.35142703125,41.7397585273437],[123.367345,41.743843],[123.394635039063,41.7618776679688],[123.427345,41.753843],[123.45142703125,41.7697585273438],[123.477345,41.773843],[123.494439726563,41.7767494941407],[123.51716921875,41.7971450019532],[123.504581328125,41.8146181464844],[123.528033476563,41.8407534003907],[123.467345,41.843843],[123.467345,41.8738430000001]]]]}},{"type":"Feature","properties":{"name":"法库县","id":"210124"},"geometry":{"type":"MultiPolygon","coordinates":[[[[123.627257109375,42.6394887519531],[123.65326296875,42.6297585273438],[123.66142703125,42.6079274726563],[123.68326296875,42.5997585273438],[123.693443632813,42.5725429511719],[123.727345,42.5638430000001],[123.730343046875,42.5568398261719],[123.760260039063,42.54937034375],[123.747345,42.543843],[123.707261992188,42.5335561347656],[123.68326296875,42.5179274726563],[123.647345,42.513843],[123.660894804688,42.5507350898438],[123.620113554688,42.5474587226563],[123.602345,42.5076381660157],[123.57662234375,42.5097048164062],[123.50271609375,42.4684706855469],[123.47197390625,42.4592153144532],[123.451236601563,42.4476454902344],[123.452955351563,42.4262404609375],[123.472926054688,42.4090358710937],[123.461749296875,42.3786098457032],[123.517345,42.343843],[123.523726835938,42.3286452460938],[123.51142703125,42.3097585273437],[123.50326296875,42.2779274726563],[123.473204375,42.2666811347656],[123.46326296875,42.2279274726563],[123.447550078125,42.2037990546876],[123.467345,42.1738430000001],[123.452623320313,42.1676601386719],[123.442345,42.1699636054688],[123.4141028125,42.1636330390626],[123.40326296875,42.1479274726562],[123.370548125,42.1356874824219],[123.337345,42.1438430000001],[123.331832304688,42.1509841132813],[123.30978640625,42.1477260566406],[123.292857695313,42.1696572089844],[123.250806914063,42.1634438300782],[123.25677859375,42.203843],[123.22170046875,42.2181996894532],[123.210806914063,42.2323110175781],[123.176485625,42.2272377753906],[123.11654421875,42.2716799140625],[123.082345,42.266626203125],[123.05978640625,42.2699599433594],[123.041275664063,42.2459804511719],[122.982486601563,42.2596034980469],[122.953883085938,42.2553762031251],[122.892271757813,42.2696535468751],[122.845826445313,42.2561110664063],[122.807345,42.2617983222656],[122.755611601563,42.2541542792969],[122.747345,42.283843],[122.752061796875,42.2891237617187],[122.793189726563,42.3079994941406],[122.849268828125,42.3384743476563],[122.902003203125,42.3507436347657],[122.882061796875,42.3685622382813],[122.856236601563,42.3974672675782],[122.821715117188,42.4133107734375],[122.822642851563,42.428843],[122.81822390625,42.5029628730469],[122.897877226563,42.4982155585938],[122.912061796875,42.5291237617188],[122.95197390625,42.5474416328126],[122.967345,42.573843],[122.990616484375,42.5650991035157],[123.032701445313,42.5693886542969],[123.094976835938,42.5201039863281],[123.121954375,42.5173537421875],[123.139420195313,42.5383803535156],[123.192808867188,42.5293056464844],[123.212432890625,42.5180666328126],[123.261881132813,42.5593056464844],[123.287398710938,42.5703713203126],[123.332808867188,42.5983803535157],[123.342769804688,42.6213478828126],[123.45755984375,42.6096474433594],[123.506627226563,42.6377504707032],[123.522345,42.6393520332031],[123.542345,42.6373146796875],[123.567345,42.6398622871094],[123.582667265625,42.6383010078126],[123.601881132813,42.6493056464844],[123.617345,42.653843],[123.627257109375,42.6394887519531]]]]}},{"type":"Feature","properties":{"name":"和平区","id":"210102"},"geometry":{"type":"MultiPolygon","coordinates":[[[[123.418048125,41.7917031074219],[123.427345,41.753843],[123.394635039063,41.7618776679688],[123.367345,41.743843],[123.367345,41.7638430000001],[123.373985625,41.767202375],[123.390704375,41.800483625],[123.397345,41.8038430000001],[123.410704375,41.8104836250001],[123.427345,41.813843],[123.418048125,41.7917031074219]]]]}},{"type":"Feature","properties":{"name":"康平县","id":"210123"},"geometry":{"type":"MultiPolygon","coordinates":[[[[123.59361453125,42.7781728339844],[123.576925078125,42.7666469550782],[123.558409453125,42.7225661445313],[123.573565703125,42.6992897773438],[123.57107546875,42.6881728339844],[123.58361453125,42.6795131660156],[123.58037234375,42.6650380683594],[123.6126184375,42.6722670722656],[123.617345,42.653843],[123.601881132813,42.6493056464844],[123.582667265625,42.6383010078126],[123.567345,42.6398622871094],[123.542345,42.6373146796875],[123.522345,42.6393520332031],[123.506627226563,42.6377504707032],[123.45755984375,42.6096474433594],[123.342769804688,42.6213478828126],[123.332808867188,42.5983803535157],[123.287398710938,42.5703713203126],[123.261881132813,42.5593056464844],[123.212432890625,42.5180666328126],[123.192808867188,42.5293056464844],[123.139420195313,42.5383803535156],[123.121954375,42.5173537421875],[123.094976835938,42.5201039863281],[123.032701445313,42.5693886542969],[122.990616484375,42.5650991035157],[122.967345,42.573843],[122.92166140625,42.5823696113281],[122.9226575,42.5990956855469],[122.910220976563,42.6102065253907],[122.863101835938,42.6073976875],[122.852628203125,42.6191237617188],[122.842061796875,42.6285622382813],[122.823609648438,42.6492165351563],[122.812345,42.6485451484375],[122.802345,42.6491408515626],[122.79209109375,42.6485305],[122.774429960938,42.668296125],[122.743468046875,42.6825075507813],[122.78709109375,42.7214870429688],[122.837345,42.7138430000001],[122.859556914063,42.7316310859375],[122.888472929688,42.767739484375],[122.919210234375,42.7715627265626],[122.956143828125,42.7498537421875],[122.975513945313,42.7740456367188],[123.027345,42.7675991035156],[123.042345,42.7694643378907],[123.052706328125,42.7681764960938],[123.09068484375,42.7905019355469],[123.152896757813,42.8082900214844],[123.181793242188,42.8193959785157],[123.216685820313,42.8293727851563],[123.167960234375,42.8499050117188],[123.181793242188,42.9293959785157],[123.192896757813,42.9382900214844],[123.201793242188,42.9493959785156],[123.222896757813,42.9582900214844],[123.247281523438,42.9887392402344],[123.343599882813,43.002759015625],[123.432896757813,43.0282900214844],[123.463697539063,43.0401284003907],[123.512896757813,43.0193959785157],[123.531793242188,43.0082900214844],[123.557345,43.003843],[123.54580203125,42.9568471503906],[123.594132109375,42.9292629218751],[123.58060671875,42.9084950996094],[123.59408328125,42.8991909003906],[123.58060671875,42.8784950996094],[123.59408328125,42.8691909003907],[123.580831328125,42.848843],[123.593565703125,42.8292897773438],[123.587862578125,42.803843],[123.59361453125,42.7781728339844]]]]}},{"type":"Feature","properties":{"name":"辽中县","id":"210122"},"geometry":{"type":"MultiPolygon","coordinates":[[[[122.627345,41.433843],[122.623922148438,41.4216506171875],[122.615152617188,41.4304201484376],[122.627345,41.433843]]],[[[122.597345,41.513843],[122.593922148438,41.5016506171875],[122.585152617188,41.5104201484376],[122.597345,41.513843]]],[[[122.957345,41.4938430000001],[122.945152617188,41.4904201484375],[122.953922148438,41.4816506171875],[122.98170046875,41.4870607734376],[122.952374296875,41.4677944160157],[122.931954375,41.4801100898438],[122.92298953125,41.4581996894532],[122.911514921875,41.4493422675782],[122.917345,41.4138430000001],[122.8519934375,41.4192751289063],[122.840328398438,41.3805434394531],[122.755670195313,41.3574990058594],[122.74271609375,41.3284706855469],[122.7119153125,41.3191970039063],[122.7127746875,41.3085195136719],[122.70197390625,41.2992153144531],[122.691715117188,41.2762221503907],[122.67197390625,41.2592153144531],[122.661300078125,41.2468288398438],[122.664068632813,41.2123659492188],[122.617345,41.203843],[122.607345,41.203843],[122.5976965625,41.2384938789063],[122.545748320313,41.2494557929688],[122.58298953125,41.2781996894532],[122.59306765625,41.3028212714844],[122.644068632813,41.3421877265625],[122.640362578125,41.3672658515625],[122.660592070313,41.4007997871094],[122.642345,41.3981044746094],[122.630284453125,41.3998867011719],[122.634483671875,41.4283315253907],[122.627345,41.433843],[122.6216028125,41.4688088203125],[122.623082304688,41.478843],[122.621607695313,41.4888430000001],[122.624195585938,41.5063661933594],[122.597345,41.513843],[122.593170195313,41.5296681953125],[122.537447539063,41.5408388496095],[122.512345,41.5358791328125],[122.489678984375,41.5403578925782],[122.4934778125,41.5595864082032],[122.477345,41.5638430000001],[122.470147734375,41.579575421875],[122.483624296875,41.5875649238282],[122.491065703125,41.6101210761719],[122.516666289063,41.641264875],[122.504498320313,41.6766884589844],[122.532345,41.6671254707032],[122.54642703125,41.6719606757813],[122.540445585938,41.6893679023438],[122.563624296875,41.7175649238282],[122.571065703125,41.7501210761719],[122.583624296875,41.7575649238281],[122.587345,41.7638430000001],[122.617769804688,41.7835720039063],[122.661119414063,41.750952375],[122.703077421875,41.7395778632813],[122.722818632813,41.7130385566407],[122.754547148438,41.7366396308594],[122.775733671875,41.7651235175782],[122.833077421875,41.7495778632813],[122.86205203125,41.7379311347657],[122.9148840625,41.7470278144532],[122.972345,41.7114650703125],[123.001612578125,41.7295778632813],[123.017345,41.733843],[123.026451445313,41.7121608710938],[123.016803007813,41.6691152167969],[123.05326296875,41.6597585273437],[123.085323515625,41.6121413398438],[123.097345,41.6038430000001],[123.08142703125,41.5797585273438],[123.07326296875,41.5579274726563],[123.043082304688,41.5466347480469],[123.01435671875,41.5050295234375],[122.980167265625,41.5126943183594],[122.96142703125,41.4997585273438],[122.957345,41.4938430000001]]]]}},{"type":"Feature","properties":{"name":"沈北新区","id":"210113"},"geometry":{"type":"MultiPolygon","coordinates":[[[[123.532896757813,42.1693959785157],[123.543761015625,42.1436220527344],[123.641793242188,42.0982900214844],[123.69375125,42.0892482734376],[123.742896757813,42.0593959785157],[123.754610625,42.044770734375],[123.811793242188,42.0518837714844],[123.798350859375,42.0162294746094],[123.76318484375,42.0206044746094],[123.761676054688,42.0084706855469],[123.777345,41.9838430000001],[123.777345,41.973843],[123.728463164063,41.9677297187501],[123.717345,41.9538430000001],[123.681300078125,41.9626967597657],[123.640230742188,41.9359548164063],[123.595987578125,41.9458730292969],[123.55326296875,41.9279274726563],[123.497261992188,41.9135561347656],[123.472760039063,41.8976003242188],[123.447345,41.903843],[123.369185820313,41.9084438300782],[123.37431765625,41.9497109199219],[123.362345,41.9482216621094],[123.348472929688,41.949946515625],[123.328453398438,41.9749489570313],[123.269635039063,42.0220497871095],[123.274156523438,42.0583901191407],[123.267345,42.0638430000001],[123.326104765625,42.1341591621094],[123.337345,42.1438430000001],[123.370548125,42.1356874824219],[123.40326296875,42.1479274726562],[123.4141028125,42.1636330390626],[123.442345,42.1699636054688],[123.452623320313,42.1676601386719],[123.467345,42.1738430000001],[123.482896757813,42.1782900214844],[123.516173125,42.1978493476563],[123.532896757813,42.1693959785157]]]]}},{"type":"Feature","properties":{"name":"沈河区","id":"210103"},"geometry":{"type":"MultiPolygon","coordinates":[[[[123.45142703125,41.7697585273438],[123.427345,41.753843],[123.418048125,41.7917031074219],[123.427345,41.813843],[123.437345,41.813843],[123.437345,41.823843],[123.447345,41.823843],[123.45170046875,41.8081996894532],[123.477345,41.773843],[123.45142703125,41.7697585273438]]]]}},{"type":"Feature","properties":{"name":"苏家屯区","id":"210111"},"geometry":{"type":"MultiPolygon","coordinates":[[[[123.317345,41.713843],[123.322408476563,41.6978542304688],[123.359971953125,41.6993434882813],[123.401475859375,41.6862026191407],[123.362535429688,41.6501210761719],[123.382154570313,41.6386525703125],[123.452535429688,41.6290334296875],[123.509595976563,41.6170961738282],[123.549327421875,41.6381215644531],[123.592174101563,41.608637921875],[123.602345,41.6090407539063],[123.612345,41.6086452460937],[123.642345,41.6098342109376],[123.678761015625,41.6083901191407],[123.757345,41.6138430000001],[123.79125125,41.5948622871094],[123.717296171875,41.5678786445313],[123.737345,41.523843],[123.728756132813,41.5114003730469],[123.711900664063,41.507622296875],[123.692789335938,41.5200637031251],[123.682345,41.5177223945313],[123.662345,41.5222060371094],[123.642345,41.5177223945313],[123.628258085938,41.5208803535157],[123.587345,41.4938430000001],[123.543707304688,41.4868080878907],[123.522345,41.4894643378906],[123.505318632813,41.4873464179688],[123.469210234375,41.4661232734375],[123.442345,41.4694643378907],[123.431954375,41.4681728339844],[123.402896757813,41.4893959785157],[123.350045195313,41.5116664863281],[123.321983671875,41.5081764960937],[123.293453398438,41.5249489570313],[123.231793242188,41.5382900214844],[123.210699492188,41.5646315742188],[123.182896757813,41.5482900214844],[123.138697539063,41.5296645332031],[123.122896757813,41.5493959785156],[123.103355742188,41.5650453925781],[123.128487578125,41.607798078125],[123.107345,41.6138430000001],[123.1224621875,41.6334267402344],[123.18298953125,41.6581996894532],[123.20170046875,41.6694863105469],[123.22298953125,41.6781996894532],[123.232857695313,41.6909841132813],[123.267086210938,41.6859255195313],[123.283160429688,41.6983315253907],[123.281514921875,41.7094643378907],[123.317345,41.713843]]],[[[123.317345,41.713843],[123.317345,41.7238430000001],[123.327345,41.7238430000001],[123.327345,41.713843],[123.317345,41.713843]]]]}},{"type":"Feature","properties":{"name":"铁西区","id":"210106"},"geometry":{"type":"MultiPolygon","coordinates":[[[[123.373985625,41.767202375],[123.367345,41.7638430000001],[123.30298953125,41.7747756171875],[123.312955351563,41.8373622871094],[123.347345,41.823843],[123.360704375,41.8172023750001],[123.393985625,41.8104836250001],[123.397345,41.8038430000001],[123.390704375,41.800483625],[123.373985625,41.767202375]]]]}},{"type":"Feature","properties":{"name":"新民市","id":"210181"},"geometry":{"type":"MultiPolygon","coordinates":[[[[122.467345,42.033843],[122.479537382813,42.0372658515625],[122.470767851563,42.0460353828126],[122.460523710938,42.0370217109375],[122.454166289063,42.0506642890625],[122.438873320313,42.0577895332032],[122.445816679688,42.0698964667969],[122.426612578125,42.078843],[122.448077421875,42.088843],[122.428873320313,42.0977895332032],[122.440338164063,42.1177895332031],[122.427345,42.123843],[122.432061796875,42.1391237617187],[122.463199492188,42.1487380195313],[122.600264921875,42.2059206367188],[122.620787382813,42.2288857246094],[122.672628203125,42.2385622382813],[122.729610625,42.2783669257813],[122.747345,42.283843],[122.755611601563,42.2541542792969],[122.807345,42.2617983222656],[122.845826445313,42.2561110664063],[122.892271757813,42.2696535468751],[122.953883085938,42.2553762031251],[122.982486601563,42.2596034980469],[123.041275664063,42.2459804511719],[123.05978640625,42.2699599433594],[123.082345,42.266626203125],[123.11654421875,42.2716799140625],[123.176485625,42.2272377753906],[123.210806914063,42.2323110175781],[123.22170046875,42.2181996894532],[123.25677859375,42.203843],[123.250806914063,42.1634438300782],[123.292857695313,42.1696572089844],[123.30978640625,42.1477260566406],[123.331832304688,42.1509841132813],[123.337345,42.1438430000001],[123.326104765625,42.1341591621094],[123.267345,42.0638430000001],[123.252154570313,42.0590334296876],[123.218482695313,42.0358632636719],[123.202535429688,42.0186525703125],[123.182154570313,42.0090334296875],[123.159654570313,41.9971279121094],[123.142535429688,41.9786525703125],[123.132154570313,41.9690334296875],[123.122535429688,41.9586525703126],[123.108468046875,41.9456179023438],[123.122550078125,41.9190065742188],[123.121749296875,41.898843],[123.142808867188,41.8889052558594],[123.132139921875,41.8790200019532],[123.132545195313,41.8688430000001],[123.132110625,41.8579579902345],[123.152535429688,41.8390334296875],[123.163472929688,41.81585471875],[123.151822539063,41.7264809394532],[123.017345,41.733843],[123.001612578125,41.7295778632813],[122.972345,41.7114650703125],[122.9148840625,41.7470278144532],[122.86205203125,41.7379311347657],[122.833077421875,41.7495778632813],[122.775733671875,41.7651235175782],[122.754547148438,41.7366396308594],[122.722818632813,41.7130385566407],[122.703077421875,41.7395778632813],[122.661119414063,41.750952375],[122.617769804688,41.7835720039063],[122.587345,41.7638430000001],[122.583077421875,41.7695778632813],[122.561612578125,41.7781081367188],[122.55291140625,41.7898012519532],[122.54177859375,41.7878847480469],[122.533077421875,41.7995778632813],[122.503839140625,41.8213271308594],[122.461612578125,41.8381081367188],[122.453077421875,41.8795778632813],[122.433756132813,41.8939528632812],[122.453526640625,41.9081081367188],[122.518140898438,41.8969838691406],[122.501612578125,41.9381081367188],[122.483077421875,42.0095778632813],[122.467345,42.033843]]]]}},{"type":"Feature","properties":{"name":"于洪区","id":"210114"},"geometry":{"type":"MultiPolygon","coordinates":[[[[123.447345,41.883843],[123.467345,41.8738430000001],[123.467345,41.843843],[123.46062625,41.83056175],[123.447345,41.823843],[123.437345,41.823843],[123.4311340625,41.8491274238282],[123.447345,41.883843]]],[[[123.447345,41.883843],[123.410704375,41.880483625],[123.403985625,41.837202375],[123.3841028125,41.830483625],[123.373985625,41.8504836250001],[123.3458215625,41.8572023750001],[123.354796171875,41.8388283515626],[123.347345,41.823843],[123.312955351563,41.8373622871094],[123.30298953125,41.7747756171875],[123.367345,41.7638430000001],[123.367345,41.743843],[123.35142703125,41.7397585273437],[123.327345,41.7238430000001],[123.317345,41.7238430000001],[123.317345,41.713843],[123.281514921875,41.7094643378907],[123.283160429688,41.6983315253907],[123.267086210938,41.6859255195313],[123.232857695313,41.6909841132813],[123.22298953125,41.6781996894532],[123.20170046875,41.6694863105469],[123.18298953125,41.6581996894532],[123.1224621875,41.6334267402344],[123.107345,41.6138430000001],[123.107345,41.6038430000001],[123.097345,41.6038430000001],[123.085323515625,41.6121413398438],[123.05326296875,41.6597585273437],[123.016803007813,41.6691152167969],[123.026451445313,41.7121608710938],[123.017345,41.733843],[123.151822539063,41.7264809394532],[123.163472929688,41.81585471875],[123.152535429688,41.8390334296875],[123.132110625,41.8579579902345],[123.132545195313,41.8688430000001],[123.132139921875,41.8790200019532],[123.142808867188,41.8889052558594],[123.121749296875,41.898843],[123.122550078125,41.9190065742188],[123.108468046875,41.9456179023438],[123.122535429688,41.9586525703126],[123.132154570313,41.9690334296875],[123.142535429688,41.9786525703125],[123.159654570313,41.9971279121094],[123.182154570313,42.0090334296875],[123.202535429688,42.0186525703125],[123.218482695313,42.0358632636719],[123.252154570313,42.0590334296876],[123.267345,42.0638430000001],[123.274156523438,42.0583901191407],[123.269635039063,42.0220497871095],[123.328453398438,41.9749489570313],[123.348472929688,41.949946515625],[123.362345,41.9482216621094],[123.37431765625,41.9497109199219],[123.369185820313,41.9084438300782],[123.447345,41.903843],[123.447345,41.883843]]]]}}]}