Learn R Programming

gtfstools (version 2.0.1)

get_usable_shapes: Get the usable shapes of a shapes table

Description

Returns the shapes with at least two distinct points with coordinates. This is the single definition of a usable shape, used by both convert_stops_to_shapes() and locate_stops_along_shapes().

Usage

get_usable_shapes(shapes)

Value

A character vector with the shape_ids of the usable shapes.

Arguments

shapes

A GTFS shapes table.