introduction - grey matter€¦ · public transit routes • optimise your travel routes •...

Post on 14-Oct-2020

0 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

IntroductionBing Enterprise Mapping APIs

Distance Matrix | Snap to Road | Isochrone

Common features across all APIs

Standard, easy to use and understand REST interfaces

Use a language of your choice

Easy integration with existing applications

Payloads returned in either JSON or XML

Distance Matrix API

• Generates Travel Timesand Distances for sets of Origins and Destinations

• Driving, walking and public transit routes

• Optimise your travel routes

• Predictive Traffic

Use Cases for Distance Matrix API

Sorting search results by their travel distance or time.

Determining arrival times based on travel times.

Calculating the difference in commute times between locations.

A Common Use Case:

Traveling Salesman Problem (TSP)

Given a list of cities and the distances between each pair of cities, what is the shortest possible route that visits each city exactly once and returns to the origin city?”

Example Journey

Origin • London

Destinations:• Leeds

• York

• Liverpool

Demo:

Using the Distance Matrix API to find the nearest client with Postman

Verifying results

Snap to Road API

A problem with route planning, navigation and system generated coordinates…

…sometimes the coordinates supplied don’t always match up to the road or path you need to travel on!!!

Newcastle upon Tyne

Lat: 54.978252Long: -1.61.778…another well known mapping service

How does the Snap to Road API help?

Example Journey

• Newcastle upon Tyne• 54.978252, -1.61778

• Gosforth• 55.008279, -1.618878

• Scalinis Restaurant• 55.01942, -1.621357

Comparison

After processing with the Snap to Road API

Demo:

The Snap to Road API in action using C#

Other Features that ship with the Snap to Road API

• Can identify speed limits• Multiple travel modes• Support for JSON and XML

Isochrone API

What is the Isochrone API?

Provides time-specific, isoline polygons for thedistance that is reachable from a given location.

• How long will it take me to get to [location]• Where can I get to in X minutes

Features

optimal travel-times optimal travel-distance isolines

multiple transport modes

predictive traffic avoid routes that use tolls or highways

Use Cases

Stolen Vehicle Recovery - Where could a vehicle have travelled to since it was stolen?

Recreation - Where could I walk to within 30 minutes of where I am?

Emergency Services Planning - Where could an emergency vehicle travel to within 5, 10, and 15 minutes?

Marketing - Identify catchment areas for the placement of consumer ads (proximity marketing), e.g. the target audience may live within a 15-minute walk of a local park.

Recruitment - Isochrones can help recruitment agencies surface locations when looking to fill location roles, thereby allowing recruitment agents to pin-point to the postcode, where prospective candidates should ideally live.

Returns pairs of Polygon Coordinates

Use Polygon data returned by the Isochrone API to power rich visualisations.

Isochrone API Demo

http://bmlabs.azurewebsites.net/v8-Isochrone/index.html

Thankyou

top related