Sadless74 / googletransitdatafeed

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

Validate if stop_times.txt does not have the necessary entries in the first and last stop of each trip #98

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a feed and in the stop_times.txt file, create trips that either
don´t have "arrival_time" or "departure_time" defined for either the first
or last stop (or both) in a trip.
2. Run feedvalidator.py -- it will not complain
3. Now try to upload the feed to the system... it will complain about the
spaces

What is the expected output? What do you see instead?
feedvalidator.py should complain about the missing arrival and departure times.

What version of the product are you using? On what operating system?
Linux
1.1.5

Original issue reported on code.google.com by quintell...@gmail.com on 7 Oct 2008 at 2:48

GoogleCodeExporter commented 9 years ago
Is this a duplicate of issue 97? When I make arrival_time or departure_time an 
empty
string for the first row trip_id=CITY1 in test/data/good_feed/stop_times.txt I 
get an
error
Missing value for column <code>departure_time</code><br>arrival_time and
departure_time should either both be provided or both be left blank.

when I make both the empty string I get
The first stop_time in trip CITY1 is missing times.

Original comment by tom.brow...@gmail.com on 5 Nov 2008 at 8:03