Closed GoogleCodeExporter closed 9 years ago
San Diego's feed gets this error as well, "Invalid value 5.5481061 in field
stoptimes.shape_dist_traveled. For the trip 6316410 the stop 91040 has
shape_dist_travled=5.548106, which should be larger than the previous ones. In
this
case, the previous distance was 5.5481061."
Rounding also causes this warning to appear incorrect:
"In stop_times.txt, the stop with trip_id=6375282 and stop_sequence=11 has
shape_dist_traveled=8.790458, which is larger than the max
shape_dist_traveled=8.790458
of the corresponding shape (shape_id=530_1_12)"
Original comment by devin.br...@gmail.com
on 25 Nov 2009 at 4:24
I've had a second thought about my initial report. Turning the error into a
warning
for successive equal values is probably the more useful part: The dummy values
I saw
for trips without shape were all constant (0), so they would stop to be errors
as a
side effect of the other change. Maybe that's good enough.
Original comment by arnoegw.code@gmail.com
on 25 Nov 2009 at 5:47
Original comment by quguangfan@gmail.com
on 2 Dec 2009 at 10:30
The bus is fixed with the requirement:
Warn if two successive stop-times have the same value of shape_dist_traveled.
Error if values of the shape_dist_traveled are decreasing.
Review at:
http://codereview.appspot.com/161062/
Addresses bug:
http://code.google.com/p/googletransitdatafeed/issues/detail?id=203
Revision:
http://code.google.com/p/googletransitdatafeed/source/detail?r=1222
Original comment by quguangfan@gmail.com
on 3 Dec 2009 at 2:36
Original issue reported on code.google.com by
arnoegw.code@gmail.com
on 25 Nov 2009 at 4:01