Popular recipes tagged "quinary"http://code.activestate.com/recipes/tags/quinary/2014-06-12T10:29:35-07:00ActiveState Code RecipesQuadKeys Generator - useful for N'ary strings generation (Python) 2014-06-12T10:29:35-07:00Narayana Chikkamhttp://code.activestate.com/recipes/users/4174427/http://code.activestate.com/recipes/578888-quadkeys-generator-useful-for-nary-strings-generat/ <p style="color: grey"> Python recipe 578888 by <a href="/recipes/users/4174427/">Narayana Chikkam</a> (<a href="/recipes/tags/quinary/">quinary</a>). </p> <p>As per the standard articles available on the internet, world map could be divided into four section top left, top right, bottom left and bottom right. if we associate numbers to identify them, for eg: 0 -&gt; top left 1 -&gt; top right 2 -&gt; bottom left 3 -&gt; bottom right it would be easier to dig into a tile or a section of the map using this system. A good documentation on the same is available on the 'Bing Map Tile System'. It would be a good idea to have some snippet of code that generates these sequence of numbers in this system so that world map could be traversed in a serial fashion. The class has 3 generator methods that produce the same sequence. Width corresponds to the zoom level.</p>