Closed leonardehrenfried closed 3 years ago
@derhuerst Are different pickup/dropoff rules, as described above, even possible in GTFS Flex?
Ah, I checked stoptimes.txt and there are the columns pickup_rule_id
and dropoff_rule_id
. Presumably this means that it's possible, right?
GTFS-Flex v2 is split up into two parts:
stop_times.txt
to
locations.geojson
)Both just extend GTFS-Static, which already supports separate pickup_type
& drop_off_type
, so yes, they do support having separate rules for pickup/drop-off.
The conclusion at Thursday's meeting was that this could only be handled using GTFS by having duplicated stop times:
Stop
is includedLocation
is includedAnd so every stop would be present twice:
drop_off_type=1
)pickup_type=1
)Do you mean with the current code or really conceptually only possible by having 2 stops?
Conceptually -- I don't see how that could be modeled with a single stop time:
Location
is referenced, how would you limit it to only pick up at the centerpoint, but allow drop off throughout the whole area?
Stop
is referenced, than how do you specify the area?A third option could be a LocationGroup
, but there is still no option to differentiate between the elements (-> use the Stop
for pickup, the StopLocation
for drop off)
A third option could be a
LocationGroup
, but there is still no option to differentiate between the elements (-> use theStop
for pickup, theStopLocation
for drop off)
For pickup, you can directly reference a stop from stops.txt
. For drop-off, you can reference a location group (from location_groups.txt
) that includes both the stop (from stops.txt
) as well as the location/area (from locations.gejson
).
Edit: My bad, you can't, there's only one stop_id
in stop_times.txt
.
@hbruch It seems that we're at a conceptual dead-end here.
Unless someone has a better idea, I see the following options:
Can you advise?
Closed in favour of https://github.com/derhuerst/generate-herrenberg-gtfs-flex/issues/5
Gard has said in the OTP dev meeting that right now you can only have the same type of flex pick-up and drop-off in a single route.
However, in the Herrenberg case we have different pickup and drop off rules: