clone

an offline map explorer where each world, from a game map to a city's open data, ships as one .atlas file

feat/atlas-next-horizon
atlas / analysis / testdata / cells / continuity.json
continuity.json 17.0K
1{2 "family": "continuity",3 "about": "Antimeridian continuity and pole handling: the two properties an unwrapped ring has to keep. A ring never jumps a seam — consecutive points stay less than half a world apart — and its closing point joins the loop in the frame the walk ended in, which for a polar face is a whole world of longitude away from where it began. poleContained names the pole a cell circles, so the adapters can close the loop along the picture's own edge.",4 "cases": [5 {6 "name": "s2-ring-47a1cb",7 "ground": "test/sphere-8192x4096",8 "system": "s2",9 "call": "ring",10 "args": [11 "47a1cb"12 ],13 "expect": [14 [15 4365.879587614001,16 -918.033070463103517 ],18 [19 4366.264055785155,20 -917.13051438461121 ],22 [23 4366.649152033657,24 -916.228014324102125 ],26 [27 4365.439267285944,28 -916.102630053889629 ],30 [31 4364.229108312911,32 -915.977799606003133 ],34 [35 4363.847258433866,36 -916.880943598770637 ],38 [39 4363.4660320228095,40 -917.784142665446341 ],42 [43 4364.672945478729,44 -917.908331009537545 ],46 [47 4365.879587614001,48 -918.033070463103549 ]50 ]51 },52 {53 "name": "s2-ring-5",54 "ground": "test/sphere-8192x4096",55 "system": "s2",56 "call": "ring",57 "args": [58 "5"59 ],60 "expect": [61 [62 5120,63 -1245.539221441316464 ],65 [66 5206.791391784741,67 -1206.857581632384468 ],69 [70 5305.004995792349,71 -1168.274585506927772 ],73 [74 5415.699724331611,75 -1130.999169682623576 ],77 [78 5539.497502103825,79 -1096.583056593838180 ],81 [82 5676.235771003257,83 -1066.856321646860684 ],85 [86 5824.597481974296,87 -1043.757529041782488 ],89 [90 5981.866294638324,91 -1029.053528497070892 ],93 [94 6144,95 -102496 ],97 [98 6306.133705361676,99 -1029.0535284970708100 ],101 [102 6463.402518025706,103 -1043.7575290417824104 ],105 [106 6611.764228996744,107 -1066.8563216468606108 ],109 [110 6748.502497896175,111 -1096.5830565938381112 ],113 [114 6872.300275668389,115 -1130.9991696826235116 ],117 [118 6982.995004207652,119 -1168.2745855069277120 ],121 [122 7081.208608215259,123 -1206.8575816323844124 ],125 [126 7168,127 -1245.5392214413164128 ],129 [130 7254.791391784741,131 -1206.8575816323844132 ],133 [134 7353.004995792348,135 -1168.2745855069277136 ],137 [138 7463.699724331611,139 -1130.9991696826235140 ],141 [142 7587.497502103825,143 -1096.5830565938381144 ],145 [146 7724.235771003257,147 -1066.8563216468606148 ],149 [150 7872.597481974296,151 -1043.7575290417824152 ],153 [154 8029.866294638324,155 -1029.0535284970708156 ],157 [158 8192,159 -1024160 ],161 [162 8354.133705361677,163 -1029.0535284970708164 ],165 [166 8511.402518025705,167 -1043.7575290417824168 ],169 [170 8659.764228996744,171 -1066.8563216468606172 ],173 [174 8796.502497896174,175 -1096.5830565938381176 ],177 [178 8920.300275668389,179 -1130.9991696826235180 ],181 [182 9030.99500420765,183 -1168.2745855069277184 ],185 [186 9129.20860821526,187 -1206.8575816323844188 ],189 [190 9216,191 -1245.5392214413164192 ],193 [194 9302.79139178474,195 -1206.8575816323844196 ],197 [198 9401.00499579235,199 -1168.2745855069277200 ],201 [202 9511.699724331611,203 -1130.9991696826235204 ],205 [206 9635.497502103826,207 -1096.5830565938381208 ],209 [210 9772.235771003256,211 -1066.8563216468606212 ],213 [214 9920.597481974295,215 -1043.7575290417824216 ],217 [218 10077.866294638323,219 -1029.0535284970708220 ],221 [222 10240,223 -1024224 ],225 [226 10402.133705361677,227 -1029.0535284970708228 ],229 [230 10559.402518025705,231 -1043.7575290417824232 ],233 [234 10707.764228996744,235 -1066.8563216468606236 ],237 [238 10844.502497896174,239 -1096.5830565938381240 ],241 [242 10968.300275668389,243 -1130.9991696826235244 ],245 [246 11078.99500420765,247 -1168.2745855069277248 ],249 [250 11177.20860821526,251 -1206.8575816323844252 ],253 [254 11264,255 -1245.5392214413164256 ],257 [258 11350.79139178474,259 -1206.8575816323844260 ],261 [262 11449.00499579235,263 -1168.2745855069277264 ],265 [266 11559.699724331611,267 -1130.9991696826235268 ],269 [270 11683.497502103826,271 -1096.5830565938381272 ],273 [274 11820.235771003256,275 -1066.8563216468606276 ],277 [278 11968.597481974295,279 -1043.7575290417824280 ],281 [282 12125.866294638323,283 -1029.0535284970708284 ],285 [286 12288,287 -1024288 ],289 [290 12450.133705361677,291 -1029.0535284970708292 ],293 [294 12607.402518025705,295 -1043.7575290417824296 ],297 [298 12755.764228996744,299 -1066.8563216468606300 ],301 [302 12892.502497896174,303 -1096.5830565938381304 ],305 [306 13016.300275668389,307 -1130.9991696826235308 ],309 [310 13126.99500420765,311 -1168.2745855069277312 ],313 [314 13225.20860821526,315 -1206.8575816323844316 ],317 [318 13312,319 -1245.5392214413164320 ]321 ]322 },323 {324 "name": "s2-ring-b",325 "ground": "test/sphere-8192x4096",326 "system": "s2",327 "call": "ring",328 "args": [329 "b"330 ],331 "expect": [332 [333 1024,334 -2850.4607785586836335 ],336 [337 937.2086082152596,338 -2889.1424183676154339 ],340 [341 838.9950042076506,342 -2927.725414493072343 ],344 [345 728.3002756683893,346 -2965.0008303173768347 ],348 [349 604.5024978961744,350 -2999.416943406162351 ],352 [353 467.7642289967438,354 -3029.1436783531394355 ],356 [357 319.4025180257042,358 -3052.242470958218359 ],360 [361 162.1337053616764,362 -3066.9464715029294363 ],364 [365 0,366 -3072367 ],368 [369 -162.13370536167622,370 -3066.9464715029294371 ],372 [373 -319.402518025704,374 -3052.242470958218375 ],376 [377 -467.76422899674344,378 -3029.1436783531394379 ],380 [381 -604.5024978961746,382 -2999.416943406162383 ],384 [385 -728.3002756683891,386 -2965.0008303173768387 ],388 [389 -838.9950042076516,390 -2927.725414493072391 ],392 [393 -937.2086082152591,394 -2889.1424183676154395 ],396 [397 -1024,398 -2850.4607785586836399 ],400 [401 -1110.7913917847409,402 -2889.1424183676154403 ],404 [405 -1209.0049957923484,406 -2927.725414493072407 ],408 [409 -1319.699724331611,410 -2965.0008303173768411 ],412 [413 -1443.4975021038254,414 -2999.416943406162415 ],416 [417 -1580.2357710032556,418 -3029.1436783531394419 ],420 [421 -1728.5974819742942,422 -3052.242470958218423 ],424 [425 -1885.8662946383238,426 -3066.9464715029294427 ],428 [429 -2048,430 -3072431 ],432 [433 -2210.133705361676,434 -3066.9464715029294435 ],436 [437 -2367.402518025704,438 -3052.242470958218439 ],440 [441 -2515.7642289967434,442 -3029.1436783531394443 ],444 [445 -2652.5024978961746,446 -2999.416943406162447 ],448 [449 -2776.300275668389,450 -2965.0008303173768451 ],452 [453 -2886.99500420765,454 -2927.725414493072455 ],456 [457 -2985.208608215259,458 -2889.1424183676154459 ],460 [461 -3072,462 -2850.4607785586836463 ],464 [465 -3158.791391784741,466 -2889.1424183676154467 ],468 [469 -3257.0049957923493,470 -2927.725414493072471 ],472 [473 -3367.699724331611,474 -2965.0008303173768475 ],476 [477 -3491.4975021038254,478 -2999.416943406162479 ],480 [481 -3628.2357710032566,482 -3029.1436783531394483 ],484 [485 -3776.597481974295,486 -3052.242470958218487 ],488 [489 -3933.866294638324,490 -3066.9464715029294491 ],492 [493 -4096,494 -3072495 ],496 [497 -4258.133705361676,498 -3066.9464715029294499 ],500 [501 -4415.402518025705,502 -3052.242470958218503 ],504 [505 -4563.764228996744,506 -3029.1436783531394507 ],508 [509 -4700.502497896176,510 -2999.416943406162511 ],512 [513 -4824.300275668389,514 -2965.0008303173768515 ],516 [517 -4934.995004207651,518 -2927.725414493072519 ],520 [521 -5033.20860821526,522 -2889.1424183676154523 ],524 [525 -5120,526 -2850.4607785586836527 ],528 [529 -5206.79139178474,530 -2889.1424183676154531 ],532 [533 -5305.004995792349,534 -2927.725414493072535 ],536 [537 -5415.699724331611,538 -2965.0008303173768539 ],540 [541 -5539.497502103825,542 -2999.416943406162543 ],544 [545 -5676.235771003256,546 -3029.1436783531394547 ],548 [549 -5824.597481974295,550 -3052.242470958218551 ],552 [553 -5981.866294638323,554 -3066.9464715029294555 ],556 [557 -6144,558 -3072559 ],560 [561 -6306.133705361677,562 -3066.9464715029294563 ],564 [565 -6463.402518025705,566 -3052.242470958218567 ],568 [569 -6611.764228996744,570 -3029.1436783531394571 ],572 [573 -6748.502497896175,574 -2999.416943406162575 ],576 [577 -6872.300275668389,578 -2965.0008303173768579 ],580 [581 -6982.995004207651,582 -2927.725414493072583 ],584 [585 -7081.20860821526,586 -2889.1424183676154587 ],588 [589 -7168,590 -2850.4607785586836591 ]592 ]593 },594 {595 "name": "s2-ring-1",596 "ground": "test/sphere-8192x4096",597 "system": "s2",598 "call": "ring",599 "args": [600 "1"601 ],602 "expect": [603 [604 3072,605 -2850.4607785586836606 ],607 [608 3158.7913917847404,609 -2889.1424183676154610 ],611 [612 3257.0049957923493,613 -2927.725414493072614 ],615 [616 3367.6997243316114,617 -2965.0008303173768618 ],619 [620 3491.497502103826,621 -2999.416943406162622 ],623 [624 3628.235771003256,625 -3029.1436783531394626 ],627 [628 3776.597481974295,629 -3052.242470958218630 ],631 [632 3933.866294638324,633 -3066.9464715029294634 ],635 [636 4096,637 -3072638 ],639 [640 4258.133705361676,641 -3066.9464715029294642 ],643 [644 4415.402518025705,645 -3052.242470958218646 ],647 [648 4563.764228996743,649 -3029.1436783531394650 ],651 [652 4700.502497896175,653 -2999.416943406162654 ],655 [656 4824.300275668389,657 -2965.0008303173768658 ],659 [660 4934.995004207651,661 -2927.725414493072662 ],663 [664 5033.208608215259,665 -2889.1424183676154666 ],667 [668 5120,669 -2850.4607785586836670 ],671 [672 5120,673 -2770.3942836596393674 ],675 [676 5120,677 -2683.7527376691737678 ],679 [680 5120,681 -2590.5524286302975682 ],683 [684 5120,685 -2491.0784428826328686 ],687 [688 5120,689 -2385.944177069121690 ],691 [692 5120,693 -2276.1241682392347694 ],695 [696 5120,697 -2162.941781970897698 ],699 [700 5120,701 -2048702 ],703 [704 5120,705 -1933.0582180291033706 ],707 [708 5120,709 -1819.8758317607655710 ],711 [712 5120,713 -1710.0558229308788714 ],715 [716 5120,717 -1604.9215571173675718 ],719 [720 5120,721 -1505.4475713697027722 ],723 [724 5120,725 -1412.2472623308267726 ],727 [728 5120,729 -1325.6057163403607730 ],731 [732 5120,733 -1245.5392214413164734 ],735 [736 5033.208608215259,737 -1206.8575816323844738 ],739 [740 4934.995004207651,741 -1168.2745855069277742 ],743 [744 4824.300275668389,745 -1130.9991696826235746 ],747 [748 4700.502497896175,749 -1096.5830565938381750 ],751 [752 4563.764228996743,753 -1066.8563216468606754 ],755 [756 4415.402518025705,757 -1043.7575290417824758 ],759 [760 4258.133705361676,761 -1029.0535284970708762 ],763 [764 4096,765 -1024766 ],767 [768 3933.866294638324,769 -1029.0535284970708770 ],771 [772 3776.597481974295,773 -1043.7575290417824774 ],775 [776 3628.235771003256,777 -1066.8563216468606778 ],779 [780 3491.497502103825,781 -1096.5830565938381782 ],783 [784 3367.6997243316114,785 -1130.9991696826235786 ],787 [788 3257.0049957923493,789 -1168.2745855069277790 ],791 [792 3158.7913917847404,793 -1206.8575816323844794 ],795 [796 3072,797 -1245.5392214413164798 ],799 [800 3072,801 -1325.6057163403607802 ],803 [804 3072,805 -1412.2472623308263806 ],807 [808 3072,809 -1505.4475713697027810 ],811 [812 3072,813 -1604.9215571173675814 ],815 [816 3072,817 -1710.0558229308788818 ],819 [820 3072,821 -1819.8758317607655822 ],823 [824 3072,825 -1933.0582180291033826 ],827 [828 3072,829 -2048830 ],831 [832 3072,833 -2162.941781970897834 ],835 [836 3072,837 -2276.1241682392347838 ],839 [840 3072,841 -2385.944177069121842 ],843 [844 3072,845 -2491.0784428826328846 ],847 [848 3072,849 -2590.5524286302975850 ],851 [852 3072,853 -2683.7527376691733854 ],855 [856 3072,857 -2770.3942836596393858 ],859 [860 3072,861 -2850.4607785586836862 ]863 ]864 },865 {866 "name": "s2-north-pole-face",867 "ground": "test/sphere-8192x4096",868 "system": "s2",869 "call": "poleContained",870 "args": [871 "5"872 ],873 "expect": "north",874 "handDerived": true875 },876 {877 "name": "s2-south-pole-face",878 "ground": "test/sphere-8192x4096",879 "system": "s2",880 "call": "poleContained",881 "args": [882 "b"883 ],884 "expect": "south",885 "handDerived": true886 },887 {888 "name": "s2-no-pole",889 "ground": "test/sphere-8192x4096",890 "system": "s2",891 "call": "poleContained",892 "args": [893 "47a1cb"894 ],895 "expect": null,896 "handDerived": true897 }898 ]899}