A couple of SIRI tools from the OneBusAway project

147 views
Skip to first unread message

Brian Ferris

unread,
Aug 28, 2011, 7:55:46 PM8/28/11
to siri-de...@googlegroups.com
I wanted to mention a couple of tools for working with SIRI data that I've been hacking on lately.  Maybe you'll find them useful.

First, there has been an official release of the OneBusAway SIRI library, which has a couple of neat features:

1) a Java library that removes much of the burden of implementing a SIRI client or server, especially when it comes to subscription management
2) a command-line app for querying and performing operations on SIRI endpoints
3) a SIRI repeater application for filtering / combining multiple SIRI data-streams and proxying client access


I think the SIRI repeater application is worth a little bit more discussion.  It's useful for a couple different scenarios:

1) You've got a SIRI endpoint (eg. an AVL system producing a SIRI-VM stream).  You've only got one license to access the endpoint, but you have multiple back-end systems that need to listen to the data.  You can use the SIRI repeater app to proxy access.  The repeater serves as the primary connection to the SIRI endpoint, at which point an unlimited clients can connect to the repeater, receiving pub-sub data forwarded from the repeater.
2) You've got multiple SIRI data-streams that you'd like to combine into one (eg. a legacy AVL system and a new AVL system, both producing SIRI-VM data).  You can use the SIRI repeater app to subscribe to both SIRI endpoints and republish them as one combined feed to clients.
3) You'd like to share SIRI data with an outside developer, but you want to filter some sensitive information out of the feed first (eg. operator ids).  The SIRI repeater app can clear or change values in the data-stream on the fly using flexible filter rules.
4) ...

Note that the repeater is primarily designed for pub-sub data at this point.  It will not help with proxying / load-balancing SIRI-SM requests , for example.  For more info on the SIRI repeater app, check out:


Also note that there is an RPM + Linux service distribution of the repeater available as well:

http://developer.onebusaway.org/modules/onebusaway-siri-repeater-rpm/current/

Thanks,
Brian

Robin V.

unread,
Sep 2, 2011, 3:16:21 PM9/2/11
to siri-de...@googlegroups.com
Hi Brian,

Your description of these tools sounds very interesting.
Both a command line query tool and pub/sub mechanisms logic packaged in a library constitute a great siri starter kit for getting into SIRI.

Do you know other systems exposing siri pub/sub services?

Thanks for this contribution!
Robin

Brian Ferris

unread,
Sep 5, 2011, 4:02:45 AM9/5/11
to siri-de...@googlegroups.com
Hey Robin,

I'm not aware of any agencies that are exposing SIRI pub/sub to the
public at the moment. If anyone knows of any, I'd be interested to
know as well.

Thanks,
Brian

Ofer Porat

unread,
Sep 19, 2011, 7:13:30 AM9/19/11
to siri-de...@googlegroups.com

Hello

 

Does anyone knows if the mattersoft HSL live transit data web site is based on SIRI VM and SM services ?

 

Thanks

 

Ofer


No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1392 / Virus Database: 1520/3872 - Release Date: 09/02/11

Robin V.

unread,
Sep 21, 2011, 8:41:41 AM9/21/11
to siri-de...@googlegroups.com
Hello,

Messages between server and browser are definitely not SIRI messages. This is not a sign that there is or that there isn't SIRI behind the service, though I suspect that there isn't.

Robin

Ofer Porat

unread,
Sep 21, 2011, 8:45:26 AM9/21/11
to siri-de...@googlegroups.com

Thanks Robin.

 

I know that the connection between the web site and the web server is not SIRI. You can tell by running the web debugger.

 

I asked about the connection between the application server and the Helsinki transit authority servers.

Version: 2012.0.1809 / Virus Database: 2085/4509 - Release Date: 09/20/11

Reply all
Reply to author
Forward
0 new messages