otp_pointset | R Documentation |
Pointsets are text files tha can be used by the Analyist feature in OTP 1.5
otp_pointset(points = NULL, name = NULL, dir = NULL)
points |
sf data frame of POINTS with CRS 4326 |
name |
Character, name for pointset |
dir |
A character string, path to a directory containing the necessary files, see details |
OTP will return a maximum of 10 results
Returns a data.frame of SF POINTS or Coordinates of all the locations that match 'query'
Other routing:
otp_geocode()
,
otp_isochrone()
,
otp_plan()
,
otp_routing_options()
,
otp_validate_routing_options()
## Not run:
locations <- otp_geocode(otpcon, "High Street")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.