Skip to content

Instantly share code, notes, and snippets.

@sarubenfeld
Last active December 9, 2016 21:00
Show Gist options
  • Save sarubenfeld/372462f3ea07b8ec8ba68d981230a01e to your computer and use it in GitHub Desktop.
Save sarubenfeld/372462f3ea07b8ec8ba68d981230a01e to your computer and use it in GitHub Desktop.
world tour
Display the source blob
Display the rendered blob
Raw
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
{"type":"Topology","objects":{"glaciated":{"type":"GeometryCollection","geometries":[{"type":"Polygon","properties":{"scalerank":0,"featurecla":"Glacier"},"arcs":[[0]]},{"type":"Polygon","properties":{"scalerank":0,"featurecla":"Glacier"},"arcs":[[1]]},{"type":"Polygon","properties":{"scalerank":0,"featurecla":"Glacier"},"arcs":[[2],[3]]},{"type":"Polygon","properties":{"scalerank":0,"featurecla":"Glacier"},"arcs":[[4]]},{"type":"Polygon","properties":{"scalerank":0,"featurecla":"Glacier"},"arcs":[[5]]},{"type":"Polygon","properties":{"scalerank":0,"featurecla":"Glacier"},"arcs":[[6]]},{"type":"Polygon","properties":{"scalerank":0,"featurecla":"Glacier"},"arcs":[[7]]},{"type":"Polygon","properties":{"scalerank":0,"featurecla":"Glacier"},"arcs":[[8]]},{"type":"Polygon","properties":{"scalerank":0,"featurecla":"Glacier"},"arcs":[[9]]},{"type":"Polygon","properties":{"scalerank":0,"featurecla":"Glacier"},"arcs":[[10]]},{"type":"Polygon","properties":{"scalerank":0,"featurecla":"Glacier"},"arcs":[[11]]}]}},"arcs":[[[-36.41469682468042,83.04232168245716],[-35.820159471162384,82.681465155763],[-39.19008297378005,82.42680369742871],[-40.66818396662447,82.74014374463044],[-40.631648728994094,82.86868886995651],[-39.873271246894745,82.83166270621936],[-39.1728488836107,82.79753042269056],[-38.57138688816562,82.9087897814149],[-36.95102067722161,83.13691539176739],[-37.39536048028327,83.3089203966509],[-36.11231218112454,83.365066840336],[-35.826929083792606,83.27150665967162],[-36.41469682468042,83.04232168245716]],[[-12.702655808960543,81.53851166454749],[-12.606485968465336,81.32495880810134],[-14.271448940477228,81.32787852652586],[-13.693034633834316,81.16773326285335],[-13.716960821985396,81.05412262645964],[-16.5593454655515,80.83439443635456],[-18.624981655338388,80.84250763622435],[-18.63076941575511,80.95490387645924],[-18.276889207420396,81.14900055614751],[-16.152884487359728,81.59698354768577],[-12.702655808960543,81.53851166454749]],[[-36.958565436336215,81.88590648062964],[-36.687341681452324,81.61238312450874],[-34.97643836113295,81.76286489534263],[-34.49956824394354,81.60582021760769],[-32.37613196463823,81.44526154247686],[-28.37518754730445,81.38141531038025],[-26.058223029066056,80.43266185171751],[-25.752221035249676,80.19045441356553],[-19.29238277838789,79.68960643179267],[-21.372772589594177,78.42883067495177],[-22.215641038490816,77.95379507110866],[-21.88917517748689,77.66802440053468],[-21.870675014726316,77.3947594265752],[-22.479423387124683,76.88703847930756],[-22.58706539558861,76.50902537709243],[-22.141872931394147,76.23842173939607],[-22.881259324626313,75.85774730091794],[-22.623600633218985,75.52086863880734],[-22.62938839363568,75.30181224232203],[-22.673520066812955,75.08017202422218],[-22.448107469155758,74.66727733021011],[-22.45570390470266,74.4395909695321],[-23.110237596111517,74.30288096790395],[-23.953131883224245,74.33825348580777],[-24.50880855965883,73.95078359648323],[-24.517025112393213,73.86913483346211],[-25.63370113778828,73.93582326933486],[-27.187301398211247,74.16084829374975],[-27.96810645192528,74.08865631783794],[-27.940330369568386,73.72888499622195],[-27.542215135191725,73.34105337187148],[-27.503871222431172,73.15641347929261],[-27.5611545476267,73.11207510038616],[-27.55906165211897,72.86834320748156],[-27.476637742613434,72.69261749947307],[-27.48273556162377,72.49908926053996],[-26.441455450942527,72.54725169543605],[-26.36099524586413,72.35759918892487],[-26.66325069833934,72.09327423775193],[-28.86192786306168,71.83344513618837],[-28.903682420353476,71.5288125678278],[-29.423185594183707,71.24730520291777],[-28.598688116966883,70.98375539822925],[-28.63607601572997,70.79397370063731],[-29.17405351410457,70.59150543891778],[-29.248209194443376,70.17773224555671],[-29.002927008569998,69.96345591905853],[-26.941993374121665,69.85847524685752],[-26.962379726660828,69.9595543484204],[-23.24630164233602,70.08326772732715],[-23.259530809002797,69.96916616482667],[-26.506696946711088,69.55870026313235],[-27.376850551857757,69.05211619737514],[-28.793818325300947,69.18985972764918],[-29.277458055120576,69.30729442003243],[-29.38556515147519,69.40599640570986],[-29.806857265734692,69.31145437283192],[-29.92268998871691,68.51416453721671],[-30.11117977550154,68.36042715114846],[-30.40661393891415,68.26523916286675],[-31.019987352002573,68.19805980088739],[-31.62958838553365,68.37014232041929],[-31.69870561372406,68.56201691351899],[-32.48589270682618,68.80267405870228],[-32.67143693697008,68.69952789984774],[-32.84788611503069,68.21211579047076],[-32.984337734497416,67.89296214463613],[-34.27518917493228,66.9248558620802],[-34.677361009243754,66.80581920029582],[-35.5781329005234,66.58952749293826],[-36.34374508314363,66.9185513373406],[-38.30667436375046,66.45899282496893],[-38.67213009291859,66.0374164903318],[-39.98763119155669,65.68203766546063],[-40.881814337719106,65.05747630478106],[-40.98837114110498,64.87136363388183],[-40.890780198721785,64.54487193466181],[-41.0924733139569,64.0607929551677],[-41.08981197769387,63.905711981859724],[-41.62357784683664,63.517001858160285],[-41.89924577489765,63.33468740503457],[-42.98840410009734,62.85063426375655],[-43.19454138850955,62.57111644148986],[-43.007136806803175,61.85304657657815],[-43.535011562664636,60.932715155675965],[-44.186987270675075,60.59640493432045],[-44.84237362321667,60.96925039330634],[-47.669927130714996,61.21910594343751],[-49.90234900572392,62.612276719810325],[-49.249520636580684,63.40052317977441],[-50.24641069192322,63.611518052822134],[-49.13727942564276,64.40183157007795],[-51.04091000019463,65.78223826767459],[-51.01127356627521,66.10707632106127],[-50.29488318541303,66.14529104274106],[-50.04037675637551,67.02014720322637],[-50.56613277851304,68.24084788682507],[-50.77074561217276,70.91866893175765],[-51.66771928567886,71.75667979601886],[-52.658201463417214,71.82119782173518],[-52.30163408060332,72.20582550728366],[-52.94040646016319,72.0390139838454],[-53.32123592793809,72.1127045762936],[-55.06668494324455,73.39448680286128],[-58.04084448915495,75.41183136667144],[-58.518903164286996,75.92045665150417],[-61.44508114281436,76.42934031849836],[-66.81694963241921,76.23260814076326],[-68.07924984401274,76.20281667754699],[-68.32569474961275,76.34637380645376],[-67.055927293553,76.64896515573886],[-67.25136756048087,76.86579946563558],[-70.25756649441212,76.92892222768012],[-65.5782397121668,77.37264191355425],[-68.74758114284361,77.66404531524816],[-69.00405127630813,77.7268063422666],[-72.34224544949856,78.17248973256784],[-68.84801428900286,78.34351288523786],[-65.77652218287076,79.19268585887409],[-62.094007941319575,79.95204519318702],[-59.18684688987568,80.09686839468498],[-59.234983486555564,80.33737051057133],[-62.60834347192056,81.04810232209758],[-62.64637732608739,81.14925893830895],[-57.07741492372136,81.23385325797082],[-52.96567623555387,81.49254547802383],[-50.5374781968072,81.2496662462521],[-50.14714026549052,81.69346344677467],[-50.08822913267784,81.85722606070763],[-48.10840165871156,81.34795482047122],[-47.60900061704294,81.38748729117452],[-43.835510016441845,81.4871969672817],[-43.71241675472265,81.97758047151541],[-43.35179277197375,82.42507253694689],[-43.29166724300214,82.46029002555383],[-42.38262712255582,82.51754751253318],[-41.22528174494701,82.6114435900075],[-41.106787685701704,82.24371409781855],[-36.958565436336215,81.88590648062964]],[[-25.53024492034001,76.57418935821252],[-25.513501756277435,76.41084015573799],[-25.59313513843921,76.37823232696175],[-25.680830044038487,76.10550995554138],[-22.998616502361074,76.60581533477517],[-24.20128211108991,77.4235948757941],[-24.66957394051883,77.34711375600213],[-25.428235642995816,76.91235993113062],[-25.68718624521037,76.71676463490579],[-25.53024492034001,76.57418935821252]],[[-58.614142829001,-64.15246632268895],[-59.045072597882864,-64.36800872177837],[-59.78934241396664,-64.21122242620487],[-60.61192786318867,-64.30920094183026],[-61.29741573754035,-64.5443287087583],[-62.02210018578549,-64.79909351995718],[-62.51176021996707,-65.09302906683334],[-62.648857794837454,-65.48494312933497],[-62.59012752953771,-65.85722014756558],[-62.12007870141079,-66.19032643011901],[-62.805566575762555,-66.42550587347935],[-63.74569007023243,-66.50384734483382],[-64.29410620792993,-66.83700530381952],[-64.88169308130469,-67.15047454210203],[-65.50842485214054,-67.58161101671314],[-65.66508195663337,-67.95388803494376],[-65.31254533553818,-68.36533578885164],[-64.7837145656793,-68.67890837999872],[-63.96110327824107,-68.91398447049448],[-63.19729977075113,-69.22755706164156],[-62.78595536970772,-69.61941944771081],[-62.570516323482906,-69.99174814237381],[-62.2767358059036,-70.38366220487535],[-61.80666113956056,-70.71676848742878],[-61.512906460197456,-71.08904550565939],[-61.3758088853271,-72.01007455839752],[-61.08197669131553,-72.38235157662814],[-61.00366105817716,-72.77426563912968],[-60.69026933454313,-73.16617970163131],[-60.82736690941351,-73.6952430154355],[-61.3758088853271,-74.10674244577568],[-61.96336992048569,-74.43984872832911],[-63.29520077172802,-74.57699797963168],[-63.74569007023243,-74.92974130645604],[-64.35283647322964,-75.26284758900947],[-65.86098731145185,-75.63512460724009],[-67.19281816269412,-75.79191090281367],[-68.44628170436582,-76.00745330190307],[-69.79772376166292,-76.22299570099248],[-70.60072384304632,-76.63449513133267],[-72.20677568224542,-76.67366586700993],[-73.96953630236973,-76.63449513133267],[-75.55597693551411,-76.71288827911941],[-77.24037024606767,-76.71288827911941],[-76.92697852243364,-77.10480234162095],[-75.3992939928051,-77.28107065216861],[-74.28287634957147,-77.55542083120612],[-73.6561187405195,-77.90811248159818],[-74.77253638375305,-78.22163339631298],[-76.49610042998398,-78.1236548806876],[-77.92585812041935,-78.37841969188648],[-77.98466590036753,-78.78991912222665],[-78.02378495961244,-79.18183318472828],[-76.8486370510791,-79.51493946728172],[-76.63322384307045,-79.88721648551234],[-75.36009741891172,-80.25954518017524],[-73.24485185412459,-80.41633147574882],[-71.44294633653928,-80.69062997835405],[-70.01316280788774,-81.00415089306884],[-68.19164608424762,-81.31767180778364],[-65.70427853052675,-81.47445810335722],[-63.25603003605076,-81.74875660596246],[-61.55202551944245,-82.0426921528387],[-59.69141557477354,-82.37585011182442],[-58.71212134462638,-82.84610564568041],[-58.22248714866089,-83.2184343403434],[-57.00811682801799,-82.86569101351905],[-55.362894253141604,-82.5717554666429],[-53.619770677288216,-82.2582345519281],[-51.54364417174608,-82.00352141716142],[-49.76134986021552,-81.72917123812391],[-47.27393063006235,-81.70958587028527],[-44.825707973802565,-81.84673512158784],[-42.80836340999244,-82.08191456494816],[-42.162020433101844,-81.65082976676936],[-40.77143347834368,-81.3568942198932],[-38.24481767429714,-81.33730885205456],[-36.266669684380275,-81.12171477653287],[-34.38639685722433,-80.90617237744345],[-32.310296189898395,-80.7690231261409],[-30.097097947702053,-80.59265146272867],[-28.549802212018676,-80.33793832796206],[-29.25490129242519,-79.98519500113773],[-29.685805223090938,-79.63250335074565],[-29.685805223090938,-79.26022633251503],[-31.62480831554663,-79.2993970681923],[-33.68132361503402,-79.45613168733351],[-35.63991207532834,-79.45613168733351],[-35.91410722506899,-79.08385466910289],[-35.77700965019869,-78.33924895620929],[-35.3265461899104,-78.1236548806876],[-33.89676266125886,-77.88852711375955],[-32.21236935070527,-77.65345102326378],[-30.998050706494666,-77.35951547638763],[-29.78373206228403,-77.06557992951147],[-28.882779303491446,-76.67366586700993],[-27.51175187835571,-76.49734588003],[-26.160335659274722,-76.36014495229506],[-25.474821946706953,-76.2818034809406],[-23.92755204923975,-76.24258106883113],[-22.458597784911007,-76.10543181752845],[-21.224693772861855,-75.90947478627768],[-20.01037512865122,-75.67434701934965],[-18.913542853256246,-75.4392192524216],[-17.522981736714172,-75.12569833770681],[-16.641588507544014,-74.7925403787211],[-15.701490851290231,-74.49860483184494],[-15.407710333710924,-74.10674244577568],[-16.46532019699646,-73.87161467884764],[-16.11278357590126,-73.46011524850746],[-15.446855231172009,-73.14654265736038],[-14.408804897509043,-72.95058562610961],[-13.311972622113956,-72.71545785918156],[-12.29350765628962,-72.40193694446677],[-11.510067104528673,-72.01007455839752],[-11.02043290856318,-71.53976734810914],[-10.29577429853424,-71.26541716907161],[-9.101015183946146,-71.32422494901974],[-8.611380987980567,-71.65733123157315],[-7.416621873392501,-71.69650196725044],[-7.377451137715298,-71.32422494901974],[-6.868231573911089,-70.9323108865182],[-5.790984666354746,-71.03028940214358],[-5.536374884452641,-71.40261809680648],[-4.341667446296839,-71.46137420032238],[-3.048981492515679,-71.28505421334253],[-1.795492112627784,-71.16743865344623],[-0.659489101555607,-71.22624643339435],[-0.228636847322036,-71.63774586373452],[0.868195428072937,-71.30463958118109],[1.886686232113476,-71.12826791776897],[3.022637566753446,-70.99111866646629],[4.139055209987077,-70.85391773873144],[5.157546014027588,-70.6187899718034],[6.273911980828927,-70.4620553526621],[7.13571984216054,-70.24651295357269],[7.742866245157757,-69.89376962674842],[8.487110223025269,-70.1485344379473],[9.525134718472145,-70.01133351021244],[10.249845004933377,-70.48164072050074],[10.817820672253305,-70.83433237089281],[11.953823683325567,-70.63837533964204],[12.404287143613885,-70.24651295357269],[13.422777947654396,-69.97216277453518],[14.734997592841921,-70.03091887805108],[15.126756626046614,-70.40324757271398],[15.949342075268646,-70.03091887805108],[17.026588982825103,-69.91335499458705],[18.201711053142247,-69.87418425890979],[19.259372592860046,-69.89376962674842],[20.375738559661386,-70.01133351021244],[21.45298546721773,-70.07014129016056],[21.923034295344678,-70.40324757271398],[22.569403110451447,-70.69718311959014],[23.666183709414156,-70.52081145617801],[24.841357456163593,-70.48164072050074],[25.977308790803562,-70.48164072050074],[27.093726434037194,-70.4620553526621],[28.09258019380681,-70.32485442492724],[29.15024173352461,-70.20729054146321],[30.031583286262446,-69.9329403624256],[30.971732618948636,-69.75662037544576],[31.99017174655677,-69.65864185982038],[32.75405276869532,-69.38429168078287],[33.302443068176615,-68.83564299914002],[33.87041873549663,-68.50258839301887],[34.90849490737577,-68.6592713357278],[35.3002022641482,-69.01201466255216],[36.16201012547981,-69.24714242948019],[37.20003462092666,-69.16874928169345],[37.905107863116996,-69.52144093208543],[38.64940351741677,-69.77620574328441],[39.66789432145731,-69.54107797635635],[40.02043094255242,-69.10994150174525],[40.921357863129,-68.9336215147654],[41.95943403500809,-68.60051523221198],[42.93870242693913,-68.46331430447702],[44.11387617368865,-68.26740894965855],[44.89729088723345,-68.05186655056914],[45.71992801288775,-67.81673878364109],[46.50334272643255,-67.60119638455168],[47.44344038268633,-67.7187602680157],[48.344418979695206,-67.36606861762372],[48.990736118369625,-67.09171843858613],[49.9308854510557,-67.11130380642476],[50.753470900277705,-66.87617603949671],[50.949324578663834,-66.52348438910474],[51.79154707215679,-66.24913421006713],[52.61413252137885,-66.05317717881636],[53.61303795758084,-65.89639088324286],[54.53355024599597,-65.81804941188831],[55.414943475166126,-65.87680551540421],[56.35504113141991,-65.9747840310296],[57.158092889235604,-66.24913421006713],[57.25596805199643,-66.68021900824594],[58.13736128116659,-67.01332529079937],[58.74450768416381,-67.2876754698369],[59.93931847518428,-67.40523935330091],[60.6052209816973,-67.67958953233853],[61.42780643091942,-67.95388803494376],[62.387489455011746,-68.01269581489194],[63.19048953639515,-67.81673878364109],[64.05234907415905,-67.40523935330091],[64.99244673041278,-67.62073007595802],[65.97171512234382,-67.73834563585434],[66.9118644550299,-67.85590951931837],[67.89113284696083,-67.93430266710511],[68.89003828316271,-67.93430266710511],[69.71262373238477,-68.97279225044268],[69.67345299670757,-69.22755706164156],[69.55594078967584,-69.67822722765902],[68.59625776558346,-69.9329403624256],[67.81273969917407,-70.3052690570886],[67.94988895047675,-70.69718311959014],[69.0663065937103,-70.67754607531921],[68.92915734240773,-71.06946013782084],[68.41998945503582,-71.44178883248375],[67.94988895047675,-71.85328826282392],[68.71376997261518,-72.16680917753872],[69.8693066750937,-72.26478769316411],[71.02489505400462,-72.08841602975198],[71.57328535348597,-71.69650196725044],[71.90628828317477,-71.32422494901974],[72.45462690622384,-71.01070403430494],[73.081410353492,-70.71676848742878],[73.33602013539411,-70.36402516060443],[73.86487674346915,-69.87418425890979],[74.49155683787262,-69.77620574328441],[75.62755984894488,-69.73703500760712],[76.62646528514688,-69.61941944771081],[77.64490441275501,-69.4626848285696],[78.13453860872062,-69.07077076606807],[78.42837080273216,-68.69844207140507],[79.11385867708384,-68.32621672960674],[80.09312706901483,-68.07150359484007],[80.93534956250778,-67.8755465635893],[81.48379153842149,-67.54238860460357],[82.0517672057415,-67.36606861762372],[82.77642581577038,-67.20928232205014],[83.77533125197226,-67.30726083767553],[84.67620649611655,-67.20928232205014],[85.65552656447983,-67.09171843858613],[86.75235883987489,-67.15047454210203],[87.47701744990377,-66.87617603949671],[87.98628869014016,-66.20991179795766],[88.35841067907398,-66.48426197699517],[88.82840783076853,-66.95456918728354],[89.67063032426154,-67.15047454210203],[90.63036502478616,-67.22886768988877],[91.59009972531084,-67.11130380642476],[92.60853885291908,-67.18969695421151],[93.54863650917287,-67.20928232205014],[94.17541995644103,-67.11130380642476],[95.01759077350158,-67.17011158637295],[95.78147179564013,-67.38565398546237],[96.6823987162166,-67.2485047341597],[97.75964562377305,-67.2485047341597],[98.68020958862047,-67.11130380642476],[99.71818240763497,-67.2485047341597],[100.38418826701269,-66.91534677517399],[100.89335615438455,-66.58224049262056],[101.57889570516846,-66.30789031358304],[102.8324109232725,-65.56328460068943],[103.47867638551469,-65.70048552842437],[104.24255740765312,-65.9747840310296],[104.90845991416626,-66.32752735785397],[106.18156050010879,-66.93493214301262],[107.16088056847212,-66.95456918728354],[108.08139285688725,-66.95456918728354],[109.1586397644437,-66.83700530381952],[110.2358349955677,-66.69980437608459],[111.05847212122211,-66.42550587347935],[111.74395999557379,-66.13157032660311],[112.86037763880739,-66.09234791449363],[113.60467329310728,-65.87680551540421],[114.38808800665203,-66.07276254665499],[114.89730757045618,-66.38628346136979],[115.60238081264646,-66.69980437608459],[116.69916141160917,-66.6606336404073],[117.38470096239325,-66.91534677517399],[118.57946007698132,-67.17011158637295],[119.83292361865296,-67.26809010199834],[120.87099979053221,-67.18969695421151],[121.6544145040769,-66.87617603949671],[122.32036868702227,-66.56265512478191],[123.2212956075989,-66.48426197699517],[124.1222742046076,-66.62146290473012],[125.16024702362228,-66.71938974392322],[126.10039635630824,-66.56265512478191],[127.00142662974935,-66.56265512478191],[127.88276818248727,-66.6606336404073],[128.80328047090245,-66.75861215603277],[129.7042590679112,-66.58224049262056],[130.78145429903537,-66.42550587347935],[131.7999451030759,-66.38628346136979],[132.93589643771588,-66.38628346136979],[133.85646040256324,-66.2883049457444],[134.75738732313982,-66.20996347438994],[135.03158247288047,-65.72007089626292],[135.07075320855768,-65.30857146592274],[135.6974849793936,-65.58286996852806],[135.87380496637337,-66.03359181097773],[136.20670454319765,-66.4450912413179],[136.61804894424102,-66.77819752387133],[137.46027143773392,-66.95456918728354],[138.5962227723739,-66.89576140733536],[139.9084424175614,-66.87617603949671],[140.8094210145702,-66.8173682595486],[142.1216923361901,-66.8173682595486],[143.06184166887618,-66.79778289170997],[144.37406131406362,-66.83700530381952],[145.49042728086505,-66.91534677517399],[146.19555219948762,-67.22886768988877],[145.99969852110138,-67.60119638455168],[146.64606733620815,-67.89513193142793],[147.7232625673323,-68.13025969835589],[148.83962853413362,-68.38502450955485],[150.1323144879148,-68.56129282010241],[151.48370486877963,-68.71813079210828],[152.50224734925246,-68.8748137348172],[153.63819868389243,-68.89450245552041],[154.2845674989992,-68.56129282010241],[155.16585737530477,-68.83564299914002],[155.9297900738755,-69.1492155902871],[156.81113162661342,-69.38429168078287],[158.02552778547243,-69.48227019640825],[159.18101281151877,-69.59983407987227],[159.67069868391656,-69.99174814237381],[160.80665001855652,-70.22687590930185],[161.57047936426267,-70.57961923612612],[162.68689700749627,-70.73635385526742],[163.8424337099749,-70.71676848742878],[164.91968061753124,-70.7755245909446],[166.11443973211942,-70.75593922310605],[167.3090954938429,-70.83433237089281],[168.4256164899411,-70.97148162219545],[169.4635893089557,-71.2066610655557],[170.50166548083484,-71.40261809680648],[171.20679039945747,-71.69650196725044],[171.08922651599346,-72.08841602975198],[170.5604215843507,-72.44115935657632],[170.10995812406247,-72.8918295225937],[169.757369826535,-73.24452117298577],[169.28732099840812,-73.65602060332594],[167.97510135322062,-73.81280689889952],[167.38748864162966,-74.1654985492915],[166.09480268784847,-74.38104094838091],[165.64439090399247,-74.77295501088246],[164.9588513532085,-75.14528370554544],[164.23419274317956,-75.45880462026024],[163.82279666570395,-75.87030405060042],[163.56823856023425,-76.24258106883113],[163.47026004460884,-76.69330291128077],[163.4898970888798,-77.06557992951147],[164.05787275619969,-77.45744231558074],[164.27336347885682,-77.82977101024372],[164.74346398341595,-78.182514337068],[166.60412560451715,-78.31961191193837],[166.9957812848573,-78.75074838654947],[165.19387576727195,-78.90748300569068],[163.6662170758596,-79.1230254047801],[161.76638471908115,-79.16224781688965],[160.92416222558825,-79.73048186637104],[160.7478939150406,-80.20073740022713],[160.31696414615874,-80.57306609489012],[159.78821089094828,-80.94539478955302],[161.12001590397443,-81.27850107210645],[161.62928714421082,-81.69000050244662],[162.4909916526778,-82.06227752067724],[163.70533613510452,-82.39543547966296],[165.09594892807888,-82.70895639437776],[166.60412560451715,-83.02247730909255],[168.89566531806804,-83.33599822380734],[169.4047815290076,-83.82589080193436],[172.28393395414923,-84.04143320102376],[172.47704878162403,-84.11791432081574],[173.22408328683542,-84.41371021925438],[175.9856718285131,-84.1589970844878],[178.27721154206392,-84.47251799920258],[179.99994876537812,-84.71338185011496],[179.99994876537812,-89.9988990213601],[-180,-89.9988990213601],[-180,-84.71340307590728],[-179.9999893871038,-84.71338185011496],[-179.942499356179,-84.72144337355246],[-179.05867733469108,-84.13941171664915],[-177.2567718171058,-84.45293263136395],[-176.08467281807768,-84.0992591287583],[-175.8298821686626,-84.11791432081574],[-174.38250281481567,-84.53432301222362],[-173.11655941474552,-84.11791432081574],[-172.88910559801278,-84.06101856886241],[-169.9512229075714,-83.88464690545018],[-168.99998898015872,-84.11791432081574],[-168.53019853419332,-84.23739023227454],[-167.0220993724034,-84.57049651482797],[-164.18214352115504,-84.82520964959457],[-161.92977454328144,-85.13873056430936],[-158.07137956442492,-85.37391000766969],[-155.19225297749927,-85.09955982863217],[-150.9420989654381,-85.29551685988294],[-148.53307288307158,-85.60903777459774],[-145.8889190337772,-85.31510222772158],[-143.10771928604476,-85.04075204868397],[-142.89228023981985,-84.57049651482797],[-146.82906836646328,-84.53127410271841],[-150.06073157448395,-84.29614633579035],[-150.90292822976082,-83.90423227328881],[-153.58620113830017,-83.68868987419941],[-153.4099069895364,-83.23801970818195],[-153.0377591623865,-82.82652027784178],[-152.66563717345275,-82.45419158317887],[-152.8615166900551,-82.0426921528387],[-154.52629879455395,-81.76839365023338],[-155.2901798166924,-81.41565032340903],[-156.83744971415956,-81.10212940869431],[-154.40878658752223,-81.16093718864244],[-152.0976615061328,-81.00415089306884],[-150.64829260964262,-81.33730885205456],[-148.86599829811206,-81.0433733051784],[-147.22074988501947,-80.67104461051551],[-146.41774980363607,-80.33793832796206],[-146.77028642473127,-79.92643889762189],[-148.06294654029637,-79.65208871858428],[-149.53190080462508,-79.35820484814042],[-151.58841610411247,-79.2993970681923],[-153.3903216216978,-79.16224781688965],[-155.32937639058576,-79.06426930126426],[-155.97566769104412,-78.69194060660126],[-157.26830196839302,-78.37841969188648],[-158.0517683583701,-78.02567636506221],[-158.36513424378802,-76.88920826609926],[-157.87547420960644,-76.98723845815702],[-156.97457312724603,-77.30075937287182],[-155.32937639058576,-77.20272918081415],[-153.7428324045768,-77.06557992951147],[-152.92024695535474,-77.4966647276903],[-151.3337804839943,-77.39873788849721],[-150.00194963275192,-77.1831438129755],[-148.7484860910803,-76.90884531037018],[-147.61248308000805,-76.57573902781675],[-146.10440975643434,-76.47776051219137],[-146.14352881567922,-76.10543181752845],[-146.49609127499053,-75.73315479929785],[-146.20231075741123,-75.3804114724735],[-144.90962480363004,-75.20403980906127],[-144.3220379302553,-75.53719776804698],[-142.79435340062685,-75.34124073679621],[-141.63876502171593,-75.08647592559734],[-140.20900733128047,-75.0668905577587],[-138.85759111219957,-74.96891204213331],[-137.5062007313348,-74.73378427520527],[-136.42890214734615,-74.51824187611587],[-135.21458350313551,-74.30269947702645],[-134.43119462780692,-74.36145558054227],[-133.7456550770229,-74.43984872832911],[-132.2571671212878,-74.30269947702645],[-130.92531043182933,-74.4790194640063],[-129.5542830066936,-74.45943409616774],[-128.24203752328987,-74.3222848448651],[-126.89062130420898,-74.42026336049048],[-125.4020816720416,-74.51824187611587],[-124.01149471728343,-74.4790194640063],[-122.56215165900943,-74.49860483184494],[-121.07361202684197,-74.51824187611587],[-119.70255876349015,-74.4790194640063],[-118.684145474098,-74.18508391713014],[-117.46980099167128,-74.02834929798894],[-116.21631161178347,-74.24389169707825],[-115.02155249719539,-74.06752003366611],[-113.94433142785513,-73.71482838327405],[-113.29798845096455,-74.02834929798894],[-112.94545182986934,-74.38104094838091],[-112.29908301476257,-74.71419890736664],[-111.26105851931578,-74.42026336049048],[-110.06632524294379,-74.7925403787211],[-108.7149090238628,-74.91010426218511],[-107.5593464831681,-75.18445444122273],[-106.14914832235517,-75.12569833770681],[-104.87607357462873,-74.94932667429467],[-103.36794857462273,-74.98849740997187],[-102.01650651732564,-75.12569833770681],[-100.64553076862228,-75.30201832468666],[-100.11669999876334,-74.87093352650793],[-100.76304297565393,-74.5378272439545],[-101.2527030098356,-74.18508391713014],[-102.5453372871845,-74.10674244577568],[-103.11331295450452,-73.7344137511127],[-103.32875200072935,-73.36208505644979],[-103.68128862182446,-72.61753101998846],[-102.91748511433443,-72.75468027129112],[-101.6052396309308,-72.81343637480694],[-100.31252783893343,-72.75468027129112],[-99.13737993040009,-72.91141489043233],[-98.11888912635956,-73.20535043730848],[-97.68803687212599,-73.55804208770056],[-96.336594814829,-73.61684986764867],[-95.04396053748002,-73.4797006163461],[-93.67290727412819,-73.28374358509532],[-92.43900326207901,-73.16617970163131],[-91.42056413447077,-73.40130746855934],[-90.08873328322841,-73.32291432077251],[-89.226951260113,-72.55872324004027],[-88.4239511787296,-73.00939340605771],[-87.26833696160259,-73.18576506946994],[-86.0148217434986,-73.08778655384447],[-85.19223629427654,-73.4797006163461],[-83.87999081087293,-73.51887135202328],[-82.66564632844612,-73.63643523548731],[-81.47091305207422,-73.85197763457671],[-80.68744666209707,-73.4797006163461],[-80.29579098175697,-73.12695728952174],[-79.29688554555509,-73.51887135202328],[-77.92585812041935,-73.4208928363979],[-76.90736731637881,-73.63643523548731],[-76.22187944202713,-73.96954151804073],[-74.89004859078477,-73.87161467884764],[-73.85202409533801,-73.65602060332594],[-72.83353329129747,-73.40130746855934],[-71.61921464708684,-73.26415821725669],[-70.20904232449004,-73.14654265736038],[-68.93591590033131,-73.00939340605771],[-67.95662167018415,-72.79385100696831],[-67.36906063502556,-72.48033009225352],[-67.13403622096209,-72.0492452940747],[-67.25154842799384,-71.63774586373452],[-67.56494015162795,-71.24583180123298],[-67.91747677272306,-70.85391773873144],[-68.230842658141,-70.4620553526621],[-68.4854524400431,-70.10931202583782],[-68.54420854355891,-69.7173979633362],[-68.44628170436582,-69.32553557726695],[-67.97623287623898,-68.95320688260404],[-67.5844996812504,-68.54170745226386],[-67.42784257675757,-68.14984506619453],[-67.62367041692767,-67.7187602680157],[-67.7411826239593,-67.32684620551416],[-67.25154842799384,-66.87617603949671],[-66.70318396672863,-66.58224049262056],[-66.05681515162186,-66.20996347438994],[-65.37132727727018,-65.89639088324286],[-64.56827551945449,-65.6025070127989],[-64.17654232446591,-65.17142221462018],[-63.62815202498459,-64.89707203558257],[-63.001394415932566,-64.64230722438369],[-62.041685553624035,-64.58355112086778],[-61.41492794457207,-64.27003020615298],[-60.70985470238176,-64.07407317490221],[-59.88726925315973,-63.95650929143819],[-59.16258480491459,-63.70174448023921],[-58.59455746116237,-63.38822356552442],[-57.811142747617595,-63.2706596820604],[-57.22358171245892,-63.52542449325937],[-57.59572953960884,-63.8585307758128],[-58.614142829001,-64.15246632268895]],[[-98.98154964882389,-71.9333350564441],[-97.88474321164509,-72.07053598417896],[-96.7879367744662,-71.95297210071493],[-96.20034990109144,-72.5212061501964],[-96.98376461463621,-72.44286467884194],[-98.19808325884682,-72.48203541451915],[-99.43201310911218,-72.44286467884194],[-100.78345516640927,-72.50162078235778],[-101.80186845580133,-72.305663751107],[-102.33072506387637,-71.89416432076683],[-101.70396745482442,-71.71779265735469],[-100.43091854531407,-71.85499358508955],[-98.98154964882389,-71.9333350564441]],[[-121.21151058641286,-73.50099130645035],[-119.91885047084779,-73.65772592559156],[-118.72414303269198,-73.48135426217942],[-119.29211870001193,-73.83409758900379],[-120.23221635626571,-74.08881072377038],[-121.62282914923999,-74.01046925241592],[-122.62173458544187,-73.65777760202386],[-122.40624386278485,-73.32461964303813],[-121.21151058641286,-73.50099130645035]],[[-125.55956559945105,-73.48135426217942],[-124.03188106982259,-73.87326832468096],[-124.61946794319726,-73.83409758900379],[-125.91217973519464,-73.73611907337832],[-127.2831296456819,-73.46176889434079],[-126.55847103565294,-73.24622649525139],[-125.55956559945105,-73.48135426217942]],[[-159.2081835601976,-79.4970594217087],[-161.12760128481472,-79.63420867301136],[-162.43984676821844,-79.281465346187],[-163.02740780337703,-78.92877369579494],[-163.0666043772704,-78.86996591584682],[-163.7128956777287,-78.5956674132415],[-163.1058009511638,-78.2233387185786],[-161.24511349184647,-78.38017669058448],[-160.2462080556445,-78.69364592886697],[-159.48240454815445,-79.04633757925896],[-159.2081835601976,-79.4970594217087]],[[-45.15475765642111,-78.04707040803105],[-43.92082780615573,-78.47810352977748],[-43.48994971370607,-79.08555999136851],[-43.372437506674345,-79.51664478954734],[-43.33326677099717,-80.0261227355129],[-44.88053666846426,-80.33964365022769],[-46.506173875502014,-80.59435678499429],[-48.386420864441845,-80.82948455192233],[-50.482106899606435,-81.0254415831731],[-52.85198808451176,-80.96668547965729],[-54.16425940613158,-80.63352752067156],[-53.98799109558402,-80.22202809033138],[-51.85313432474217,-79.94772958772614],[-50.99132646341056,-79.61462330517273],[-50.3645946925748,-79.18348683056162],[-49.91413123228651,-78.81120981233092],[-49.30695899107309,-78.45856983837123],[-48.660616014182494,-78.04701873159875],[-48.15139645037837,-78.04707040803105],[-46.66285681821091,-77.83147633250934],[-45.15475765642111,-78.04707040803105]],[[-59.572094692611586,-80.04017872509627],[-59.86584937197469,-80.54965667106184],[-60.15965572777017,-81.00032683707929],[-62.255393439367054,-80.86317758577664],[-64.48812537296982,-80.92193368929254],[-65.74166642928992,-80.58882740673911],[-65.74166642928992,-80.54965667106184],[-66.29003089055513,-80.25577280061796],[-64.03768775089762,-80.29489185986296],[-61.883245612217195,-80.39287037548834],[-61.13897579613342,-79.98137094514817],[-60.61011918805838,-79.6286792947561],[-59.572094692611586,-80.04017872509627]],[[-68.45134599473039,-70.95582366321096],[-68.33383378769875,-71.40649382922841],[-68.5101279364624,-71.79840789172995],[-68.78429724798696,-72.17068490996066],[-69.9594709947365,-72.30788583769552],[-71.07588863797011,-72.50384286894638],[-72.38813412137375,-72.48420582467546],[-71.89849992540826,-72.09234343860611],[-73.07362199572552,-72.22949268990877],[-74.19003963895915,-72.3666936176437],[-74.95389482288147,-72.07275807076755],[-75.01262508818118,-71.66125864042738],[-73.9158186510023,-71.26934457792575],[-73.23033077665062,-71.15178069446173],[-72.07471655952352,-71.190951430139],[-71.78096188016042,-70.68147348417344],[-71.72217993842841,-70.30914478951044],[-71.74179114448316,-69.50578297310102],[-71.1738154771632,-69.03547576281272],[-70.25325151231579,-68.87874114367142],[-69.72444658067303,-69.25101816190204],[-69.48942216660956,-69.62334685656504],[-69.05851823594381,-70.0740170225825],[-68.72554114447112,-70.50515349719359],[-68.45134599473039,-70.95582366321096]]],"bbox":[-180,-89.9988990213601,179.99994876537812,83.365066840336]}
<!DOCTYPE html>
<meta charset="utf-8">
<style>
body {
background: radial-gradient(720px at 490px, #081f2b 0%, #061616 100%);
height: 960px;
}
</style>
<body>
<script src="https://d3js.org/d3.v4.min.js"></script>
<script src="https://d3js.org/d3-array.v1.min.js"></script>
<script src="https://d3js.org/d3-timer.v1.min.js"></script>
<script src="https://d3js.org/d3-geo.v1.min.js"></script>
<script src="https://d3js.org/topojson.v2.min.js"></script>
<script src="https://d3js.org/d3-geo-projection.v1.min.js"></script>
<script>
var width = 960,
height = 960,
speed = 1e-2,
start = Date.now();
var sphere = {type: "Sphere"};
var projection = d3.geoStereographic()
.scale(width / 2.2)
.clipAngle(90)
.translate([width / 2, height / 2])
.precision(.5);
var graticule = d3.geoGraticule();
var canvas = d3.select("body").append("canvas")
.attr("width", width)
.attr("height", height);
var context = canvas.node().getContext("2d");
var path = d3.geoPath()
.projection(projection)
.context(context);
d3.queue()
.defer(d3.json, "oceans.json")
.defer(d3.json, "lands.json")
.defer(d3.json, "lake.json")
.defer(d3.json, "river.json")
.defer(d3.json, "coast.json")
.defer(d3.json, "glaciate.json")
.await(ready)
function ready(error, oceans, lands , lake, river, coast, glaciate) {
if (error) throw error;
var ocean = topojson.feature(oceans, oceans.objects.oceans),
land = topojson.feature(lands, lands.objects.land)
lake = topojson.feature(lake, lake.objects.lakes)
river = topojson.feature(river, river.objects.rivers)
coast = topojson.feature(coast, coast.objects.coastline)
glaciate = topojson.feature(glaciate, glaciate.objects.glaciated)
grid = graticule();
d3.timer(function() {
projection.rotate([speed * (Date.now() - start), -15]);
context.clearRect(0, 0, width, height);
context.beginPath();
path(sphere);
context.fillStyle = "#fff";
context.fill();
context.beginPath();
path(grid);
context.lineWidth = .5;
context.strokeStyle = "#ddd";
context.stroke();
context.beginPath();
path(ocean);
context.fillStyle = "rgba(70,130,180,.5)";
context.fill();
context.beginPath();
path(land);
context.fillStyle = "#FBB448";
context.fill();
context.beginPath();
path(lake);
context.fillStyle = "rgba(70,130,180,.5)";
context.fill();
context.beginPath();
path(glaciate);
context.lineWidth = .5;
context.strokeStyle = "white";
context.stroke();
context.beginPath();
path(coast);
context.lineWidth = .5;
context.strokeStyle = "steelblue";
context.stroke();
context.beginPath();
path(river);
context.lineWidth = .5;
context.strokeStyle = "steelblue";
context.stroke();
context.beginPath();
path(sphere);
context.lineWidth = .5;
context.strokeStyle = "#000";
context.stroke();
});
d3.select(self.frameElement).style("height", height + "px");
}
</script>
Display the source blob
Display the rendered blob
Raw
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
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
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
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