How to bring your own content to Virtual Earth (Part 6)

Johannes Kebeck's Blog
10-01-2007, 06:00 AM
<p>In part 5 we used MSR MapCruncher to add a static tile layer to Virtual Earth. This is a very simple and straight forward approach but under some circumstances we might need to take the concept of custom tile layers a step further. <p><strong>Creating Dynamic Tile-Layer from Static Images </strong> <p>It is poss<b>i</b>ble to dynamically create a tile layer from static images. This requires a middleware which cuts the tiles on demand. On the Virtual Earth side the code is exactly the same. We are just not pointing to a virtual directory which contains static tiles but to a web service which cuts the tiles on the fly. The approach is useful if <b></b> <ul> <li>we have relatively small areas (e.g. 400 x 400 km) <b></b> <li>with frequently changing data (e.g. 20 images every 5 minutes) and<b></b> <li>we need to go down to the highest zoom-level but<b></b> <li>have a limited number of user<b></b></ul> <p>An example for this could be the weather-forecast. With the constraints mentioned above it would require to render 30 million tiles every 5 minutes and that this certainly beyond the capabilities of the MSR MapCruncher. Fortunately I don't have to write that much this time since I can recycle one of my older papers. You will find the link to the documentation below: <p><iframe style="border-right:#dde5e9 1px solid;padding-right:0px;border-top:#dde5e9 1px solid;padding-left:0px;padding-bottom:0px;margin:3px;border-left:#dde5e9 1px solid;width:240px;padding-top:0px;border-bottom:#dde5e9 1px solid;height:66px;background-color:#ffffff" marginwidth=0 marginheight=0 src="http://cid-42e1f70205ec8a96.skydrive.live.com/embedrowdetail.aspx/Public/Creating Tile Layers on the Fly.pdf" frameborder=0 scrolling=no></iframe> <p>A sample application including source code is available <a href="http://mappointemea.members.winisp.net/AdHocTileCutting/Default.aspx">here</a>. <p><a href="http://blufiles.storage.msn.com/y1pLfDzppuxashUqmHKkQPeJlR_RrvZFYjcBJJtDREdLsJcDQH ZHOs0B7AxeJGY_XaFy-cl522PScQ?PARTNER=WRITER"><img style="border-right:0px;border-top:0px;border-left:0px;border-bottom:0px" height=231 alt=25-small src="http://blufiles.storage.msn.com/y1pLfDzppuxasg_KPZuyvN8HMgL3GOFgJL5-rgOB4Ey_3QKNauEyED99jxHc_dutfIliIOoTlHV7fw?PARTNER =WRITER" width=404 border=0></a> <p>* <div style="padding-right:0px;display:inline;padding-left:0px;padding-bottom:0px;margin:0px;padding-top:0px">Technorati Tags: <a href="http://technorati.com/tags/Virtual Earth" rel=tag>Virtual Earth</a>, <a href="http://technorati.com/tags/Tile Layer" rel=tag>Tile Layer</a></div><img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=4819404664324524694&page=RSS%3a+How+to+bring+your+own+content+to+Virtu al+Earth+(Part+6)&referrer=" width="1px" height="1px" border="0" alt=""><img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&NA=1149&PI=88469&RF=&DI=3919&PS=85545&TP=johanneskebeck.spaces.live.com&GT1=JohannesKebeck">

Click here to view the article. (http://JohannesKebeck.spaces.live.com/Blog/cns!42E1F70205EC8A96!1861.entry)

 
Web mp2kmag.com
mapforums.com