spritejs/spritejs

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

Summary

Maintainability
Test Coverage
{"type": "FeatureCollection", "features": [{"type":"Feature","properties":{"name":"城北区","id":"630105"},"geometry":{"type":"MultiPolygon","coordinates":[[[[101.797345,36.663843],[101.800767851563,36.6760353828126],[101.809537382813,36.6672658515625],[101.797345,36.663843]]],[[[101.797345,36.663843],[101.797345,36.6538430000001],[101.797345,36.633843],[101.787345,36.633843],[101.777345,36.633843],[101.691612578125,36.6581496406251],[101.627345,36.643843],[101.563079863281,36.6487612128906],[101.571702910156,36.7001308417969],[101.620042753906,36.6806996894531],[101.69623171875,36.6938161445313],[101.731246367188,36.6721462226563],[101.718333769531,36.7471401191407],[101.727345,36.753843],[101.767345,36.753843],[101.767345,36.713843],[101.787345,36.713843],[101.776385527344,36.6692214179688],[101.797345,36.663843]]]]}},{"type":"Feature","properties":{"name":"城东区","id":"630102"},"geometry":{"type":"MultiPolygon","coordinates":[[[[101.907345,36.563843],[101.902874785156,36.5416994453125],[101.887345,36.5338430000001],[101.823436308594,36.5275588203125],[101.797345,36.5438430000001],[101.797345,36.553843],[101.777345,36.553843],[101.781429472656,36.6097585273438],[101.787345,36.633843],[101.797345,36.633843],[101.797345,36.6538430000001],[101.837122832031,36.6470851875001],[101.85170046875,36.6281996894532],[101.899752226563,36.5911098457032],[101.907345,36.563843]]]]}},{"type":"Feature","properties":{"name":"城西区","id":"630104"},"geometry":{"type":"MultiPolygon","coordinates":[[[[101.777345,36.633843],[101.761656523438,36.5948891425782],[101.747345,36.5838430000001],[101.675553007813,36.5995021796876],[101.657345,36.5980397773438],[101.641180449219,36.5993386054688],[101.643524199219,36.6285195136719],[101.63197390625,36.6384706855469],[101.627345,36.643843],[101.691612578125,36.6581496406251],[101.777345,36.633843]]]]}},{"type":"Feature","properties":{"name":"城中区","id":"630103"},"geometry":{"type":"MultiPolygon","coordinates":[[[[101.777345,36.553843],[101.797345,36.553843],[101.797345,36.5438430000001],[101.777345,36.5438430000001],[101.777345,36.553843]]],[[[101.777345,36.553843],[101.738167753906,36.5604982734375],[101.747345,36.5838430000001],[101.761656523438,36.5948891425782],[101.777345,36.633843],[101.787345,36.633843],[101.781429472656,36.6097585273438],[101.777345,36.553843]]]]}},{"type":"Feature","properties":{"name":"大通回族土族自治县","id":"630121"},"geometry":{"type":"MultiPolygon","coordinates":[[[[100.958631621094,37.4651308417969],[100.987738066406,37.4274233222656],[101.0027746875,37.4296450019531],[101.03170046875,37.4081996894531],[101.07298953125,37.3994863105469],[101.085264921875,37.3835842109375],[101.127345,37.3773647285156],[101.147642851563,37.3803652167969],[101.222310820313,37.3680995917969],[101.232345,37.3695815253906],[101.250767851563,37.3668593574219],[101.279056425781,37.3839235664063],[101.333924589844,37.3508266425781],[101.367345,37.3458876777344],[101.399193144531,37.3505934882813],[101.442135039063,37.3380727363282],[101.470540800781,37.3422707343751],[101.533170195313,37.3194203925781],[101.529427519531,37.2941005683594],[101.542857695313,37.2767018867188],[101.56263796875,37.2796254707032],[101.613665800781,37.2595644355469],[101.67298953125,37.2494863105469],[101.707515898438,37.2359133125001],[101.740767851563,37.2408266425781],[101.76170046875,37.2281996894532],[101.79298953125,37.2194863105469],[101.827164335938,37.1941493964844],[101.880941191406,37.1721388984376],[101.89170046875,37.1581996894532],[101.90298953125,37.1494863105469],[101.907345,37.1438430000001],[101.90298953125,37.1381996894531],[101.89170046875,37.1294863105469],[101.88298953125,37.0481996894532],[101.834891386719,37.0110744453126],[101.831549101563,36.988452375],[101.849195585938,36.9591970039063],[101.83298953125,36.9381996894531],[101.813846464844,36.9234242988282],[101.800824003906,36.8441408515625],[101.803140898438,36.828452375],[101.791549101563,36.809233625],[101.794908476563,36.7864882636719],[101.781512480469,36.728676984375],[101.787345,36.713843],[101.767345,36.713843],[101.767345,36.753843],[101.727345,36.753843],[101.72271609375,36.7592153144531],[101.699034453125,36.7697817207032],[101.677345,36.7680397773438],[101.662345,36.7692446113282],[101.642669707031,36.7676638007813],[101.628089628906,36.7845864082031],[101.58197390625,36.7984706855469],[101.571302519531,36.8108571601563],[101.574229765625,36.8472841621094],[101.535306425781,36.8969838691406],[101.497391386719,36.9296498847656],[101.473902617188,36.9277626777344],[101.435279570313,36.9419460273438],[101.321500273438,37.0226210761719],[101.267345,37.053843],[101.258631621094,37.0651308417969],[101.24170046875,37.0781996894532],[101.22298953125,37.1094863105469],[101.174534941406,37.1229787421875],[101.128863554688,37.2070815253906],[101.073480253906,37.2297499824219],[101.037857695313,37.2244850898438],[100.995484648438,37.2500453925781],[100.982345,37.2481044746094],[100.972345,37.2495815253906],[100.957345,37.2473647285157],[100.937196074219,37.2503432441407],[100.91298953125,37.3094863105469],[100.896551542969,37.3367372871094],[100.88170046875,37.3481996894532],[100.877345,37.423843],[100.881429472656,37.4297585273438],[100.924547148438,37.4408242011719],[100.947345,37.473843],[100.958631621094,37.4651308417969]]]]}},{"type":"Feature","properties":{"name":"湟源县","id":"630123"},"geometry":{"type":"MultiPolygon","coordinates":[[[[101.377345,36.7338430000001],[101.373922148438,36.7460353828126],[101.365152617188,36.7372658515625],[101.38170046875,36.6981996894532],[101.41170046875,36.6859206367187],[101.401746855469,36.6542494941406],[101.353717070313,36.6731313300782],[101.350867949219,36.6538430000001],[101.353160429688,36.6383315253907],[101.34170046875,36.6294863105469],[101.328631621094,36.6125551582031],[101.303846464844,36.5934242988282],[101.291600371094,36.5188771796875],[101.294561796875,36.4988430000001],[101.285211210938,36.4355727363282],[101.321302519531,36.4409059882813],[101.323084746094,36.4288430000001],[101.321529570313,36.4183315253907],[101.33298953125,36.4094863105469],[101.337345,36.403843],[101.333985625,36.387202375],[101.280704375,36.3604836250001],[101.27062625,36.34056175],[101.250704375,36.3304836250001],[101.247345,36.323843],[101.217345,36.323843],[101.21298953125,36.3294863105469],[101.193065214844,36.3448647285156],[101.18298953125,36.3694863105469],[101.133743925781,36.3896413398438],[101.10298953125,36.4294863105469],[101.082511015625,36.4452931953126],[101.070303984375,36.4891310859375],[101.013878203125,36.5228774238282],[100.991439238281,36.5777077460938],[100.99420046875,36.5964028144531],[100.977838164063,36.6380239082031],[100.95170046875,36.6581996894532],[100.94298953125,36.6994863105469],[100.92170046875,36.7281996894532],[100.917345,36.753843],[100.905904570313,36.8032180000001],[100.964876738281,36.8204128242187],[101.030633574219,36.7807472968751],[101.06170046875,36.7994863105469],[101.08298953125,36.8081996894532],[101.129351835938,36.8425734687501],[101.167345,36.863843],[101.192899199219,36.8593959785156],[101.226878691406,36.8345742011719],[101.265904570313,36.8181288886719],[101.295963164063,36.7805934882813],[101.401790800781,36.76519065625],[101.382899199219,36.7382900214844],[101.377345,36.7338430000001]]]]}},{"type":"Feature","properties":{"name":"湟中县","id":"630122"},"geometry":{"type":"MultiPolygon","coordinates":[[[[101.377345,36.7338430000001],[101.365152617188,36.7372658515625],[101.373922148438,36.7460353828126],[101.377345,36.7338430000001]]],[[[101.377345,36.7338430000001],[101.382899199219,36.7382900214844],[101.401790800781,36.76519065625],[101.295963164063,36.7805934882813],[101.265904570313,36.8181288886719],[101.226878691406,36.8345742011719],[101.192899199219,36.8593959785156],[101.167345,36.863843],[101.18170046875,36.8894863105469],[101.20298953125,36.8981996894532],[101.223922148438,36.9108266425782],[101.290147734375,36.901040265625],[101.280867949219,36.9638430000001],[101.2852746875,36.9936708808594],[101.27170046875,37.0281996894532],[101.267345,37.053843],[101.321500273438,37.0226210761719],[101.435279570313,36.9419460273438],[101.473902617188,36.9277626777344],[101.497391386719,36.9296498847656],[101.535306425781,36.8969838691406],[101.574229765625,36.8472841621094],[101.571302519531,36.8108571601563],[101.58197390625,36.7984706855469],[101.628089628906,36.7845864082031],[101.642669707031,36.7676638007813],[101.662345,36.7692446113282],[101.677345,36.7680397773438],[101.699034453125,36.7697817207032],[101.72271609375,36.7592153144531],[101.727345,36.753843],[101.718333769531,36.7471401191407],[101.731246367188,36.6721462226563],[101.69623171875,36.6938161445313],[101.620042753906,36.6806996894531],[101.571702910156,36.7001308417969],[101.563079863281,36.6487612128906],[101.627345,36.643843],[101.63197390625,36.6384706855469],[101.643524199219,36.6285195136719],[101.641180449219,36.5993386054688],[101.657345,36.5980397773438],[101.675553007813,36.5995021796876],[101.747345,36.5838430000001],[101.738167753906,36.5604982734375],[101.777345,36.553843],[101.777345,36.5438430000001],[101.797345,36.5438430000001],[101.823436308594,36.5275588203125],[101.887345,36.5338430000001],[101.89498171875,36.5008864570313],[101.846241484375,36.4351467109376],[101.855921660156,36.3696401191407],[101.83170046875,36.3294863105469],[101.817345,36.293843],[101.742081328125,36.2991628242188],[101.732625761719,36.2785622382813],[101.711063261719,36.2592958808594],[101.667345,36.2338430000001],[101.65281375,36.2427968574219],[101.6423059375,36.2736330390625],[101.60048953125,36.2878835273438],[101.603902617188,36.298843],[101.600787382813,36.3088430000001],[101.604154082031,36.3196486640625],[101.585240507813,36.3313014960938],[101.551705351563,36.3208571601563],[101.460667753906,36.3509780097657],[101.433531523438,36.3700307441407],[101.401158476563,36.3776552558594],[101.367345,36.393843],[101.367345,36.403843],[101.337345,36.403843],[101.33298953125,36.4094863105469],[101.321529570313,36.4183315253907],[101.323084746094,36.4288430000001],[101.321302519531,36.4409059882813],[101.285211210938,36.4355727363282],[101.294561796875,36.4988430000001],[101.291600371094,36.5188771796875],[101.303846464844,36.5934242988282],[101.328631621094,36.6125551582031],[101.34170046875,36.6294863105469],[101.353160429688,36.6383315253907],[101.350867949219,36.6538430000001],[101.353717070313,36.6731313300782],[101.401746855469,36.6542494941406],[101.41170046875,36.6859206367187],[101.38170046875,36.6981996894532],[101.377345,36.7338430000001]]]]}}]}