openrouteservice
This configuration is required when using the plugin Routing_Openrouteservice.
-
Documentation
-
YAML Format
-
XML Format
| Fill relevant inputs (blue boxes) and click the blue bars on the left to copy XML configuration snippets. |
Car.
Heavy goods vehicle.
Bicycle.
Road bicycle.
Mountain bicycle.
Electric bicycle.
Pedestrian.
Hiker.
Wheelchair.
true to set the profile as default. The profile will be selected initially when routing is started.
Default: false
Routing profile. At least one has to be defined.
Settings for one or more routing profiles (locomotion modes). If no profile is explicitly set as default, the first profile will be used.
Property settings of the routing. Defines what the service offers via its API, most importantly, which routing profiles are available. Other information such as the availabilty of elevation data can be provided as well, enabling the client to query and display additional data for a route.
ISO 8601 Duration Format
Format: P[n]Y[n]M[n]DT[n]H[n]M[n]S
- P is the duration designator (period) placed at the start of the duration representation
- Y is the number of years
- M is the number of months
- D is the number of days
- T is the time designator that precedes the time components
- H is the number of hours
- M is the number of minutes
- S is the number of seconds
Examples:
PT5M- 5 minutesPT1H30M- 1 hour and 30 minutesP1D- 1 dayP1Y2M3DT4H5M6S- 1 year, 2 months, 3 days, 4 hours, 5 minutes, and 6 seconds
Duration (according to the ISO 8601 standard) the OpenRouteService will wait for a response. A response timeout value is already globally defined for Cadenza, but since requests for the isochrones can take longer than usual, it may be useful to define a higher timeout value here.
Default: PT30S
Optional tuning settings for the routing. Set properties to more preferable defaults, e.g. set default language for textual instructions (the service does not support all languages and using the user language may not be possible). Note: Setting may be overwritten by a client request, e.g. because the user chose a different routing language.
Settings for restricting the capabilities of the routing service, in order to prevent overloading the system or the user. Restrictions could be length of routes, quality of received routing geometry or number of stopovers. Also allows restricting the service to be only executed on demand, rather than automatically on drag'n'drop of way points.
Settings for the connection of a routing service. Can be one or more. That way, you can add different settings for each profile of a routing service. Note: Currently only OpenRouteService (API version v2) is supported. Note: Cadenza does not validate if a routing service actually supports the API version, configured profiles or further configured properties (e.g. maximum 48 waypoints).
Configuration of an OpenRouteService routing service for Cadenza.
Car.
Heavy goods vehicle.
Bicycle.
Road bicycle.
Mountain bicycle.
Electric bicycle.
Pedestrian.
Hiker.
Wheelchair.
true to set the profile as default. The profile will be selected initially when routing is started.
Default: false
Routing profile. At least one has to be defined.
Settings for one or more routing profiles (locomotion modes). If no profile is explicitly set as default, the first profile will be used.
Property settings of the routing. Defines what the service offers via its API, most importantly, which routing profiles are available. Other information such as the availabilty of elevation data can be provided as well, enabling the client to query and display additional data for a route.
ISO 8601 Duration Format
Format: P[n]Y[n]M[n]DT[n]H[n]M[n]S
- P is the duration designator (period) placed at the start of the duration representation
- Y is the number of years
- M is the number of months
- D is the number of days
- T is the time designator that precedes the time components
- H is the number of hours
- M is the number of minutes
- S is the number of seconds
Examples:
PT5M- 5 minutesPT1H30M- 1 hour and 30 minutesP1D- 1 dayP1Y2M3DT4H5M6S- 1 year, 2 months, 3 days, 4 hours, 5 minutes, and 6 seconds
Duration (according to the ISO 8601 standard) the OpenRouteService will wait for a response. A response timeout value is already globally defined for Cadenza, but since requests for the isochrones can take longer than usual, it may be useful to define a higher timeout value here.
Default: PT30S
Optional tuning settings for the routing. Set properties to more preferable defaults, e.g. set default language for textual instructions (the service does not support all languages and using the user language may not be possible). Note: Setting may be overwritten by a client request, e.g. because the user chose a different routing language.
Settings for restricting the capabilities of the routing service, in order to prevent overloading the system or the user. Restrictions could be length of routes, quality of received routing geometry or number of stopovers. Also allows restricting the service to be only executed on demand, rather than automatically on drag'n'drop of way points.
Exists only for testing the service definition directly, e.g. in OrsRoutingRequestBuilderTest.
| This is a generated sample file with fake data and all the possible options shown, refer to the Documentation tab for what combinations are valid and what is required or not. |
cadenzaconfig:
settings:
openrouteservice:
service:
- url: "text"
version: "v2"
apiKey: "text"
capabilities:
profiles:
- default: true
value: "driving-car"
- default: true
value: "driving-car"
elevation: {}
isochrones:
direction: {}
statistic: {}
tuning:
language: "text"
defaultIsochroneDuration: "P2DT3M"
defaultIsochroneDistance: 15
httpRequestTimeout: "P2DT3M"
restrictions:
maxStopovers: 15
maxIsochroneLocations: 15
maxIsochroneZones: 15
maxIsochroneDuration: "P2DT3M"
maxIsochroneDistance: 15
maxGeometryPointCount: 15
maxAvoidPolygonCount: 15
maxAvoidPolygonArea: 25
maxAvoidPolygonWidth: 15
maxAvoidPolygonHeight: 15
onDemand: {}
- url: "text"
version: "v2"
apiKey: "text"
capabilities:
profiles:
- default: true
value: "driving-car"
- default: true
value: "driving-car"
elevation: {}
isochrones:
direction: {}
statistic: {}
tuning:
language: "text"
defaultIsochroneDuration: "P2DT3M"
defaultIsochroneDistance: 15
httpRequestTimeout: "P2DT3M"
restrictions:
maxStopovers: 15
maxIsochroneLocations: 15
maxIsochroneZones: 15
maxIsochroneDuration: "P2DT3M"
maxIsochroneDistance: 15
maxGeometryPointCount: 15
maxAvoidPolygonCount: 15
maxAvoidPolygonArea: 25
maxAvoidPolygonWidth: 15
maxAvoidPolygonHeight: 15
onDemand: {}
Filename: openrouteservice-config.xml
| This is a generated sample file with fake data and all the possible options shown, refer to the Documentation tab for what combinations are valid and what is required or not. |
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<openrouteserviceConfiguration>
<service>
<url>text</url>
<version>v2</version>
<apiKey>text</apiKey>
<capabilities>
<profiles>
<profile default="true">driving-car</profile>
<profile default="true">driving-car</profile>
</profiles>
<elevation/>
<isochrones>
<direction/>
</isochrones>
<statistic/>
</capabilities>
<tuning>
<language>text</language>
<defaultIsochroneDuration>P2DT3M</defaultIsochroneDuration>
<defaultIsochroneDistance>15</defaultIsochroneDistance>
<httpRequestTimeout>P2DT3M</httpRequestTimeout>
</tuning>
<restrictions>
<maxStopovers>15</maxStopovers>
<maxIsochroneLocations>15</maxIsochroneLocations>
<maxIsochroneZones>15</maxIsochroneZones>
<maxIsochroneDuration>P2DT3M</maxIsochroneDuration>
<maxIsochroneDistance>15</maxIsochroneDistance>
<maxGeometryPointCount>15</maxGeometryPointCount>
<maxAvoidPolygonCount>15</maxAvoidPolygonCount>
<maxAvoidPolygonArea>25</maxAvoidPolygonArea>
<maxAvoidPolygonWidth>15</maxAvoidPolygonWidth>
<maxAvoidPolygonHeight>15</maxAvoidPolygonHeight>
<onDemand/>
</restrictions>
</service>
<service>
<url>text</url>
<version>v2</version>
<apiKey>text</apiKey>
<capabilities>
<profiles>
<profile default="true">driving-car</profile>
<profile default="true">driving-car</profile>
</profiles>
<elevation/>
<isochrones>
<direction/>
</isochrones>
<statistic/>
</capabilities>
<tuning>
<language>text</language>
<defaultIsochroneDuration>P2DT3M</defaultIsochroneDuration>
<defaultIsochroneDistance>15</defaultIsochroneDistance>
<httpRequestTimeout>P2DT3M</httpRequestTimeout>
</tuning>
<restrictions>
<maxStopovers>15</maxStopovers>
<maxIsochroneLocations>15</maxIsochroneLocations>
<maxIsochroneZones>15</maxIsochroneZones>
<maxIsochroneDuration>P2DT3M</maxIsochroneDuration>
<maxIsochroneDistance>15</maxIsochroneDistance>
<maxGeometryPointCount>15</maxGeometryPointCount>
<maxAvoidPolygonCount>15</maxAvoidPolygonCount>
<maxAvoidPolygonArea>25</maxAvoidPolygonArea>
<maxAvoidPolygonWidth>15</maxAvoidPolygonWidth>
<maxAvoidPolygonHeight>15</maxAvoidPolygonHeight>
<onDemand/>
</restrictions>
</service>
</openrouteserviceConfiguration>