gh_spt_columns {graphhopper} | R Documentation |
Select the columns to be returned by a spt request
Description
Times are returned in milliseconds and distances in meters.
Usage
gh_spt_columns(longitude = TRUE, latitude = TRUE, time = TRUE,
distance = TRUE, prev_longitude = FALSE, prev_latitude = FALSE,
prev_time = FALSE, prev_distance = FALSE, node_id = FALSE,
prev_node_id = FALSE, edge_id = FALSE, prev_edge_id = FALSE)
Arguments
longitude , latitude |
The longitude, latitude of the node. |
time , distance |
The travel time, distance to the node. |
prev_longitude , prev_latitude |
The longitude, latitude of the previous node. |
prev_time , prev_distance |
The travel time, distance to the previous node. |
node_id , prev_node_id |
The ID of the node, previous node. |
edge_id , prev_edge_id |
The ID of the edge, previous edge. |
[Package graphhopper version 0.1.2 Index]