If method is "shapes" but the GTFS object has no shapes table or its
trips table has no shape_id column (see has_shapes()), raises a
warning of class gtfstools_shapes_unavailable and returns
"euclidean". Otherwise returns method unchanged.
resolve_shapes_method(gtfs, method, fallback)A string, the method to use.
A GTFS object.
A string, "shapes" or "euclidean".
A string. The "i" bullet of the warning, which says what is calculated instead. It is interpolated by cli in the helper, so it may use cli markup but not the caller's variables.