A waypoint contains an ID, WGS-84 coordinates, and constraints, which may impose certain restrictions when calculating the sequence.
The format is [ID;]latitude,longitude[;st:{time in seconds}[,interruptible:{true or false}]][[;acc:opening hours]|[;at:appointment]][;before:destinationNumber of other waypoint][;sideOfStreetHint:[matchSideOfStreet,]displayLatitude,displayLongitude].
The constraints are:
st: Service time spent at the waypoint. Value in seconds should be between 0 and 604800 (one week). Example: st:300
Service time also has an optional feature interruptible, which can be set to either true or false. When enabled (true), the service time can be interrupted by break times. Default value is true.
Note: This feature can't be used with the clustering parameter.
Example: st:300,interruptible:false
at: Defines appointment time. Requires the service time as the duration of the appointment. Example: at:2021-11-15T16:00:00+02:00;st:1800
acc: Access time windows during which a destination can be visited, separated by commas. An access time window consists of start time (weekday, time, timezone) and end time pair with a pipe symbol divider, followed by mandatory service time value. Max number of time windows: seven. Example: acc:mo12:00:00+02:00|fr18:00:00+02:00;st:900
before: Defines the destination that must be reached later. Format: before:{'destination' parameter name including the number}. Example: before:destination7
acc and at cannot be used together on the same destination.
sideOfStreetHint: Specifies the preferred side of street where the waypoint should be placed. Typically, this is the display location of an address or a POI (point of interest) on the side of the road returned by HERE Geocoding and Search API v7. Consists of the optional parameter matchSideOfStreet and coordinates.
The matchSideOfStreet parameter determines how the hint is handled. Possible values are:
always - The hint is always used.
onlyIfDivided - The hint is used on roads where traffic in opposite directions is divided by a physical barrier or it's illegal to cross into the lanes going in the opposite direction.
The default value for matchSideOfStreet is onlyIfDivided
heading: The direction from which the waypoint must be approached or in which direction one must go when leaving the waypoint. Expressed in degrees clock-wise from north. Values outside the range are wrapped to the range.
For places found using HERE Geocoding and Search API v7, use the coordinates from the access property.
Examples:
&destination3=Berlin_appointment;52.51605,13.37691;at:2021-10-14T16:00:00+02:00;st:300
&destination11=Bratislava_limited_access;48.154722,17.145556;acc:tu06:00:00+02:00|tu20:00:00+02:00;st:900,interruptible:false
&destination12=long_servicetime;55.670449,12.5784912;st:7200
&destination17=Malmo_before_Copenhagen;55.600289,12.995798;before:destination12
&destination20=50.113029,8.683684;sideOfStreetHint:always,50.112970,8.683692
&destination20=Bottrop;51.51936,6.95109;heading:135
&destination24=multi_acc_windows;52.529967,13.489713;acc:fr08:30:00+02:00|fr11:00:00+02:00,fr13:30:00+02:00|fr17:00:00+02:00;st:60
The maximum number of waypoints is 202, including the start and stop points.The maximum number of waypoints assigned to road segment is 50. Road segments are limited by junctions or an end of the road.If the latter limit is encountered, consider using clustering by topology segment, which can often remove this restriction depending on the road network's topology in the area.