Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testerrrr error 'Dude, you are already there.' #194

Open
BennyKJohnson opened this issue Apr 16, 2015 · 4 comments
Open

Testerrrr error 'Dude, you are already there.' #194

BennyKJohnson opened this issue Apr 16, 2015 · 4 comments

Comments

@BennyKJohnson
Copy link

Hi,
The testerrrr program doesn't seem to parse the request properly.
For example the command ./testerrrr --from-idx PST1389 --to-idx PST1112, from Bomaderry Station to North Sydney Station (stop ids from GTFSDB) a valid request yields 'Dude, you are already there.' . These are clearly different stops, yet req.from == req.to evaluates to true.

I would really appreciate any help you can provide on this issue.
Thank you

@koch-t
Copy link
Contributor

koch-t commented Apr 16, 2015

--[to|from]-idx=$IDX reverse to the internal idx
--[to|from]-id=$stop_area_id for routing from stop_area's (location_type =1 and stop_id). STopArea's are auto-generated for stop-points without a stoparea
--[to|from]-latlng for routing from/to coordinates.
--to|from]-sp-id=$stop_id for routing from stop_points (eg stop_id from stops in stops.txt with empty parent_station_id)

The warning refers to the failure to parse the numbers and leaving them both on 0. Should be better failure-texts..

@skinkie
Copy link
Contributor

skinkie commented Apr 16, 2015

You are missing the =

@BennyKJohnson
Copy link
Author

Thanks for the reply however I’m still having issues. I attempted ./testerrrr --from-id=PST1389 --to-id=PST1386 but receive the same result.

I’ve attached an image showing the data for these stops. Could you please clarify the exact query that should be used. Here's my Timetable file if you wish to attempt the same query.

Routed stops

@BennyKJohnson
Copy link
Author

@skywave The options you recommended are not contained in long_options of tester.c. Are you talking about a different branch (currently on realtime)?

EDIT:
Added the option in myself and got it working. I'm disappointed with the results, the simple queries I tried just going from station to station on the same line (no transfers) don't seem to work.

./testerrrr --from-id=PST1386 --to-id=PST1371 -v
checking tdata coherency...
checked 12871338 transfers for symmetry.
34334 Kiama Station -> 34321 North Wollongong Station
ERROR: transferring from unreached stop 34321 in round 1. 
-- Router Request --
from:  Kiama Station [34334]
to:    North Wollongong Station [34321]
time:     --    [65535]
speed: 1.500000 m/sec
arrive-by: true
max xfers: 5
max time:     --   
mode: transit
ERROR: transferring from unreached stop 34321 in round 1. 
Repeated search with reversed request: 
-- Router Request --
from:  Kiama Station [34334]
to:    North Wollongong Station [34321]
time:     --    [65535]
speed: 1.500000 m/sec
arrive-by: true
max xfers: 5
max time:     --   
mode: transit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants