Closed wkulesza closed 2 years ago
Just to add, this works http://iplaner.pl:8080/onebusaway-enterprise-acta-webapp/sign/sign?stopIds=1211_399 but this doesnt: http://iplaner.pl:8080/onebusaway-enterprise-acta-webapp/sign/sign?stopIds=1211_399_9
Maybe if there are two _ there ius a problem ?
OBA doesn't formally support parent / child stops yet. That may be coming soon as U.S. GTFS sets embrace that concept more commonly.
As you've suggested, you can use multiple stops separated by a comma, and set the refresh to have it page between the stops -- that's how its designed to handle multiple stops. A page correlates to a platform, so I find that makes more sense than combining all the stops in one page.
@sheldonabrown We plan to use it on LCD screens on given platforms (then only show a given stop id to show all departures from a given platform), but we plan to have bigger LCD screen kiosks, that would need to show all departures (sorted by departure time) that would allow to show all departures from all stop id belonging to same station id. So that is something that isn't supported other than refreshing and showing each platform separately one-by-one? Can you please show me an example URL construction ?
It looks like the problem may be less because of the parent/child stops but more because your stopIds have "_" in them. OneBusAway doesn't expect that and has a data transparency issue with respect to special characters, and the sign mode even more so.
But to your question, the sign mode accepts comma delimited stops ids (among other params) that should meet the need: http://iplaner.pl:8080/onebusaway-enterprise-acta-webapp/sign/sign?stopIds=1211_399,1211_398&refresh=10
You might be able to specially craft a URL given the above information. Good luck.
Sheldon
On Thu, May 5, 2022 at 7:31 AM Wojciech Kulesza @.***> wrote:
@sheldonabrown https://github.com/sheldonabrown We plan to use it on LCD screens on given platforms (then only show a given stop id to show all departures from a given platform), but we plan to have bigger LCD screen kiosks, that would need to show all departures (sorted by departure time) that would allow to show all departures from all stop id belonging to same station id. So that is something that isn't supported other than refreshing and showing each platform separately one-by-one? Can you please show me an example URL construction ?
— Reply to this email directly, view it on GitHub https://github.com/OneBusAway/onebusaway-application-modules/issues/318#issuecomment-1118445578, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHUSHPAN7QUPWROYY6ND6LVIOWSTANCNFSM5UTWGN7Q . You are receiving this because you were mentioned.Message ID: @.*** com>
Thanks for pointers. We noticed that problem with "_" and are trying to replace with "-". The idea behind ability to show one URL of a station would suit everybody that needs to show on digital signage departures of all buses from a bus terminal on one screen, showing route+trip headsign+stop id (with stop id being the name of platform) - is this in the works, or should we try and tackle this ? Such approach would also suit subway systems perhaps or any other terminal with platforms/tracks ?
I'm still not understanding why using comma delimited stops doesn't meet your needs, one per platform.
But sure, you could add a configuration flag that shows all the arrivals and departures on the same screen instead of on different screens. If you want to take that on please do.
One idea that would explain it perhaps is ability to show all departures from all stopid, belonging to same station like the following picture: https://www.moimioczami.pl/wp-content/uploads/2012/06/IMG_2619-e1338820809874.jpg We need to mimic this using the DIY.
śr., 18 maj 2022 o 22:51 sheldonabrown @.***> napisał(a):
I'm still not understanding why using comma delimited stops doesn't meet your needs, one per platform.
But sure, you could add a configuration flag that shows all the arrivals and departures on the same screen instead of on different screens. If you want to take that on please do.
— Reply to this email directly, view it on GitHub https://github.com/OneBusAway/onebusaway-application-modules/issues/318#issuecomment-1130534729, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHXUGDPZ3EZ2MVTV6V7ONLVKVJ6XANCNFSM5UTWGN7Q . You are receiving this because you authored the thread.Message ID: @.*** com>
-- Wojciech Kulesza
Właściciel / Owner
goEuropa Polska Wojciech Kulesza +48616248682 @.*** www.goeuropa.eu ul. 28 Czerwca 1956r nr 400 Kiedy przyjedzie autobus? Sprawdż na www.kiedybus.pl https://www.kiedybus.pl/
I'm trying to get OBA sign mode to display all stops that belong to one station in one view. Is it possible? In the url, when i provide stop id (of a child stop), it works, but if i provide stop id (of a station), there is no information available. I know I could display them one-by-one using comma separated url, but I would prefer to display in one view. This is important since the station is a terminal and particular stops are platforms.