Vanuit het geocoderen zijn adressen voorzien van een x- en y-coördinaat, zogeheten kaartcoördinaten (lengte- en breedtegraad). De optimalisatie service wordt gebruikt om de beste volgorde te vinden voor meerdere (ten minste 2) locaties in een route. Het resultaat is een routeadvies met daarin de totale afstand, totale reistijd, een lijst met richtingen, routegeometrie en de bounding box. Uiteraard is het mogelijk om meer informatie aan het advies toe te voegen. Verder is het mogelijk om meer geavanceerde functies te gebruiken, zoals het gebruik van tussenliggende coördinaten, het definiëren van wegblokkades, het definiëren van omleidingen en het toevoegen van snelheidsprofielen. Alle acties worden uitgevoerd in
SOAP/ XML formaat.
Parameters voor requests
Name | Type | Description |
AuthenticationToken | String | This token is used for authentication and authorization purposes and must be provided. |
Profile | String | User specified profile (optional) |
ProjDefIn | String | The PROJ4 ID or definition of the coordinate system to use for coordinates in input (optional) |
ProjDefOut | String | The PROJ4 ID or definition of the coordinate system to use for coordinates in output (optional) |
Points | Coordinate | The list of markers to optimize. |
DateTime | DateTime | The date and time at which the route advice should start or end, depending on the DateTimeType value (optional) |
DateTimeType | DateTimeType | Defines how the DateTime value should be considered (optional) |
Modality | Modality | The modality to calculate a route advice for (optional) |
PlanMode | PlanMode | The plan mode to calculate a route advice for (optional) |
SpeedSettings | SpeedSetting[] | A list of speed settings overriding the default set when calculating a route advice (optional) |
Constraints | Constraint[] | A list of constraints (e.g. a minimal required height) used when calculating a route advice (optional) |
Algorithm | OptimizeAlg | The algorithm used to calculate the input matrix (optional) |
IsRoundTrip | Boolean | Defines if the route is a roundtrip or not (optional) |
Voorbeeld code (Dave)