meta-service: routing

meta-service: routing

Entry Point

http://meta.et4.de/rest.ashx/routing

Responsetype

TemplateBased-XML-Response
TemplateBased-JSON-Response
TemplateBased-Protobuff-Response

Description

Calculates a route based on start and end latitude/longitude with turn-by-turn information.

Parameters

Parameter
Type
Description
experience 
String
The experience specifies the name of the project data pool to be used.  (obligatory)
provider
String
Routing provider. Depending on the experience there my be different providers available (Hiking, Biking, Car).
slat
Double
Start latitude
slon
Double
Start longitude
dlat
Double
Destination latitude
dlon
Double
Destination longitude
wp
List of Lat/Lon (lat,lon;lat,lon;...)
List of additional waypoints between start and end. format: lat,lon;lat,lon;...
template 
String
The template determines the output format of the data and the desired version of the eT4®META schemas.

Samples

Sample 1: Xml

http://meta.et4.de/rest.ashx/routing/?template=ET2014A.xml&experience=demo-dahoam&provider=hiking&slat=49.259135&slon=12.970268&dlat=49.255676&dlon=12.973272 

Sample 1: Json

http://meta.et4.de/rest.ashx/routing/?template=ET2014A.json&experience=demo-dahoam&provider=hiking&slat=49.259135&slon=12.970268&dlat=49.255676&dlon=12.973272&wp=49.257155,12.968953