Git Product home page Git Product logo

kulku.js's Introduction

kulku.js

Process mobility data to understand and predict movements.

Current features:

  • Estimate when an itinerary segment has been passed.
  • Calculate the average speed on passed itinerary segments.
  • Estimate if a journey has ended.
  • Only pure functions for now.

Setup

The code in src/ is written in ES6 and transpiled to ES5.

npm install -g gulp
npm install lodash-cli
./build_lodash.sh
npm install
gulp test
gulp

The compiled ES5 is saved into the directory lib/. The browserified script is saved into the directory browserified.

Glossary

  • Itinerary: A planned sequence of movements from source to destination. If we call an OpenTripPlanner response r, then the format is the same as e.g. r.plan.itineraries[0].
  • Itinerary LineString or just LineString: The legs of an itinerary catenated. GeoJSON LineString format.
  • Node: A Point on the itinerary LineString. In GeoJSON Point format.
  • Segment: Two sequential nodes from a LineString.
  • Timestamp: A Date object.
  • Fix: A timestamped GPS location fix and possibly extra properties. GeoJSON Point format with a required property 'timestamp'.
  • Journey: The entire travel to a destination, as understood by a human being. Walking from home to work can be seen as one journey. Alternatively journey can be seen as the sequence of movements to get to a destination, or the relevant raw and processed mobility sensor data. This is just a fluffy concept now without any specific data format. A journey might have zero or more itineraries connected to it as plans are formed and changed.

kulku.js's People

Contributors

haphut avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.