Sadless74 / googletransitdatafeed

Automatically exported from code.google.com/p/googletransitdatafeed
0 stars 0 forks source link

Feedvalidator feature request: detect useless boardings. #217

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When in stop_times.txt the following happens (I only show relevant 
columns):

trip_id,stop_seq,stop_id,pickup_type,dropoff_type
TRIP,4,STOPA,,
TRIP,5,STOPX,,
TRIP,6,STOPC,,1
TRIP,7,STOPD,,1
TRIP,8,STOPX,,
TRIP,9,STOPE,,

Then the user seems to be allowed to board STOPX at step #5 of the trip, 
even though he can only get off on STOPX at the earliest, where he could 
also get on. We should show a warning to say that in this case, since it's 
always stupid to board at step #5, there is likely an error in the data, or 
at least one could add a boarding restriction at step #5, like:

trip_id,stop_seq,stop_id,pickup_type,dropoff_type
TRIP,4,STOPA,,
TRIP,5,STOPX,1,
TRIP,6,STOPC,,1
TRIP,7,STOPD,,1
TRIP,8,STOPX,,
TRIP,9,STOPE,,

A similar case is this:
trip_id,stop_seq,stop_id,pickup_type,dropoff_type
TRIP,4,STOPA,,
TRIP,5,STOPX,,1
TRIP,6,STOPC,,1
TRIP,7,STOPD,,1
TRIP,8,STOPX,,
TRIP,9,STOPE,,

which should become:
trip_id,stop_seq,stop_id,pickup_type,dropoff_type
TRIP,4,STOPA,,
TRIP,5,STOPX,1,1
TRIP,6,STOPC,,1
TRIP,7,STOPD,,1
TRIP,8,STOPX,,
TRIP,9,STOPE,,

Original issue reported on code.google.com by vi...@google.com on 5 Jan 2010 at 4:54

GoogleCodeExporter commented 9 years ago
After some thoughts and comments by others, I agree that this feature request 
is 
wrong, and I'll retract it.

Original comment by vi...@google.com on 5 Jan 2010 at 5:28

GoogleCodeExporter commented 9 years ago

Original comment by tom.brow...@gmail.com on 6 Jan 2010 at 8:24