get_usable_shapes: Get the usable shapes of a shapes table

View source: R/shapes_helpers.R

get_usable_shapesR Documentation

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)

Arguments

shapes

A GTFS shapes table.

Value

A character vector with the shape_ids of the usable shapes.


gtfstools documentation built on Oct. 28, 2026, 5:13 p.m.