Hi Sean,
I wrote gtfsrdb (https://github.com/mattwigway/gtfsrdb) a while back; it supports logging GTFS-realtime to various types of databases (Postgres, MySQL, SQLite, &c.). It might be worth a look.
Matt
--
You received this message because you are subscribed to the Google Groups "GTFS-realtime" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gtfs-realtim...@googlegroups.com.
To post to this group, send email to gtfs-r...@googlegroups.com.
Visit this group at http://groups.google.com/group/gtfs-realtime?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
Thanks Matt! I’ll check it out.
Sean
Thanks Matt! I’ll check it out.
Sean
From: gtfs-r...@googlegroups.com [mailto:gtfs-realtime@googlegroups.com] On Behalf Of Matt Conway
Sent: Tuesday, February 19, 2013 1:37 PM
To: gtfs-r...@googlegroups.com
Subject: Re: [GTFS-realtime] GTFS-realtime archiver tools?
Hi Sean,
I wrote gtfsrdb (https://github.com/mattwigway/gtfsrdb) a while back; it supports logging GTFS-realtime to various types of databases (Postgres, MySQL, SQLite, &c.). It might be worth a look.
Matt
On Feb 18, 2013 2:40 PM, "Sean Barbeau" <bar...@cutr.usf.edu> wrote:
Hi all,
Is anyone aware of any existing GTFS-realtime open-source archiving tools?
For example, I'd like to point a client app at a GTFS-realtime source to log data from that feed into a long-term database/file.
Thanks,
Sean
--
You received this message because you are subscribed to the Google Groups "GTFS-realtime" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gtfs-realtime+unsubscribe@googlegroups.com.
To post to this group, send email to gtfs-r...@googlegroups.com.
Visit this group at http://groups.google.com/group/gtfs-realtime?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "GTFS-realtime" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gtfs-realtime+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to gtfs-realtim...@googlegroups.com.
Thanks Matt, looks like that did it! I’m getting results from the database query now.
Sean
From: gtfs-r...@googlegroups.com [mailto:gtfs-r...@googlegroups.com] On Behalf Of Matt Conway
Sent: Saturday, March 02, 2013 2:47 AM
To: gtfs-r...@googlegroups.com
Subject: Re: [GTFS-realtime] GTFS-realtime archiver tools?
Yep, looks like I accidentally had the commit statement inside the if statement that does alerts, so if you aren't using alerts none of the data was getting committed. I've pushed a fix to this and it also closes the database cleanly on exit.
Sorry about that!
To unsubscribe from this group and stop receiving emails from it, send an email to gtfs-realtim...@googlegroups.com.
To post to this group, send email to gtfs-r...@googlegroups.com.
Visit this group at http://groups.google.com/group/gtfs-realtime?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "GTFS-realtime" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gtfs-realtim...@googlegroups.com.
To post to this group, send email to gtfs-r...@googlegroups.com.
Visit this group at http://groups.google.com/group/gtfs-realtime?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "GTFS-realtime" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gtfs-realtim...@googlegroups.com.
To post to this group, send email to gtfs-r...@googlegroups.com.
Visit this group at http://groups.google.com/group/gtfs-realtime?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to a topic in the Google Groups "GTFS-realtime" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/gtfs-realtime/RziZFgykRkA/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to gtfs-realtim...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to gtfs-realtim...@googlegroups.com.
To post to this group, send email to gtfs-r...@googlegroups.com.
Visit this group at http://groups.google.com/group/gtfs-realtime?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "GTFS-realtime" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gtfs-realtim...@googlegroups.com.
To post to this group, send email to gtfs-r...@googlegroups.com.
Visit this group at http://groups.google.com/group/gtfs-realtime?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
Rakesh,
I believe you need to install the protobuf packages. It’s been a while since I set this up, but here are my notes on this, for the Windows environment:
Install Python 2.7 (32bit) and add to Path (also add \Scripts directory to path to get easy_install)
Download protobuf win32 binary AND source package:
https://code.google.com/p/protobuf/downloads/detail?name=protoc-2.5.0-win32.zip&can=2&q=
https://code.google.com/p/protobuf/downloads/detail?name=protobuf-2.5.0.zip&can=2&q=
run “easy_install protobuf”
run “protobuf-2.5.0\python\ez_setup.py -U setuptools“
run “protobuf-2.5.0\python\setup.py build“ ←(Note: you MUST run this and next command from the \python directory)
run “protobuf-2.5.0\python\setup.py install”
then test with “setup.py test”
(see - http://stackoverflow.com/questions/10969149/compilation-needed-for-installing-google-protobuf)
And win32 binary to Windows PATH
Sean
--
You received this message because you are subscribed to a topic in the Google Groups "GTFS-realtime" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/gtfs-realtime/RziZFgykRkA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to gtfs-realtim...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gtfs-realtime/5154bb4a-4338-4aca-8a78-502852bf8e2a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
test with “setup.py test”
(see - http://stackoverflow.com/questions/10969149/compilation-needed-for-installing-google-protobuf)
To unsubscribe from this group and stop receiving emails from it, send an email to gtfs-realtim...@googlegroups.com.
To post to this group, send email to gtfs-r...@googlegroups.com.
Visit this group at http://groups.google.com/group/gtfs-realtime?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "GTFS-realtime" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gtfs-realtim...@googlegroups.com.
Looks like:
http://www.bart.gov/dev/gtrtfs/tripupdate.aspx
…is broken and is no longer BART’s GTFS-rt endpoint.
As mentioned here:
http://www.bart.gov/schedules/developers/gtfs-realtime
…try this URL instead:
http://api.bart.gov/gtfsrt/tripupdate.aspx
Sean
--
You received this message because you are subscribed to a topic in the Google Groups "GTFS-realtime" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/gtfs-realtime/RziZFgykRkA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to gtfs-realtim...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gtfs-realtime/6dc22d9d-726d-470a-99e4-d6b35b97d2ae%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.