<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Keith Kinnan's Blog : MapCruncher</title><link>http://blogs.msdn.com/keithkin/archive/tags/MapCruncher/default.aspx</link><description>Tags: MapCruncher</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Live Search Maps Update!</title><link>http://blogs.msdn.com/keithkin/archive/2008/04/12/live-search-maps-update.aspx</link><pubDate>Sat, 12 Apr 2008 08:52:47 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8384111</guid><dc:creator>keithkin</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/keithkin/comments/8384111.aspx</comments><wfw:commentRss>http://blogs.msdn.com/keithkin/commentrss.aspx?PostID=8384111</wfw:commentRss><description>&lt;p&gt;We just released an updated version of &lt;a href="http://maps.live.com"&gt;Live Search Maps&lt;/a&gt;&amp;nbsp;built on the Virtual Earth platform.&amp;nbsp; It is difficult to list all the new features, but here are some of the new features:&lt;/p&gt; &lt;ul&gt; &lt;li&gt;&lt;strong&gt;Birdseye Imagery with Labels - &lt;/strong&gt;Birdseye imagery now supports Road Labels showing roads and names on the birdseye scene similar to Aerial map style.&amp;nbsp; The navigation control was improved with a Labels toggle which now works in Aerial and Birdseye modes -- so you can turn the Labels on and off.  &lt;li&gt;&lt;strong&gt;Improved 3D Experience - &lt;/strong&gt;Improved 3D models and detailed&amp;nbsp;textures including trees in cities.&amp;nbsp; Initially this is in Las Vegas, Phoenix, Denver, and Dallas but will be expanding to more cities in the future.&amp;nbsp; Improved 3DVIA Modelling  &lt;li&gt;&lt;strong&gt;Improved Collections - &lt;/strong&gt;Export collections to KML, GeoRSS, or GPX format.&amp;nbsp; Add a &lt;a href="http://go.microsoft.com/fwlink/?LinkID=99819&amp;amp;clcid=0x409"&gt;MapCruncher&lt;/a&gt; custom tile layers to your collection and view them in Live Search Maps. Previously this was only available for API users.Collections Explorer filtering - you can now filter your collection searches by tags . Subscribe to neighborhood region RSS feed  &lt;li&gt;&lt;strong&gt;Improved Directions and Traffic- &lt;/strong&gt;Directions now uses MSR &lt;a href="http://virtualearth.spaces.live.com/blog/cns!2BBC66E99FDCDB98!14081.entry"&gt;Clear Flow&lt;/a&gt; technology for enhanced traffic-based routing.&amp;nbsp; Also added localized itineraries for certain locales.  &lt;li&gt;&lt;strong&gt;Improved One-Click Directions &lt;/strong&gt;- One-Click directions map is now interactive. Reverse geocoding is now supported so the address will be displayed when you right-click on the map and ask for 1-click Directions.  &lt;li&gt;&lt;strong&gt;Enhanced Tour Support&amp;nbsp;&lt;/strong&gt;- Improved movie resolution support, speed control, and added photo support to movies  &lt;li&gt;&lt;strong&gt;Improved Browser Support - &lt;/strong&gt;Added Safari 3 and IE8 Beta Support  &lt;li&gt;&lt;strong&gt;v6.1 Virtual Earth API - &lt;/strong&gt;Reverse compatible with v6 and adds enhancements. I'll post more details about this in a future post.&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;For more details on the new &lt;a href="http://maps.live.com/"&gt;Live Search Maps&lt;/a&gt; update, check out this post at the &lt;a href="http://virtualearth.spaces.live.com/blog/cns!2BBC66E99FDCDB98!14129.entry"&gt;Virtual Earth Spaces Blog&lt;/a&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8384111" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/keithkin/archive/tags/Virtual+Earth/default.aspx">Virtual Earth</category><category domain="http://blogs.msdn.com/keithkin/archive/tags/Live+Search+Maps/default.aspx">Live Search Maps</category><category domain="http://blogs.msdn.com/keithkin/archive/tags/Virtual+Earth+3D/default.aspx">Virtual Earth 3D</category><category domain="http://blogs.msdn.com/keithkin/archive/tags/MapCruncher/default.aspx">MapCruncher</category></item><item><title>Microsoft Research Releases Tiled Vectors Demo</title><link>http://blogs.msdn.com/keithkin/archive/2008/01/18/microsoft-research-releases-tiled-vectors-demo.aspx</link><pubDate>Sat, 19 Jan 2008 01:57:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7153938</guid><dc:creator>keithkin</dc:creator><slash:comments>3</slash:comments><comments>http://blogs.msdn.com/keithkin/comments/7153938.aspx</comments><wfw:commentRss>http://blogs.msdn.com/keithkin/commentrss.aspx?PostID=7153938</wfw:commentRss><description>&lt;P&gt;Microsoft Research released a &lt;A href="http://research.microsoft.com/MapCruncher/TiledVectors/TiledVectorsDemo-1.1/" mce_href="http://research.microsoft.com/MapCruncher/TiledVectors/TiledVectorsDemo-1.1/"&gt;Tiled Vectors Demo&lt;/A&gt; which is available for &lt;A href="http://research.microsoft.com/research/downloads/details/5f3c6272-fc9d-48f8-9e3f-982b9ca4e882/details.aspx" mce_href="http://research.microsoft.com/research/downloads/details/5f3c6272-fc9d-48f8-9e3f-982b9ca4e882/details.aspx"&gt;download&lt;/A&gt;.&amp;nbsp; The demo shows a way to solve the problem of showing extremely large mapping data sets in the web browser.&amp;nbsp; If you have used the Virtual Earth AJAX/JavaScript Map Control or other web-based mapping controls or any web application with a large number of DOM elements/SVG/VML graphics, then you probably have seen that loading extremely large data sets (with thousands of points, lines, and polygons) can bring the browser to a crawl because of limitations in the browser DOM.&lt;/P&gt;
&lt;P&gt;The Tiled Vectors Demo from MSR attempts to solve this problem by breaking up the shapepoints into constant-sized sets, similar to how &lt;A href="http://dev.live.com/virtualearth/mapcruncher/" mce_href="http://dev.live.com/virtualearth/mapcruncher/"&gt;MapCruncher&lt;/A&gt; breaks up images into image tiles.&amp;nbsp; Since the data is broken into constant-sized sets, the original data set can be arbitrarily large -- so the solution scales really well to extremely large data sets.&amp;nbsp; Regardless of which level of detail you are viewing the map from, the amount of data the map loads is always constant.&amp;nbsp; This significantly improves performance.&amp;nbsp; The vector data is still loaded using Virtual Earth &lt;A href="http://blogs.msdn.com/keithkin/archive/2007/04/28/virtual-earth-api-simple-veshapelayer-example.aspx" mce_href="http://blogs.msdn.com/keithkin/archive/2007/04/28/virtual-earth-api-simple-veshapelayer-example.aspx"&gt;VEShapeLayers&lt;/A&gt; in JavaScript -- so the shapes are still interactive and can be controlled from client code and respond to events.&lt;/P&gt;
&lt;P&gt;You can see a demo page here:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;A href="http://research.microsoft.com/MapCruncher/TiledVectors/TiledVectorsDemo-1.1/" mce_href="http://research.microsoft.com/MapCruncher/TiledVectors/TiledVectorsDemo-1.1/"&gt;Tiled Vectors Demo&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://research.microsoft.com/MapCruncher/TiledVectors/TiledVectorsDemo-1.1/" mce_href="http://research.microsoft.com/MapCruncher/TiledVectors/TiledVectorsDemo-1.1/"&gt;&lt;IMG style="WIDTH: 692px; HEIGHT: 432px" height=432 src="http://krkinnan.members.winisp.net/i/tv01.jpg" width=692 border=0 mce_src="http://krkinnan.members.winisp.net/i/tv01.jpg"&gt; &lt;/A&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;For more detailed information regarding the Tiled Vectors approach and how you can apply it to your data sets, see:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;A href="http://research.microsoft.com/MapCruncher/TiledVectors/TiledVectorsDemo-1.1/description.html" mce_href="http://research.microsoft.com/MapCruncher/TiledVectors/TiledVectorsDemo-1.1/description.html"&gt;Tiled Vectors Demo Information&lt;/A&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=7153938" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/keithkin/archive/tags/Virtual+Earth/default.aspx">Virtual Earth</category><category domain="http://blogs.msdn.com/keithkin/archive/tags/Virtual+Earth+API/default.aspx">Virtual Earth API</category><category domain="http://blogs.msdn.com/keithkin/archive/tags/VEShape/default.aspx">VEShape</category><category domain="http://blogs.msdn.com/keithkin/archive/tags/MapCruncher/default.aspx">MapCruncher</category></item><item><title>MapCruncher Beta for Virtual Earth Now Available</title><link>http://blogs.msdn.com/keithkin/archive/2007/10/16/map-cruncher-beta-for-virtual-earth-now-available.aspx</link><pubDate>Tue, 16 Oct 2007 19:47:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5472923</guid><dc:creator>keithkin</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/keithkin/comments/5472923.aspx</comments><wfw:commentRss>http://blogs.msdn.com/keithkin/commentrss.aspx?PostID=5472923</wfw:commentRss><description>&lt;P&gt;&lt;A href="http://go.microsoft.com/fwlink/?LinkID=99819&amp;amp;clcid=0x409" mce_href="http://go.microsoft.com/fwlink/?LinkID=99819&amp;amp;clcid=0x409"&gt;MapCruncher for Virtual Earth&lt;/A&gt; has just been officially released as a Beta release for Virtual Earth! Previously, MapCruncher was a project from Microsoft Research - &lt;A href="http://research.microsoft.com/mapcruncher/" mce_href="http://research.microsoft.com/mapcruncher/"&gt;MSR MapCruncher&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;MapCruncher allows you to easily create custom image tiles to overlay in Virtual Earth mashup applications.&amp;nbsp; The custom image tiles can anything you want to overlay on Virtual Earth imagery - for example, your own aerial imagery, parcel boundaries, neighborhood maps, trails, routes, etc.&amp;nbsp; Here's the official description from the &lt;A href="http://go.microsoft.com/fwlink/?LinkID=99819&amp;amp;clcid=0x409" mce_href="http://go.microsoft.com/fwlink/?LinkID=99819&amp;amp;clcid=0x409"&gt;Beta download page&lt;/A&gt;:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;MapCruncher Beta for Microsoft Virtual Earth makes it easy to publish maps overlaid in an application using the Virtual Earth map control. Once you are familiar with the tool, it will take you about ten minutes to generate a new tile layer. Just find 5 to 10 corresponding landmarks on your map and on the Virtual Earth map view, and MapCruncher will register your map to the global coordinate system, warp it to fit a Mercator projection, and generate a set of image tiles that can be seamlessly layered on top of Virtual Earth map control's standard road, hybrid, or aerial imagery. It even makes a sample HTML page for reference. &lt;BR&gt;MapCruncher accepts a variety of vector formats (PDF, WMF, EMF) and raster formats (JPG, PNG, TIFF, GIF, BMP).&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Here's an example Virtual Earth Mashup using tile layers generated from MapCruncher&amp;nbsp;from a previous post:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/keithkin/archive/2007/05/01/virtual-earth-api-using-tile-layers.aspx" mce_href="http://blogs.msdn.com/keithkin/archive/2007/05/01/virtual-earth-api-using-tile-layers.aspx"&gt;Virtual Earth API: Using Tile Layers&lt;/A&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=5472923" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/keithkin/archive/tags/Virtual+Earth/default.aspx">Virtual Earth</category><category domain="http://blogs.msdn.com/keithkin/archive/tags/MapCruncher/default.aspx">MapCruncher</category></item><item><title>Virtual Earth API: Using Tile Layers</title><link>http://blogs.msdn.com/keithkin/archive/2007/05/01/virtual-earth-api-using-tile-layers.aspx</link><pubDate>Tue, 01 May 2007 22:23:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2361737</guid><dc:creator>keithkin</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/keithkin/comments/2361737.aspx</comments><wfw:commentRss>http://blogs.msdn.com/keithkin/commentrss.aspx?PostID=2361737</wfw:commentRss><description>&lt;P&gt;In the v3 version of the Virtual Earth API,&amp;nbsp;we added support for custom Tile Layers, which allows you to add your own custom imagery and&amp;nbsp;overlays on&amp;nbsp;the map.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;One of our developers, Jaya Bhatia blogged about &lt;A href="http://blogs.msdn.com/jbhatia/archive/2006/09/12/751355.aspx" mce_href="http://blogs.msdn.com/jbhatia/archive/2006/09/12/751355.aspx"&gt;Tile Layers with the v3 Virtual Earth API&lt;/A&gt; awhile back.&amp;nbsp; In the v5 Virtual Earth API, we have now simplified working with custom Tile Layers.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To create custom tiles for Virtual Earth, you can use &lt;A href="http://research.microsoft.com/mapcruncher/" mce_href="http://research.microsoft.com/mapcruncher/"&gt;MSR MapCruncher&lt;/A&gt;.&amp;nbsp; Check out the &lt;A href="http://research.microsoft.com/mapcruncher/tutorial/" mce_href="http://research.microsoft.com/mapcruncher/tutorial/"&gt;step by step tutorial&lt;/A&gt; and a &lt;A href="http://soapbox.msn.com/video.aspx?vid=66a1094c-8490-4e30-b353-88332ba2fe47" mce_href="http://soapbox.msn.com/video.aspx?vid=66a1094c-8490-4e30-b353-88332ba2fe47"&gt;5 minute demo video&lt;/A&gt; of how to use MSR MapCruncher to generate tiles.&lt;/P&gt;
&lt;P&gt;Once you have generated your tiles and hosted them somewhere, you are ready to create a v5 Virtual Earth API mashup with your tile layer.&lt;/P&gt;
&lt;P&gt;For this example, I am using the tiles Jaya generated for her original example from a&lt;A class="" href="http://transit.metrokc.gov/tops/bus/area_images/MetroTransMap.pdf" mce_href="http://transit.metrokc.gov/tops/bus/area_images/MetroTransMap.pdf"&gt; Seattle Metro Transit System Map&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;To load your custom tiles in the Virtual Earth v5 API, you first need to create a &lt;EM&gt;VETileSourceSpecification&lt;/EM&gt; with a string ID and a URL to your custom layer. &lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;var tileSource = new VETileSourceSpecification("SeattleTransit", "http://jbhatia1.members.winisp.net/SeattleTransit/%4.png");&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;The URL to the tile source can have special characters which will be substituted when tiles are loaded.&amp;nbsp; '%4' is used to substitute the tile name using the Virtual Earth naming convention. MSR Map Cruncher generates tiles using the Virtual Earth naming convention, so we can use '%4' as a placeholder for the the name of the tile files.&lt;/P&gt;
&lt;P&gt;You can then set other optional properties for the tile layer on your &lt;EM&gt;VETileSourceSpecification &lt;/EM&gt;object:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;tileSource.Bounds = [new VELatLongRectangle(new VELatLong(49,-123),new VELatLong(47,-121))];&lt;BR&gt;tileSource.MinZoomLevel = 2;&lt;BR&gt;tileSource.MaxZoomLevel = 16;&lt;BR&gt;tileSource.Opacity = 0.6;&lt;BR&gt;tileSource.ZIndex = 100;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;In the above sample, I set the &lt;EM&gt;Bounds&lt;/EM&gt; property which is an array of &lt;EM&gt;VELatLongRectangles &lt;/EM&gt;which specify the coverage area of your tile layer. The &lt;EM&gt;MinZoomLevel &lt;/EM&gt;and &lt;EM&gt;MaxZoomLevel&lt;/EM&gt; properties specify the zoom level ranges where your tiles exist.&amp;nbsp; Using the &lt;EM&gt;Bounds&lt;/EM&gt;, &lt;EM&gt;MinZoomLevel&lt;/EM&gt;, and &lt;EM&gt;MaxZoomLevel &lt;/EM&gt;can be used to restrict where your tile layer is displayed and also improves performance because it will prevent unnecessary attempts to load tiles where they do not exist.&lt;/P&gt;
&lt;P&gt;The &lt;EM&gt;Opacity &lt;/EM&gt;property allows you to specify the transparency of the tile layer.&amp;nbsp;The value can range from 0 to 1, where 0 is completely transparent and 1 is opaque.&lt;/P&gt;
&lt;P&gt;The &lt;EM&gt;ZIndex&lt;/EM&gt; property allows you to specify the z-index for the tiles in the tile layer and allows you to control which tile layers appear over other tile layers.&lt;/P&gt;
&lt;P&gt;Once you have finished creating the &lt;EM&gt;VETileSourceSpecification&lt;/EM&gt;, you can call &lt;EM&gt;AddTileLayer&lt;/EM&gt; on the &lt;EM&gt;VEMap &lt;/EM&gt;to add your tiles to the map.&amp;nbsp; The second parameter indicates whether or not to immediately show the tile layer.&amp;nbsp; In this case, it is set to true so the tile layer will be immediately visible.&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;map.AddTileLayer(tileSource, true);&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Here is a link to the complete working example:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;A href="http://krkinnan.members.winisp.net/samples/v5/tilelayers/vetilelayersample1.html" mce_href="http://krkinnan.members.winisp.net/samples/v5/tilelayers/vetilelayersample1.html"&gt;Virtual Earth API Tile Layer Sample&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;&lt;A href="http://krkinnan.members.winisp.net/samples/v5/tilelayers/vetilelayersample1.html" mce_href="http://krkinnan.members.winisp.net/samples/v5/tilelayers/vetilelayersample1.html"&gt;&lt;IMG src="http://krkinnan.members.winisp.net/samples/v5/tilelayers/tilelayer01.jpg" border=0&gt; &lt;/A&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;For more information regarding the Virtual Earth APIs, see the &lt;A href="http://dev.live.com/virtualearth/sdk/" mce_href="http://dev.live.com/virtualearth/sdk/"&gt;Virtual Earth Interactive SDK&lt;/A&gt;.&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=2361737" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/keithkin/archive/tags/Virtual+Earth/default.aspx">Virtual Earth</category><category domain="http://blogs.msdn.com/keithkin/archive/tags/Virtual+Earth+API/default.aspx">Virtual Earth API</category><category domain="http://blogs.msdn.com/keithkin/archive/tags/MapCruncher/default.aspx">MapCruncher</category></item></channel></rss>