Calcuates isolines (POLYGON
or MULTIPOLYGON
) using the HERE 'Isoline Routing' API
that connect the end points of all routes leaving from defined centers (POIs) with either
a specified length, a specified travel time or consumption (only the default E-car available).
isoline( poi, datetime = Sys.time(), arrival = FALSE, range = seq(5, 30, 5) * 60, range_type = "time", routing_mode = "fast", transport_mode = "car", traffic = TRUE, consumption_model = NULL, aggregate = TRUE, url_only = FALSE, type, mode )
poi |
|
---|---|
datetime |
|
arrival | boolean, are the provided Points of Interest (POIs) the origin or destination locations ( |
range | numeric, a vector of type |
range_type | character, unit of the isolines: |
routing_mode | character, set the routing mode: |
transport_mode | character, set the transport mode: |
traffic | boolean, use real-time traffic or prediction in routing ( |
consumption_model | character, specify the consumption model of the vehicle, see consumption model for more information ( |
aggregate | boolean, aggregate (with function |
url_only | boolean, only return the generated URLs ( |
type | character, 'type' is deprecated, use 'routing_mode' instead. |
mode | character, 'mode' is deprecated, use 'transport_mode' instead. |
An sf
object containing the requested isolines.