{"id":167,"date":"2006-06-23T01:42:07","date_gmt":"2006-06-23T06:42:07","guid":{"rendered":"http:\/\/crschmidt.net\/blog\/?p=167"},"modified":"2006-06-23T01:42:07","modified_gmt":"2006-06-23T06:42:07","slug":"worldwind-tile-caching","status":"publish","type":"post","link":"https:\/\/crschmidt.net\/blog\/archives\/167\/worldwind-tile-caching\/","title":{"rendered":"WorldWind Tile Caching"},"content":{"rendered":"<p>I implemented WorldWind Tile Caching in OpenLayers tonight.<\/p>\n<p>From the WorldWind docs:<\/p>\n<p>&#8220;World Wind uses what is defined as \u201cLevel Zero Tile Size\u201d to determine how<br \/>\nlarge (in decimal degrees) each tile is in width and height (all tiles are square). A<br \/>\nstandardized level zero tile size is under consideration but is not yet implemented, but it<br \/>\nmust divide into 180 evenly.&#8221;<\/p>\n<p>ARGHIEHTIHA. Do you understand how much more difficult you just made my life? :p Essentially, given two WorldWind layers, unless the Level Zero Tile Size of each layer either 1. matches or 2. is altered by a factor of an exponent of 2 (2, 4, 8, 16), there&#8217;s no way in OpenLayers to use them on the same map. <\/p>\n<p>And there&#8217;s no standard. So I&#8217;ve got half a dozen really cool WorldWind Tile Layers, and I can&#8217;t put them together, because they each need their own map resolution.<\/p>\n<p>Granted, at some point in the near future OpenLayers will need to change its resolution depending on the active layer, but we&#8217;re not there yet, and even once we are, that will destroy a lot of the cool features that you can see when swapping quickly a layer on and off and being able to compare the images right on top of each other.<\/p>\n<p>Still, <a href=\"http:\/\/openlayers.org\/dev\/examples\/worldwind.html\">WorldWind<\/a> is now working in OpenLayers.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I implemented WorldWind Tile Caching in OpenLayers tonight. From the WorldWind docs: &#8220;World Wind uses what is defined as \u201cLevel Zero Tile Size\u201d to determine how large (in decimal degrees) each tile is in width and height (all tiles are square). A standardized level zero tile size is under consideration but is not yet implemented, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[44],"tags":[],"class_list":["post-167","post","type-post","status-publish","format-standard","hentry","category-locality-and-space"],"_links":{"self":[{"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/posts\/167","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/comments?post=167"}],"version-history":[{"count":0,"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/posts\/167\/revisions"}],"wp:attachment":[{"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/media?parent=167"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/categories?post=167"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/tags?post=167"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}