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.
Provision of one or more route profiles (modes of transportation). At least one profile must be configured. Supported modes of transportation () are car (driving-car), heavy goods vehicle (driving-hgv), bicycle (cycling-regular), pedestrian (foot-walking), and currently only for Germany, wheelchair (wheelchair). By default, the first configured route profile is initially selected.
Using the 'default' attribute, a different route profile can be initially selected, deviating from the standard.
Enables the consideration of statistical traffic data when calculating routes (only when specifying a start or arrival time) and isochrones (only in 'time' mode). The routing service has statistics for almost all of Germany, except for some rural areas. The user can also disable the use of statistical traffic data if needed. Note: For the currently supported service, traffic data is available for the profiles car (driving-car) and heavy goods vehicle (driving-hgv).
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.
Initial time duration between the isochrones in minutes. The time format is specified according to ISO 8601 in the PnYnMnDTnHnMnS format, e.g., PT600S means 'until 600 seconds from now'. Note: The values must be below the constraint defined in the <restrictions> section.
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.
Indication that the route should only be calculated when the user clicks the corresponding button on the user interface. By default, the route is dynamically calculated as the user sets the waypoints of the route (exception: for avoidance areas). This setting only affects route calculation. The isochrone calculation for accessibility analysis is always started only at the user's request.
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.
Provision of one or more route profiles (modes of transportation). At least one profile must be configured. Supported modes of transportation () are car (driving-car), heavy goods vehicle (driving-hgv), bicycle (cycling-regular), pedestrian (foot-walking), and currently only for Germany, wheelchair (wheelchair). By default, the first configured route profile is initially selected.
Using the 'default' attribute, a different route profile can be initially selected, deviating from the standard.
Enables the consideration of statistical traffic data when calculating routes (only when specifying a start or arrival time) and isochrones (only in 'time' mode). The routing service has statistics for almost all of Germany, except for some rural areas. The user can also disable the use of statistical traffic data if needed. Note: For the currently supported service, traffic data is available for the profiles car (driving-car) and heavy goods vehicle (driving-hgv).
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.
Initial time duration between the isochrones in minutes. The time format is specified according to ISO 8601 in the PnYnMnDTnHnMnS format, e.g., PT600S means 'until 600 seconds from now'. Note: The values must be below the constraint defined in the <restrictions> section.
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.
Indication that the route should only be calculated when the user clicks the corresponding button on the user interface. By default, the route is dynamically calculated as the user sets the waypoints of the route (exception: for avoidance areas). This setting only affects route calculation. The isochrone calculation for accessibility analysis is always started only at the user's request.
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>