Webservice to explore spatio-temporal data in an interactive way.
git clone https://github.com/fnogatz/timetraveller.gitcd timetravellernpm install
The available maps are configured by YAML files in the
/maps directory. Simply copy the provided
example.yml and change it to fit your needs.
Create a new YAML file in the
/maps directory. The filename will be map's identifier. That means if you save a
my-map.yml, this map will be accessable as
A step-by-step guidance to import and display GTFS transit data can be found in the wiki.
You can start the webserver by calling:
This is a list of currently available connectors.
- timetraveller-mongodb: Connector for MongoDB
Write your own
The timetraveller server can use any data source. A
Connector object is used to access your data. It only has to provide the following signature:
// Constructorvar connector = options// Method to find trajectoriesconnector/*** Search parameters:** query.time.start (Start of time range)* query.time.end (End of time range)* query.bounds.east (Bounding Box)* query.bounds.west* query.bounds.north* query.bounds.south*/
Have a look at timetraveller-mongodb for a working connector example.