by Simon Bisson
Location and mapping services open up new possibilities for your applications. Simon Bisson explores further.
HardCopy Issue: 51 | Published: February 1, 2011
It wasn’t that long ago that we all used to carry A-to-Zs, road atlases and almanacs just to find where we wanted to go. We used to go to the RAC or the AA to get dot matrix printouts of directions every time we planned a family holiday or an important business trip. That’s all changed with the advent of online mapping services, and the ability to quickly get an up-to-date map with easy to follow directions on our desktop PCs or our mobile phones.
Mapping and geolocation are now important business tools and, with a new generation of CRM and service management tools, are being baked straight into our business processes. It’s no longer sufficient to post a link to Google Maps or StreetMap – users now expect interactive mapping tools in their applications, both on the desktop and on the Web, and these maps are expected to be dynamic and responsive.
You can still write your own mapping tools, but it’s a lot easier to work with an existing framework, especially one that gives you access to regularly updated mapping material as well as the navigation features that users expect. Component and Web technologies mean that it’s possible to make these maps a seamless (or at least lightly branded) part of your application.
There’s a lot that can be done with the current generation of mapping tools. Companies like Dell are using them to change the way the company thinks about field service, giving operators in its internal call centres direct visibility of just where engineers vehicles are so that they can quickly reroute engineers to the most urgent calls. Maps power emergency services, and they can help your businesses too. You just have to look at events like Where 2.0 to see just what people are doing with mapping tools.
Microsoft’s Bing Maps gives you a set of controls that allow you to add it to Silverlight applications or to any Web site or desktop application. While it may seem to be a new entrant, this is actually a mature product with many of the key features that developers need. The work Microsoft did in building Live Maps, and the Terra Server research project before it, means that the APIs are clear and easy to use, and there’s a wealth of data behind them.
It’s important for any map service to have tools for converting address data into locations, a process known as geocoding. Bing Maps’ geocoding facilities make use of several different geocoding tools, along with address and location data sets and a reverse IP look up tool to locate your users and the sites they’re looking for. There’s also support for reverse geocoding, allowing you to take a latitude and longitude and convert it into an address.
Bing Maps gives both developers and users a range of navigation tools. One option gives you one-click directions to any location without needing a starting address, and you can also deliver directions based on the shortest time between two points, the shortest distance, or the prevailing traffic flow. Bing Maps can provide directions in 15 different languages, and use localised mapping conventions to make sure maps are easily understood.
As part of the overall Bing search platform, Bing Maps comes with a selection of tools to simplify location search. One option helps reduce user errors, supporting alternative and similar spellings, and helping to find locations even if the user makes mistakes filling out search terms. There’s also support for international naming, recognising that ‘Firenza’ is Florence. If you’re using Bing Maps on a travel site you can let users see points of interest around their location or along their route.
Bing Maps gives you the usual aerial photography views, with the option of a map overlay. It also has its own Bird’s Eye View, a 45 degree angle view for many cities which is useful for pinpointing exact locations. If you’re delivering map data around a specific location then you can pre-load the appropriate tiles from Bing Maps which makes panning a lot faster and gives your users a much better experience.
Bing Maps is customisable and can work with data from other services using the common KML and GeoRSS formats. These let you import and reuse shapes, pins, and lines so that you can automatically generate geocoded information ready for use in a map application. You can also tweak the look and feel of Bing Maps itself. You can easily add your own 3D models to Bing Maps, and customise lines and shapes on the map, creating your own overlays to, for example, show the planned layout for roads and buildings in a new development. Information displayed on the map can be quickly created using HTML and CSS.
You can also create and add your own markers to maps, and use Google’s own local search and navigation tools.
If you’re using Flash then there’s a Google Maps API that lets you use Maps content in your Flash applications, including support for 3D map views. Google also provides a set of controls and an API for working with Google Earth data, so you can provide your users with a globe rather than the traditional flat map.
If you’re planning on using the free public Google Maps API then you need to ensure that you’re only using it for a free, end-user consumer service. Other implementations need different licences and require a commercial relationship with Google.
While many of today’s mapping services pull information from their own and from commercial geo-data sources, for real accuracy you need to go to government sources such as Ordnance Survey. The OS recently introduced a new and simpler licensing model for its data, as a result of changes in government policy.
Working with Bing Maps
Mapping solutions provider Earthware has been working with both Microsoft and New York-based company Foursquare to enhance the Foursquare application through a bespoke Bing Maps App. Foursquare is a location-based mobile platform that, in the company’s own words, sets out to “make cities easier to use and more interesting to explore.” Users ‘check in’ to Foursquare using a smartphone app (American users can also check in with a standard text message). Once checked in they can share their location with friends, leave comments about venues they have visited, and read comments left by other users. There are various incentive systems involving points and status, and participating venues can alert you to special offers available to Foursquare users. The platform currently boasts more than five million users across the world.
The standard Web interface for Foursquare lists check-ins and comments as they happen, and gives you the ability to see an individual check-in plotted as a place pin on a standard Google map. The experience is fairly flat as you cannot interact with the map and there are no real time updates. What Earthware has done is construct a Silverlight application that integrates the Foursquare platform with Bing Maps through their respective APIs. The result is Foursquare Everywhere, presenting users with a far more interactive map that is updated in real time as new check-ins and comments appear.
You can find out more at www.earthware.co.uk, or you can see the Foursquare Everywhere app in action at www.bing.com/maps/explore/#/1xzcw7rwxqktjpgg. Earthware co-founder Brian Norman also runs the UK Bing Maps User Group at http://bingmapsuk.ning.com.
The main changes to the OS map data licences allow commercial partners to distribute all of the OS mapping data, apart from the MasterMap Imagery Layer. This means that developers will be able to purchase OS transport network information, topographic information and 1:10,000 scale maps. There are fewer licence types than before, and they’re easier to understand. It also means that certain types of derived data from OS mapping information are free to use. Furthermore you don’t need to take out a data licence to start building your OS-based mapping applications as sample data sets are available for free.
If you’re building a desktop mapping application that needs access to demographic information then Microsoft’s MapPoint is a useful tool. A standalone mapping application, MapPoint 2010 can bring in business information from line-of-business and productivity applications, letting you visualise information geographically and pull out trends relating to geographical and demographic factors.
MapPoint maps can be included in Office documents, or embedded in your own applications. There’s even an SQL Server add-in which simplifies the process of adding geographical queries and reports to your own data stores and data warehouses. Microsoft sells separate versions of MapPoint 2010 for Europe and the US, so make sure you buy the right one!
Pitney Bowes MapInfo
Like Microsoft’s MapPoint, Pitney-Bowes’ MapInfo Professional is a business intelligence tool that helps you get the most from your geographic data. MapInfo Professional is at heart a visualisation tool that lets you display data on a map using a wide range of charting tools, including ring charts, spider graphs and thematic maps. You can connect MapInfo to a wide range of data sources, including spreadsheets and databases, giving business analysts the ability to quickly explore and display geographic data even if they don’t have specific geographic information skills.
MapInfo lets you create custom maps, so as well as showing geographic information, you can use it to manage property and assets – and even show where your people are. Other options let you work with infrastructure and plan how your business handles sales and logistics. Data can come from local sources, such as Excel and Access, or from remote databases including Oracle and SQL Server. Once data has been acquired, you use the built-in design and editing tools to prepare data for mapping. Maps can be divided into territories and colour-coded using calculated values, helping you see just what your data means from a geographic perspective. Once designed, maps can be published in many different formats and integrated with existing applications. You can also publish maps to the Web, either as static displays or interactive web applications.
Into the future
There are big changes coming to mapping technologies. At CTIA Enterprise, towards the end of last year, NAVTEQ unveiled a new and friendlier way of giving directions. Instead of street numbers and names, familiar landmarks become part of the directions. We normally give directions by telling people to “turn left at the pub and right at the red shop.” NAVTEQ’s tools will give our applications the same user-friendly approach.
The opening up of Ordnance Survey data and postcode databases (and the prospect of a national address database) will mean easier access to high quality mapping data, together with more effective and less expensive geocoding tools. Services such as Microsoft’s Azure Data Market are also providing access to massive sets of geographic and demographic data, which can be added into your applications using the open OData protocol, giving you many more tools for building high-quality geographic applications.
Tied together with local search, maps are becoming increasingly important. Convenient and no-longer difficult to fold and unfold, today’s digital maps are an integral part of many business applications. Web services means they’re always up to date and always improving. Recent updates to Bing Maps improved legibility and added much higher resolution aerial imagery, and cloud-based mapping services are just going to get better. Other recent changes to Bing include the addition of a layer of map data from the Open Street Map project, a crowd-sourced mapping service that’s adding detailed information for towns and villages around the world at a level that commercial map providers can’t economically match – and that can be up to date as soon as there are any changes to the streets and buildings that its volunteers monitor.
Geographic information is a powerful tool. It can help your business analyse information more effectively, plan responses appropriately, and ensure that staff get to where they need to be as quickly and as efficiently as possible. Consumers accessing your Web sites will be able to find your premises more easily, making their journeys easier and less stressful, improving their experience and making them more likely to spend. With a wide range of mapping services on the market, and a wide selection of APIs that make them easy to integrate into Web applications, enterprise and desktop software, it’s not a question of whether you are going to use mapping tools in your applications, but which services you are going to choose.