Vector Shapes on Bing Maps

In addition to their obvious functional purpose, maps can be objects of great aesthetic beauty. On my bookshelf I have a book (The Map Book, by Peter Barber) full of beautiful illustrations of maps throughout history, such as these:

image image
image image

Perhaps it is unreasonable to compare a simple web-mapping tool such as Bing Maps to the art of a master cartographer, but one thing is certain; namely, this is not beautiful:

image

I try to convince myself that Microsoft chose these horrible default colours so that people would look at them, think “My God – those colours are awful – I must change them!”, and then look up how to set the FillColor, StrokeColor, and StrokeThickness properties of the Microsoft.Maps.Polygon object, but in practice this doesn’t always happen. Every time I see a default-coloured polygon like that above, I’m sure Marinus of Tyre must turn in his grave.

But it doesn’t have to be like this. Applying some simple style rules to change the fill and stroke properties can have a dramatic improvement on the appearance of your map. As an example, I took around 3,000 features from the OS Vector Map dataset in an area around Norwich and plotted them on Bing Maps as polylines and polygons. Every element contained an additional feature code property, which described the type of feature using the same numbering system as with the Ordnance Survey’s own dataset. For example, feature code 25710 is a motorway; code 25999 is an area of woodland, and 25301 is a single-track railway.

Then I created a set of “stylesheets” – simple arrays of different Microsoft.Maps.Color values that should be applied to features based on their type. For example:

var style1 = {
  // Building
  25014: {
    strokeColour: new Microsoft.Maps.Color(alpha, 126, 119, 98),
    strokeWidth: 1,
    fillColour: new Microsoft.Maps.Color(alpha, 232, 214, 176)
  },
  // Glasshouse
  25013: {
    strokeColour: new Microsoft.Maps.Color(alpha, 232, 214, 176),
    strokeWidth: 1,
    fillColour: new Microsoft.Maps.Color(alpha, 255, 255, 255)
  },
  // Electricity Transmission Line
  25102: {
    strokeColour: new Microsoft.Maps.Color(alpha, 158, 170, 158),
    strokeWidth: 1
  },
  ...
}

And finally, a simple function that looped through the elements on the map and applied the correct “style” to each element based on its feature code, using the setOptions() method. The results are shown below, or you can try a live demo here.

image
Default
image
Style 1
image
Style 2
image
Black and White
image
Random (very Mondrian-esque, I think!)

Google Earth: Expanded 3D Buildings

Looking for new 3D cities to explore in far off places? Well, you’re in luck! We’ve been hard at work expanding our 3D coverage by adding ten of thousands of 3D buildings to these cities:

  • Berkeley, California USA
  • Cologne, Germany
  • The Hague, Netherlands

See the new buildings for yourself with the “3D Buildings” layer in Google Earth or by using Google Maps with Earth view.

 

 

 

 

 

Mapquest 4 – Free Turn by Turn on the iPhone

I very rarely drive to places unknown and thus am in little need of turn by turn navigation. Certainly not enough to buy a dedicated GPS device and not enough to warrant investing $99 in the iPhone TomTom app.

But it turned out that it was best for me to drive to Getlisted Local U in Grand Rapids this past week and since I was traveling solo I decided to use Mapquest 4′s iPhone app with turn by turn capability. I had 3 legs to the trip; Olean to a near in Detroit suburb, Detroit to Grand Rapids and Grand Rapids to Rondeau Provincial Park in Canada. With but one glitch, I can report that the performance of the product was superb… it reliably alerted me of upcoming turns, had very accurate maps and even went into a reduced volume mode when I was talking on the phone so that I could hear its instructions in the background

I can’t speak to its global use or even its value in far away places where road data is likely to be less accurate but as a general purpose tool it performed very well almost all of the time.

The one exception was when attempting to get onto the bridge to Canada in Detroit…. the entrance was under construction and between the GPS and the detour signs I was caught in an endless loop across the highway several times and not finding the entrance. When I finally saw a state road sign that read:

Follow the detour signs NOT your GPS (idiot was implied) I realized that Mapquest was not the only GPS experiencing the problem. The mass of cars of which I was but one, seemed to be guided by the same bad instructions, and all successfully made it onto the bridge and into Canada.

As smart phone penetration has reached such high levels and the quality of free turn by turn products hits “good enough” levels, the role of the low end dedicated GPS devices will continue to decline.

The market is reflecting this reality. TomTom bought TeleAtlas for $8 billion several years ago. The combined company is now worth a fraction of that and things don’t look rosy for them going forward. Certainly a $99 app isn’t going to save them.

With Google going their own way on map data in the US and Bing partnering so closely with Nokia, the opportunities for TomTom/TeleAtlas seemed to be dramatically diminished in the low end. Its not clear who would want to buy the combo either.

The Snippets Gone From Google Results

Sometime over this past weekend Google stopped showing any review snippet with either Blended or the Branded One Box Results in the main search results view for many results. It appears that snippets are still visible in restaurants, hotels and possibly other heavily reviewed areas

New view (from 6/27):
 

 


 
View from last week (taken 6/23)
 

Review snippets have also been removed from most typical blended results (again with the exception of restaurants/hotels). This change seems consistent with the recent change to remove the images from the Blended results that occurred earlier in the month and effectively moves more information above the fold. Review snippets were first seen in the Google Blended results tests that ran last summer and were a regular part of the results since the Blended results were formally released in late October of last year. For me, they were a salient feature that dramatically changed the role of reviews in reputation management bringing a “typical review” front and center for all to see. The review snippets were derived via algo and were intended to provide a representative flavor of the review corpus. As in my example above, the snippets were not always accurate.  While I don’t think that was a reason in their demise, I am sure some businesses will be grateful they are gone.

Shenandoah National Park

On July 3rd, Shenandoah National Park in Virginia will turn 75 years old, and the official celebration just took place over the weekend. With that in mind, we thought it’d be a good time to take a look at the park. NASA has just released an image taken last fall at the height of leaf-peeping season, as autumn is one of the more popular times of year at the park, and it’s quite an awesome image.

shenandoah-leaf.jpg

To see that image for yourself in Google Earth, simply load up this KML file .
 


 

While you’re there, take some time to explore other areas of the park. The celebration occurred at Big Meadows (KML ), a popular gathering spot for people that travel down skyline drive. The Appalachian Trail passes right near Big Meadows as part of its 2181 mile stretch as well.

Another popular destination in the park is Old Rag Mountain, which reaches a height of 3291 ft (KML). Thanks to Google Earth’s new mountain features, it also showcases a tour that gives you a brief spin around the mountain.

old-rag.jpg

Have any of you had a chance to visit Shenandoah yet? If so, what was your favorite part of the park?