Gtfs static stops

112 views
Skip to first unread message

khiared...@gmail.com

unread,
Jul 27, 2020, 10:13:08 AM7/27/20
to GTFS Changes
Hi,

I created my own gtfs static file using static gtfs manager. it has only  1 route and 48 trips (onward/return ) with 3 block_ids. and i did  implemented in the onebusaway webapp server.  it's working fine but in the first stop it shows both  the onward and return trips.
or i needed to show only the onward trips.
So is there any field in the  gtfs that i forget to implement?
or is it onebusaway configuration  problem ?

Best regards

Stefan de Konink

unread,
Jul 27, 2020, 10:27:57 AM7/27/20
to gtfs-c...@googlegroups.com
Hi,

On Monday, July 27, 2020 1:46:26 PM CEST, khiared...@gmail.com wrote:
> it's working fine but in the first stop it
> shows both the onward and return trips.
> or i needed to show only the onward trips.
> So is there any field in the gtfs that i forget to implement?
> or is it onebusaway configuration problem ?

When we are talking about busses it is the best practice to have each
individual stop pole to be an individual stop_id, hence: a physical point
with a different location should be a different id. From the sound of it,
you might have grouped the onward and return trips to either share the same
boarding/alighting locations or the first stop actually has the purpose of
both (arriving and departure).

An additional thing could do is to mark each last stoptime of the trip for
drop_off only.

--
Stefan

Mohamed Jamel

unread,
Jul 29, 2020, 7:28:53 PM7/29/20
to GTFS Changes
Hi Stefan,

thank you for replying, I added pickup_type field in the stop_times.txt file and i marked the last stop times as 1 ( no pickup ).
and it 's nothing changed still the same 
do you have any other ideas?

Best regards  

Stefan de Konink

unread,
Jul 29, 2020, 7:35:21 PM7/29/20
to Mohamed Jamel, GTFS Changes
Would you be able to share your GTFS files somewhere?

--
Stefan

Mohamed Jamel

unread,
Jul 30, 2020, 2:19:50 PM7/30/20
to GTFS Changes

Hi Stefan,
this is my own  gtfs file . it's my first time.so please tell me if there is something wrong .
Best regards 
my_gtfs.zip

Stefan de Konink

unread,
Jul 30, 2020, 2:26:12 PM7/30/20
to Mohamed Jamel, GTFS Changes
By taking a quick look from your file, you are reusing the stops for both
directions. We kind of assume there are stops on the opposite side of the
road. So like if we take the example:

1,35.813805,10.629678,Souk Al Ahad ,0,1

I would assume there is a stop on the side of the UIB Bank and a stop at
Pharmacie de nuit.

If that does not make sense to you let me know :)

--
Stefan

Mohamed Jamel

unread,
Aug 3, 2020, 10:26:18 AM8/3/20
to GTFS Changes
Hi Stefan,

Yes that make sense . so i need to mark the stops in the return path .
but how about the grand stations like Souk Al Ahad that is a common stop of both onward and return trip

Best regards  

Stefan de Konink

unread,
Aug 3, 2020, 3:59:55 PM8/3/20
to Mohamed Jamel, GTFS Changes
On Sunday, August 2, 2020 1:29:42 PM CEST, Mohamed Jamel wrote:
> Yes that make sense . so i need to mark the stops in the return path .

Yes, but it also makes sense for pedestrians that would need to walk
towards a bus stop. The better the stop is located, the better the journey
planning results would be.

> but how about the grand stations like Souk Al Ahad that is a common stop of
> both onward and return trip

There is an edge case where within station the *exact* same platform is
used for both trips. And riders identify both directions only by the head
sign. Let's say this is pretty uncommon, but it could exist. But only for
this edge cases you would see departures and arrivals in both directions.
In all other cases, one (parent) station, hosts multiple stops (with
platform codes).

--
Stefan

Mohamed Jamel

unread,
Aug 4, 2020, 10:10:04 AM8/4/20
to GTFS Changes

Hi Stefan,
Thank you for helping.i added the missing stops and it's working fine now  :) 
Best regards
Reply all
Reply to author
Forward
0 new messages