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

24
Introduction Bing Enterprise Mapping APIs Distance Matrix | Snap to Road | Isochrone

Upload: others

Post on 14-Oct-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Introduction - Grey Matter€¦ · public transit routes • Optimise your travel routes • Predictive Traffic . Use Cases for Distance Matrix API Sorting search results by their

IntroductionBing Enterprise Mapping APIs

Distance Matrix | Snap to Road | Isochrone

Page 2: Introduction - Grey Matter€¦ · public transit routes • Optimise your travel routes • Predictive Traffic . Use Cases for Distance Matrix API Sorting search results by their

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

Page 3: Introduction - Grey Matter€¦ · public transit routes • Optimise your travel routes • Predictive Traffic . Use Cases for Distance Matrix API Sorting search results by their

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

Page 4: Introduction - Grey Matter€¦ · public transit routes • Optimise your travel routes • Predictive Traffic . Use Cases for Distance Matrix API Sorting search results by their

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.

Page 5: Introduction - Grey Matter€¦ · public transit routes • Optimise your travel routes • Predictive Traffic . Use Cases for Distance Matrix API Sorting search results by their

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?”

Page 6: Introduction - Grey Matter€¦ · public transit routes • Optimise your travel routes • Predictive Traffic . Use Cases for Distance Matrix API Sorting search results by their

Example Journey

Origin • London

Destinations:• Leeds

• York

• Liverpool

Page 7: Introduction - Grey Matter€¦ · public transit routes • Optimise your travel routes • Predictive Traffic . Use Cases for Distance Matrix API Sorting search results by their

Demo:

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

Page 8: Introduction - Grey Matter€¦ · public transit routes • Optimise your travel routes • Predictive Traffic . Use Cases for Distance Matrix API Sorting search results by their

Verifying results

Page 9: Introduction - Grey Matter€¦ · public transit routes • Optimise your travel routes • Predictive Traffic . Use Cases for Distance Matrix API Sorting search results by their

Snap to Road API

Page 10: Introduction - Grey Matter€¦ · public transit routes • Optimise your travel routes • Predictive Traffic . Use Cases for Distance Matrix API Sorting search results by their

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!!!

Page 11: Introduction - Grey Matter€¦ · public transit routes • Optimise your travel routes • Predictive Traffic . Use Cases for Distance Matrix API Sorting search results by their

Newcastle upon Tyne

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

Page 12: Introduction - Grey Matter€¦ · public transit routes • Optimise your travel routes • Predictive Traffic . Use Cases for Distance Matrix API Sorting search results by their

How does the Snap to Road API help?

Page 13: Introduction - Grey Matter€¦ · public transit routes • Optimise your travel routes • Predictive Traffic . Use Cases for Distance Matrix API Sorting search results by their

Example Journey

• Newcastle upon Tyne• 54.978252, -1.61778

• Gosforth• 55.008279, -1.618878

• Scalinis Restaurant• 55.01942, -1.621357

Page 14: Introduction - Grey Matter€¦ · public transit routes • Optimise your travel routes • Predictive Traffic . Use Cases for Distance Matrix API Sorting search results by their

Comparison

After processing with the Snap to Road API

Page 15: Introduction - Grey Matter€¦ · public transit routes • Optimise your travel routes • Predictive Traffic . Use Cases for Distance Matrix API Sorting search results by their

Demo:

The Snap to Road API in action using C#

Page 16: Introduction - Grey Matter€¦ · public transit routes • Optimise your travel routes • Predictive Traffic . Use Cases for Distance Matrix API Sorting search results by their

Other Features that ship with the Snap to Road API

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

Page 17: Introduction - Grey Matter€¦ · public transit routes • Optimise your travel routes • Predictive Traffic . Use Cases for Distance Matrix API Sorting search results by their

Isochrone API

Page 18: Introduction - Grey Matter€¦ · public transit routes • Optimise your travel routes • Predictive Traffic . Use Cases for Distance Matrix API Sorting search results by their

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

Page 19: Introduction - Grey Matter€¦ · public transit routes • Optimise your travel routes • Predictive Traffic . Use Cases for Distance Matrix API Sorting search results by their

Features

optimal travel-times optimal travel-distance isolines

multiple transport modes

predictive traffic avoid routes that use tolls or highways

Page 20: Introduction - Grey Matter€¦ · public transit routes • Optimise your travel routes • Predictive Traffic . Use Cases for Distance Matrix API Sorting search results by their

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.

Page 21: Introduction - Grey Matter€¦ · public transit routes • Optimise your travel routes • Predictive Traffic . Use Cases for Distance Matrix API Sorting search results by their

Returns pairs of Polygon Coordinates

Page 22: Introduction - Grey Matter€¦ · public transit routes • Optimise your travel routes • Predictive Traffic . Use Cases for Distance Matrix API Sorting search results by their

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

Page 23: Introduction - Grey Matter€¦ · public transit routes • Optimise your travel routes • Predictive Traffic . Use Cases for Distance Matrix API Sorting search results by their

Isochrone API Demo

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

Page 24: Introduction - Grey Matter€¦ · public transit routes • Optimise your travel routes • Predictive Traffic . Use Cases for Distance Matrix API Sorting search results by their

Thankyou