Two New Data Modules for Bing Maps V7

 

By Ricky Brundritt, EMEA Bing Maps Technology Solution Professional

In September of 2011 we started the Bing Maps v7 Module CodePlex Project. The purpose of this project is to create a centralized location where developers could find and share useful modules that expand the functionality of the Bing Maps V7 API. Since the start of the project, we’ve had 15 modules submitted.

Today, I would like to highlight the two newest modules added to the project and provide a few updates to existing modules.

GeoJSON Module

Download here

This module was created by Brian Norman a Microsoft Bing Maps MVP from Earthware Ltd.

This module allows you to import GeoJSON files into Bing Maps. A GeoJSON feed will be downloaded and parsed into an EntityCollection which can then be added to the map. Additional properties are captured and stored in a Metadata tag on each shape making it easy to relate shapes to their metadata.

GeoJSON is a data format standard used for representing geospatial objects in JSON (JavaScript Object notation). JSON is much more compact than XML which makes it a great format for sharing spatial data online. In fact the AJAX Map DataConnector uses GeoJSON to send spatial data from SQL Server to Bing Maps.

Well Known Text Reader/Writer Module

Download here

I created this module because I wanted a simple tool for quickly visualizing Well Known Text on Bing Maps. This module allows you to easily read and write Well Know Text data from Bing Maps. When reading Well Known Text data it is parsed into Bing Maps shapes; MultiPoint, MultiLinstring, MultiPolygon and GeometryCollection are turned into an EntityCollection of shapes. To write Well Known Text simply pass in a Bing Maps shape and the Well Known Text equivalent will be returned.

clip_image004

Well Known Text (WKT) is an OGC (Open Geospatial Consortium) standard for representing Geospatial Data. In fact WKT is supported by the spatial types in Microsoft SQL Server 2008 and above as well as SQL Azure.

*Project Idea: Combine this module with the Shape Toolbox Module and make it easy for your users to draw on the map and upload the shape data into Microsoft SQL Server.

*Demo Tip: Use this module to quickly create demos that render complex spatial data. Simply store your Well Known Text in a JavaScript file as a string to save time setting up a web service to connect to your database. Note: this approach is not recommended for production applications as loading all the spatial data via a JavaScript file can make for slow loading of your application.

Other Data Related Modules

GeoRSS Module – GeoRSS is a common XML file format for sharing spatial data as a syndication feed. This module also supports GML, an OGC compliant XML format. This module has been updated to support Complex Polygons (polygons with holes).

GPX Module – GPX is a common XML data format that is used by GPS devices. Many GPS devices allow you to stave points, routes and tracks which can then be exported from the device in GPX format. This module makes it easy to view these files on Bing Maps.

MapMyFITNESS and Google Maps API for Business

Being fit means moving and moving means going someplace. We created the MapMyFITNESS applications because we are passionate about living active lifestyles and we wanted a way to both track our progress and explore new activities. We wanted to help people experience this passion for themselves. As our community of MapMyFITNESS users has grown to over 9 million people, we have continually worked to make the applications easier to use and more effective at motivating people to keep moving, whether they’re elite athletes or people just getting started.

A key component to that mission has been our integration with Google Maps, which has made it easy for our users to find new routes or make their own, then share them with the rest of the MapMyFITNESS community. As one of the earliest Google Maps API developers, we noticed it was easy to incorporate the mapping functionality into our product. As we set about to completely rebuild our platform that launched earlier this month, our goal was to expand the ways users could take advantage of Google Maps’ latest API functionality. We’ve gone from tracking and sharing routes in our old platform to providing “Courses” in our new platform. Courses provide our users with real-time data like traffic patterns and temperature, and include “check-in” technology that helps them track workouts, share their progress, and compete in our new leaderboard against specific groups of people. They can compete with local clubs, friends, and most importantly against themselves and their own progress.

The Google Maps API allowed us to show the important information to our users in an easy to read format. Users can visit our site to find new cycling, running or walking routes by searching for the route while viewing it on the map. By using the Google Maps API were we able to incorporate the Street View API to create virtual tours of routes and the Elevation API to calculate how many feet you climb – and descend – during your workout. That familiarity, in addition to fantastic technology and features, makes the user experience both easier and more powerful.

Travel as a Roman

Stanford University have created a “Geospatial network model of the Roman world”
Impressive Interactive Map that can calculate  travel times and cost (in Denarius)
ORBIS, can calculate journey times between 751 locations in the Roman world. The site draws data from The BarringtonAtlas of the Greek and Roman World which has  been georeferenced by Cambridge University Students. To calculate voyages on water, the site uses maps of rivers. Sea journeys are also possible, with routes calculated from the Romans’ preferred sea routes. Dijkstra’s pathfinding algorithmis applied to calculate routes.
The Mapping tool also calculates route dependent on the month for a journey, as weather conditions at sea and on land had a major impact on ancient travel times.
Users can choose from a menu of transport/travel options:
  • Foot/army/pack animal, mule cart/camel caravan
  • Military March (Rapid)
  • Ox & cart
  • Fully loaded mule
  • Horseback rider (routine travel)
  • Private travel (routine, vehicular)
  • Private travel (accelerated, vehicular/horseback)
  • Fast carriage
Try the Roman Travel Interactive Map:
Information on the Geospatial Technology used is see the section tabs:
Building ORBIS: Multi-modal network model via the Building ORBIS tab and selecting the Geospatial Technology Tab.
via:mapperz.blogspot.com

Garmin’s multi-sensor controller concept for infotainment systems helps reduce driver distraction

 

Garmin Multi-Sensor Controller Concept_Close-up

With the increasing use of technology and smartphones behind the wheel, driver distraction has become a concern. But technology in general is not the problem. The most important question is how it is being used and integrated into the car so that it doesn’t distract drivers. Garmin’s new multi-controller concept provides a new and unique way of controlling essential functions of an in-car infotainment system, such as audio, apps, communications and navigation. It is a concept development from Garmin’s automotive OEM group, providing further research for enhanced reduction in driver distraction.

Garmin Infotainment Multi-Controller Concept Audio Low Res

Garmin’s concept positions the screen higher up on the dash inthe driver’s eyesight and combines it
with a rotary infrared controller in convenient reach, a touch pad, and menu mode buttons. The infrared sensors of the rotary controller automatically detect an approaching hand and the system reacts by displaying menu options even before it is touched. Because the system “knows” when a user is reaching for the controller, menu buttons on the screen are hidden when not needed. At all times important information, such as driving directions and the name of a song or radio station is kept at the top of the screen so the driver always has a single reference point. Four buttons with infrared sensors on the rotary controller allow switching between different menus, such as audio, apps, communications and navigation.

In addition to the rotary controller, radio preset buttons with infrared sensors are positioned below the screen to allow a driver to feel for the right button without having to press it – when their finger is close to a preset button, a highlighted preset image appears on the display, allowing the driver to select a station.

Tied into this system can be HVAC controls, vehicle bus information, connected services and apps from a smartphone. Existing technology like text-to-speech, voice command, Bluetooth hands-free calling and traffic services also helps alleviate driver distraction to avoid potentially dangerous situations.

Garmin’s automotive OEM group utilizes the company’s long-standing experience in interface and hardware design from its automotive, avionics and marine segments to develop innovative in-car navigation, telematics and infotainment systems. Garmin already provides integrated cockpits to the aviation industry and is dedicated to bring a similar level of technology, integration, safety, reliability, and efficiency to the automotive market. Garmin recently announced its first fully integrated infotainment system for most 2013 Suzuki vehicles.

 

 

SketchUp: NHS Western Isles Hospital

 

GreenspaceLive is a software and consultancy shop based on the Isle of Lewis in Scotland. The company was founded in 2008 as a spin-out from the Greenspace Research, a low-carbon building and renewable energy research program at Lews Castle College, University of the Highlands and Islands. This case study about gModeller, the company’s SketchUp energy analysis plugin based on gbXML, comes to us from Donald Macaskill, Technical Manager and Energy Engineer at GreenspaceLive.

Making hospitals more energy efficient

Hospitals have unique energy consumption demands. Not only do a hospitals require lighting and heating 24 hours a day, but they also require ventilation, sterilization, laundry, food preparation and important medical equipment to be powered as well. Therefore, any improvements made to the building could drastically reduce the bills, freeing up money to be spent elsewhere.

The NHS Western Isles Trust are very proactive in trying to reduce their energy costs and carbon footprint. To determine their baseline energy consumption and carbon emissions and then to simulate a number of fabric and technology improvements to their largest building, they turned to GreenspaceLive. A hospital model and energy analysis workflow was created in Google SketchUp Pro with GreenspaceLive’s gTools suite.

 

Completed model for gModeller 

 

Project Methodology

To start, existing 2D CAD models and scanned paper drawings were shared via gWorkspace. These floor plans were then imported into Google SketchUp Pro. Once the floor plans had been imported, each floor was extruded to the correct height and dimensions. A detailed model is not required for the gModeller plugin, so the model could be simplified to single faces for walls, floors and roofs.

Once completed, attributes were added to the model using the gModeller’s customised materials, located within the Paint Bucket tool in SketchUp. Next, spaces were identified using the manual Space tool, which allowed the model to have zone specific information, such as heating, lighting and ventilation for different areas.

 

The completed gbXmL model 

 

The gbXML building information model generated by gModeller was now ready to be exported to an energy analysis engine. In this case, gEnergy was used, however, exported models can also be imported into Green Building Studio, Ecotect, Trace, DesignBuilder and others. gEnergy was initially run using the Hospital’s existing fabric and technologies to establish a baseline Energy Performance rating, subsequent analysis runs were then carried out with simulated improvements to the building, including proposed refurbishment changes, to determine the impact they would have on performance of the building.

Once gEnergy runs were completed, the model was exported to Google Earth and presented to the clients, showing gDashboard energy results on screen while touring their model.

 

The model in Google Earth with energy data 

 

Using the gWorkspace cloud platform, the modeling team was able to share and collaborate with the client throughout the process. Team members and client representatives were able to view, download and share files from the project, as well as view all energy runs that were undertaken.

The Results

Armed with the tools and the data, NHS Western Isles Hospital were able to model different scenarios and view the impact these changes would have. The results were dramatic – making a number of changes to the heating system, the team was able to demonstrate that the most effective change would result in over 50% energy savings, while reducing the CO2 emissions by almost 80%.

Dave Tierney, part of the Energy Team at NHS Western Isles Hospital said, “Using gTools, senior executives and staff received an overview of our carbon emissions, energy consumption and the impact changes in technology and fabric will have on our building. We can clearly see the differences in low carbon technology investment options. The results will help shape our plans for tackling carbon emissions and energy consumption in the future.”