210 likes | 465 Views
Copyright 2006 Active Web Solutions Ltd. Zoom in: the world on your ... hybrid) A mashup is a website or web application that seamlessly combines content ...
E N D
Slide 1:Building Mapping Mash-ups with Microsoft Virtual Earth™
Rob Blackwell
Slide 2:Agenda
Demo 1: Getting started Building business applications with Virtual Earth – GPS, geospatial data etc Demo 2: GeoRSS Demo 3: Microsoft Map Cruncher Map layers and tile servers Demo 4: Roll your own tile server Final Thoughts Copyright © 2006 Active Web Solutions Ltd
Slide 3:Zoom in: the world on your laptop in 3-D Sunday Times, November 26 2006
"We are committed to creating a technology which allows you to find anything through a 3-D interface" David Graham, Microsoft UK "The move may bring about a transformation in how people use the internet" Copyright © 2006 Active Web Solutions Ltd
Slide 4:Mashup (web application hybrid) A mashup is a website or web application that seamlessly combines content from more than one source into an integrated experience
Wikipedia Copyright © 2006 Active Web Solutions Ltd
Slide 5:Demo 1
Build a simple Virtual Earth application Copyright © 2006 Active Web Solutions Ltd New Vis Studio Web App Cut n paste SDK code Modify for London Pushpin the building Turn on 3DNew Vis Studio Web App Cut n paste SDK code Modify for London Pushpin the building Turn on 3D
Slide 6:Business Applications
What geographic data do we have? What data formats? How can we collect more information about the location of people and assets? How can we integrate with existing business applications? Copyright © 2006 Active Web Solutions Ltd
Slide 7:Typical Geospatial Data
People and addresses Office locations Expensive assets Property, land use Vehicle tracking Geo tagged documents / photographs Plans, maps, diagrams, models Copyright © 2006 Active Web Solutions Ltd
Slide 8:Getting Lat Longs
GPS Device Traditional GIS Postcode Lookup Gazetteer Lookup Microsoft Virtual Earth VEMap.Find , VEMap.FindLocation , VEMap.FindNearby Convert from other coordinate systems – OS National Grid Manual placement Copyright © 2006 Active Web Solutions Ltd
Slide 9:GPS Devices
Mitac MIO is a Windows Mobile 5 Pocket PC with Integrated GPS USB or Bluetooth GPS Bundled with AutoRoute Garmin handheld GPS Asus UMPC Copyright © 2006 Active Web Solutions Ltd
Slide 10:Data from GPS Devices
Plug into a serial port, 4800-baud ASCII NMEA 0183 standard $GPRMC,123519,A,4807.038,N,01131.000,E,022.4,084.4,230394,003.1,W*6A Easy to parse Fix taken at 12:35:19 UTC Latitude 48 deg 07.038' N Longitude 11 deg 31.000' E Copyright © 2006 Active Web Solutions Ltd
Slide 11:Mobile Phone Location Based Services
Based on cell and triangulation Sign up with a location gateway service Get approval from mobile operators Accuracy Urban areas around 300 metres. Semi-urban 600 metres to 1.2km. Rural 1km to 10km. Personnel and asset tracking Copyright © 2006 Active Web Solutions Ltd
Slide 12:Satellite Tracking
Iridium Inmarsat Copyright © 2006 Active Web Solutions Ltd
Slide 13:Demo 2
Adding a GeoRSS feed Copyright © 2006 Active Web Solutions Ltd
Slide 14:Demo 3
Microsoft MapCruncher Copyright © 2006 Active Web Solutions Ltd
Slide 15:Microsoft Tile Servers
Use MS Developer Toolbar or Fiddler to see what’s going over the wire Urls look like this http://r2.ortho.tiles.virtualearth.net/tiles/r120202001322.png?g=22 These map to 256x256 PNG files Same layout as MapCruncher! This is a quad key algorithm that splits a map into successive quadrants at 19 zoom levels Copyright © 2006 Active Web Solutions Ltd
Slide 16:Level 1
Copyright © 2006 Active Web Solutions Ltd
Slide 17:Level 2
Copyright © 2006 Active Web Solutions Ltd
Slide 18:Roll Your Own Tile Server
Build an HTTP handler that intercepts tile requests Map quad keys to lat longs based on Mercator projection Construct your own 256 x 256 tiles VE control will stitch them together automatically, even in 3D ! See my article on Via Virtual Earth for more info .. Copyright © 2006 Active Web Solutions Ltd
Slide 19:Demo 4
Roll your own tile server Copyright © 2006 Active Web Solutions Ltd
Slide 20:Final Thoughts
Consider geospatial aspects in the apps you write. Take GIS to a wider audience Use Service Oriented Architecture Expose data as RSS, GeoRSS, Mapcrunch tiles Think client-side aggregation Beware data scalability issues Copyright © 2006 Active Web Solutions Ltd
Slide 21:Resources
Virtual Earth Interactive SDK dev.live.com/virtualearth/sdk/ MSR MapCruncherresearch.microsoft.com/mapcruncher/ Roll you own tile serverwww.viavirtualearth.com Mapping Hacks Book www.aws.netrob.blackwell@aws.net Copyright © 2006 Active Web Solutions Ltd