Getting ttpub to work with Blacksburg, VA Transit files

52 views
Skip to first unread message

Chris

unread,
Jun 8, 2011, 12:53:11 PM6/8/11
to ttpub-user
Apache set on Windows server 2008 std (virtual), with Tomcat 7.0.14;
both work fine.

However, I have tried putting our "google_transit_spring2010_rev3"
file in two locations:
1) C:\Program Files\apache-tomcat-7.0.14\webapps\ttpub\zips
2) C:\tmp\GTFS

I tried putting both the zipped files, and the files unpacked; I still
cannot see the Google feed in ScheduleViewer,
and I am clueless as to what I have missed/should do next.

Any help is GREATLY appreciated!

Frank

unread,
Jun 11, 2011, 1:10:44 PM6/11/11
to ttpub-user
Hey Chris,

Take a look at the TimeTableProperties.properties file (e.g., C:
\Program Files\apache-tomcat-7.0.14\webapps\ttpub\WEB-INF\classes
\TimeTableProperties.properties). You can set SCHEDULE_DIRECTORY to
where ever you'd like to unzip your GTFS.zip file. NOTE: any change
to the properties will require tomcat restart (or a ttpub webapp
restart), so the code picks up this directory change.

BTW, CONFIGURE_DIRECTORY is the directory where TTPUB will store its
csv database of configuration changes that you'll be making. It's a
good idea to co-locate CONFIGURE_DIRECTORY and SCHEDULE_DIRECTORY, as
you'll want to eventually backup the ttpub config (just as you'll be
updating SCHEDULE_DIRECTORY with update GTFS.zip files).

Take care,
Frank


On Jun 8, 9:53 am, Chris <stoyn...@gmail.com> wrote:
> Apache set on Windows server 2008 std (virtual), with Tomcat 7.0.14;e

Frank

unread,
Jun 11, 2011, 1:20:24 PM6/11/11
to ttpub-user
p.s., and when changing the CONFIGURE_DIRECTORY setting, make sure to
copy the files from C:\Program Files\apache-tomcat-7.0.14\webapps\ttpub
\WEB-INF\classes\org\gtfs\blank-config\*.csv over to any new directory
location.
Reply all
Reply to author
Forward
0 new messages