andreiDamoc / googletransitdatafeed

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

google_random_queries limits number of trips output by number of stops in feed #266

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.  run google_random_queries with a feed with x stops
2.  ask for n trips to be created where n > x

What is the expected output? What do you see instead?
n trips should be created but only x trips are created

What version of the product are you using? On what operating system?
1.2.6 on Windows XP

Please provide any additional information below.
In the function GetRandomLocationsNearStops, a simple stop list is returned.  
It is randomized and then iterated on in order to create the trips. It seems 
this creates the limit on the number of trips created by the script.

Original issue reported on code.google.com by devin.br...@gmail.com on 19 Nov 2010 at 11:05

GoogleCodeExporter commented 8 years ago

Original comment by bdfer...@google.com on 26 Sep 2014 at 4:45

GoogleCodeExporter commented 8 years ago
Moved to https://github.com/google/transitfeed/issues/266

Original comment by bdfer...@google.com on 8 Oct 2014 at 12:20