powered by
Pointsets are text files tha can be used by the Analyist feature in OTP 1.5
otp_pointset(points = NULL, name = NULL, dir = NULL)
Returns a data.frame of SF POINTS or Coordinates of all the locations that match `query`
sf data frame of POINTS with CRS 4326
Character, name for pointset
A character string, path to a directory containing the necessary files, see details
OTP will return a maximum of 10 results
Other routing: otp_geocode(), otp_isochrone(), otp_plan(), otp_routing_options(), otp_validate_routing_options()
otp_geocode()
otp_isochrone()
otp_plan()
otp_routing_options()
otp_validate_routing_options()
if (FALSE) { locations <- otp_geocode(otpcon, "High Street") }
Run the code above in your browser using DataLab