Home

Awesome

GeoTrellis Transit

GeoTrellis Transit is a data loader and set of web services run in an embedded Jetty server that answer questions about travel times and transit sheds. The project also includes a demo client application that hits these endpoints, and running example of which can be found at transit.geotrellis.com.

This project was done in collaboration with TechImpact and with support from the William Penn Foundation.

Dependencies

Getting Started

To provision a VM and fetch our pre-ingested travelsheds made from OSM and GTFS data:

$ ./scripts/setup
$ vagrant ssh

This will download data into ./service/graph/.

Scripts

Helper and development scripts are located in the ./scripts directory at the root of this project. These scripts are designed to encapsulate and perform commonly used actions such as starting a development server, accessing a development console, or running tests.

Script NamePurpose
updatePulls/builds necessary containers
setupProvisions the VM, fetch OSM/GTFS data.
serverStarts a development server that listens at http://localhost:9999
consoleGives access to a running container via docker-compose run
testRuns tests for project
cibuildInvoked by CI server and makes use of test.
cipublishBuild JAR and publish container images to container image repositories.

Testing

Run all the tests:

$ ./scripts/test