RouteplannerThis service provides routeplanner methods through which route descriptions, as well as drivetime and drivedistance, can be requested. Information on routes within the Netherlands can be retrieved based on postcodes or RD (Rijksdriehoeksmeting) coordinates. Routes through Europe can be requested based on latitude/longitude coordinates. Summary | This service provides routeplanner methods through which route descriptions, as well as drivetime and drivedistance, can be requested. | | | | Returns a description of the fastest route between two dutch postcodes. | | Returns a description of the shortest route between two dutch postcodes. | | Returns a description of the route between two dutch postcodes, including the RD coordinates along the route. | | Returns the route distance and driving time between two dutch postcodes. | | Returns a description of the route between two coordinates in the RD (Rijksdriehoeksmeting) coordinate system. | | Returns the route distance and drive time between two coordinates in the RD (Rijksdriehoeksmeting) coordinate system. | | Returns a description of the route between two coordinates in the RD (Rijksdriehoeksmeting) coordinate system, including the RD coordinates along the route. | | | | Returns a description of the route between two latitude/longitude coordinates in Europe. | | Returns the route distance and drive time for the route between two latitude/longitude coordinates in Europe. | | Returns a description of the route between two latitude/longitude coordinates in Europe, including the latitude/longitude coordinates along the route. | | Returns a map showing the route between two latitude/longitude coordinates in Europe. | | | | | | | | | | A single route planner description entry. | | A single route planner information entry. | | A route coordinates entry. | | A route planner description entry with RD coordinates. | | A route coordinates entry. | | A route planner description entry with RD coordinates. |
Routes in the Netherlands
routePlannerDescriptionReturns a description of the fastest route between two dutch postcodes. For every part of the route the drivetime in seconds and drivedistance in meters are given as well. The description is available in dutch and english, depending on the english parameter toggle. This function gets its data from an external server. Parameters| postcodefrom | Postcode at the start of the route | | postcodeto | Postcode at the end of the route | | english | Whether to returns the description in english (true) or dutch (false) |
Returns
routePlannerDescriptionShortestReturns a description of the shortest route between two dutch postcodes. For every part of the route the drivetime in seconds and drivedistance in meters are given as well. The description is available in dutch and english, depending on the english parameter toggle. This function gets its data from an external server. Parameters| postcodefrom | Postcode at the start of the route | | postcodeto | Postcode at the end of the route | | english | Whether to returns the description in english (true) or dutch (false) |
Returns
routePlannerDescriptionCoordinatesRDReturns a description of the route between two dutch postcodes, including the RD coordinates along the route. For every part of the route the drivetime in seconds and drivedistance in meters are given as well. The routetype can be shortest or fastest. By default information on the fastest route will be returned. The description is available in dutch and english, depending on the english parameter toggle. This function gets its data from an external server. Parameters| postcodefrom | Postcode at the start of the route | | postcodeto | Postcode at the end of the route | | routetype | Type of route to calculate, ‘fastest’ or ‘shortest’ | | english | Whether to returns the description in english (true) or dutch (false) |
Returns
routePlannerInformationReturns the route distance and driving time between two dutch postcodes. Either the fastest or shorted route can be calculated depending on the routetype parameter. Methods that works on neighborhoodcodes can be found in the Driveinfo service. This function gets its data from an external server. Parameters| postcodefrom | Postcode at the start of the route | | postcodeto | Postcode at the end of the route | | routetype | Type of route to calculate, ‘fastest’ or ‘shortest’ |
ReturnsSee alsoDriveinfo::driveInfoDistanceLookup, Geolocation::geoLocationPostcodeDistance
routePlannerRDDescriptionReturns a description of the route between two coordinates in the RD (Rijksdriehoeksmeting) coordinate system. For every part of the route the drivetime in seconds and drivedistance in meters are given as well. The description is available in dutch and english, depending on the english parameter toggle. Either the fastest or shorted route can be calculated depending on the routetype parameter. This function gets its data from an external server. Parameters| xfrom | x part of the RD coordinate at the start of the route | | yfrom | y part of the RD coordinate at the start of the route | | xto | x part of the RD coordinate at the end of the route | | yto | y part of the RD coordinate at the end of the route | | routetype | Type of route to calculate, ‘fastest’ or ‘shortest’ | | english | Whether to returns the description in english (true) or dutch (false) |
ReturnsSee alsoGeolocation::geoLocationRDToPostcode
routePlannerRDInformationReturns the route distance and drive time between two coordinates in the RD (Rijksdriehoeksmeting) coordinate system. Either the fastest or shorted route can be calculated depending on the routetype parameter. Methods that works on neighborhoodcodes can be found in the Driveinfo service. This function gets its data from an external server. Parameters| xfrom | x part of the RD coordinate at the start of the route | | yfrom | y part of the RD coordinate at the start of the route | | xto | x part of the RD coordinate at the end of the route | | yto | y part of the RD coordinate at the end of the route | | routetype | Type of route to calculate, ‘fastest’ or ‘shortest’ |
Returns
routePlannerRDDescriptionCoordinatesRDReturns a description of the route between two coordinates in the RD (Rijksdriehoeksmeting) coordinate system, including the RD coordinates along the route. For every part of the route the drivetime in seconds and drivedistance in meters are given as well. Either the fastest or shorted route can be calculated depending on the routetype parameter. The description is available in dutch and english, depending on the english parameter toggle. This function gets its data from an external server. Parameters| xfrom | x part of the RD coordinate at the start of the route | | yfrom | y part of the RD coordinate at the start of the route | | xto | x part of the RD coordinate at the end of the route | | yto | y part of the RD coordinate at the end of the route | | routetype | Type of route to calculate, ‘fastest’ or ‘shortest’ | | english | Whether to returns the description in english (true) or dutch (false) |
Returns
routePlannerEUDescriptionReturns a description of the route between two latitude/longitude coordinates in Europe. For every part of the route the drivetime and drivedistance are given as well. The description is available in several languages depending on the language parameter. Either the fastest or shorted route can be calculated depending on the routetype parameter. This function gets its data from an external server. Parameters| latitudefrom | Latitude of the start of the route | | longitudefrom | Longitude of the start of the route | | latitudeto | Latitude of the end of the route | | longitudeto | Longitude of the end of the route | | routetype | Type of route to calculate, ‘fastest’ or ‘shortest’ | | language | Language of the description: ‘danish’, ‘dutch’, ‘english’, ‘french’, ‘german’, ‘italian’ or ‘swedish’ |
Returns
routePlannerEUInformationReturns the route distance and drive time for the route between two latitude/longitude coordinates in Europe. Either the fastest or shorted route can be calculated depending on the routetype parameter. This function gets its data from an external server. Parameters| latitudefrom | Latitude of the start of the route | | longitudefrom | Longitude of the start of the route | | latitudeto | Latitude of the end of the route | | longitudeto | Longitude of the end of the route | | routetype | Type of route to calculate, ‘fastest’ or ‘shortest’ |
Returns
routePlannerEUDescriptionCoordinatesLatLonReturns a description of the route between two latitude/longitude coordinates in Europe, including the latitude/longitude coordinates along the route. For every part of the route the drivetime in seconds and drivedistance in meters are given as well. The routetype can be shortest or fastest. By default information on the fastest route will be returned. The description is available in several languages depending on the language parameter. This function gets its data from an external server. Parameters| latitudefrom | Latitude of the start of the route | | longitudefrom | Longitude of the start of the route | | latitudeto | Latitude of the end of the route | | longitudeto | Longitude of the end of the route | | routetype | Type of route to calculate, ‘fastest’ or ‘shortest’ | | language | Language of the description: ‘danish’, ‘dutch’, ‘english’, ‘french’, ‘german’, ‘italian’ or ‘swedish’ |
Returns
routePlannerEUMapReturns a map showing the route between two latitude/longitude coordinates in Europe. Parameters| latitudefrom | Latitude of the start of the route | | longitudefrom | Longitude of the start of the route | | latitudeto | Latitude of the end of the route | | longitudeto | Longitude of the end of the route | | routetype | Type of route to calculate, ‘fastest’ or ‘shortest’ | | language | Preferred output language ‘danish’, ‘dutch’, ‘english’, ‘french’, ‘german’, ‘italian’ or ‘swedish’ | | format | Image format. Supported formats: ‘JPG’, ‘PNG’ | | width | Width in pixels, domain [80 - 800] | | height | Height in pixels, domain [80 - 800] | | view | Which part of the route to dispay. Possible values: ‘start’ (display the starting point), ‘end’ (display the destination), ‘overview’ (display the complete route, default) |
Returns| image | A JPEG or PNG image, base64 encoded. |
Deprecated service methods
routeDescriptionNoticeThis method is deprecated, use routePlannerDescription instead Returns a description of the route between two dutch postcodes. For every part of the route the drivetime in seconds and drivedistance in meters are given as well. The description is available in dutch and english, dependent of the english parameter toggle. Parameters| postcodefrom | Postcode at the start of the route | | postcodeto | Postcode at the end of the route | | english | Whether to returns the description in english (true) or dutch (false) |
Returns
routeInformationNoticeThis method is deprecated, use routePlannerInformation instead Returns the route distance and driving time between two dutch postcodes. Either the fastest or shorted route can be calculated depending on the routetype parameter. Methods that works on neighborhoodcodes can be found in the Driveinfo service. Parameters| postcodefrom | Postcode at the start of the route | | postcodeto | Postcode at the end of the route | | routetype | Type of route to calculate, ‘fastest’ or ‘shortest’ |
Returns
RoutePartA single route planner description entry. | description | The description of this part of the route | | time | Estimated time in seconds to travel this part of the route | | distance | Estimated distance in meters between the start and ending point of this part of the route |
RouteInfoA single route planner information entry. | time | Estimated time in seconds required to travel the route | | distance | Estimated distance in meters required to travel the route |
RouteCoordinatesRDA route coordinates entry. | number | The number of RD coordinates returned | | coordinates | A string containing the RD coordinates along the route. Coordinates (format: x,y) are separated by semi-colons (;). |
RouteDescriptionCoordinatesRDA route planner description entry with RD coordinates.
RouteCoordinatesLatLonA route coordinates entry. | number | The number of latitude/longitude coordinates returned | | coordinates | A string containing the latitude/longitude coordinates along the route. Coordinates (format: latitude,longitude) are separated by semi-colons (;). |
RouteDescriptionCoordinatesLatLonA route planner description entry with RD coordinates.
|