Description
I've got a strange behaviour when I call the stops for location API which I use to convert the user-facing stop code to the actual stop id.
The API works fine for most stops except for a limited subset. In the gtfs stops.txt I've noticed that this limited subset differs from all other stops and the difference is that they have a parent station defined and location_type=0 if that matters.
Now, when I search for a stop belonging to this subset I get no results. Curiously If I searched the same stop by using the parent station (which is not a user-facing stop code) the API returns a result: wrong stop_id but lat,lon,name are right.
Example of stops.txt entries affected by this problem
stop_id,stop_code,stop_name,stop_desc,stop_lat,stop_lon,stop_url,stop_timezone,location_type,parent_station
ROME8260,AD1,"Battistini","",41.906219,12.414848,"http://muovi.roma.it/percorso/js?query=&cl=1",,0,ITO97
.....................................................
ITO97,,"Battistini","",41.906219,12.414848,"",,1,
Any clue on what's going on here ? What can I do to pinpoint the issue to give you more info ?
Thanks
P.S.
I'm using OBA server 2.0 from the master branch.