otp_pointset: Create a pointset

View source: R/otp-surface.R

otp_pointsetR Documentation

Create a pointset

Description

Pointsets are text files tha can be used by the Analyist feature in OTP 1.5

Usage

otp_pointset(points = NULL, name = NULL, dir = NULL)

Arguments

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

Details

OTP will return a maximum of 10 results

Value

Returns a data.frame of SF POINTS or Coordinates of all the locations that match 'query'

See Also

Other routing: otp_geocode(), otp_isochrone(), otp_plan(), otp_routing_options(), otp_validate_routing_options()

Examples

## Not run: 
locations <- otp_geocode(otpcon, "High Street")

## End(Not run)

ropensci/opentripplanner documentation built on Aug. 5, 2024, 9:58 p.m.