Giter VIP home page Giter VIP logo

kharita's Introduction

kharita

Kharita (Map in Arabic) is a robust and online algorithm for map inference from crowd-sourced gps data. The details of the algorithm can be found in:

Rade Stanojevic, Sofiane Abbar, Saravanan Thirumuruganathan, Sanjay Chawla, Fethi Felali, Ahid Aliemat: Kharita: Robust Map Inference using Graph Spanners. Submitted to ACM SIGKDD'2017 [Arxiv version].

Input

The input is a csv file in the following format: vehicule_id,timestamp,lat,lon,speed,angle

Vehicule_id: important to identify trajectories. Timestamp: important to sort gps points within trajectories timestamp: in the format: yyyy-mm-dd hh:mm:ss+03 angle: in 0-360 interval. Angle to the north.

Running Kharita

Kharita can be invoked from command line as follows:

python kharita_star.py -p data -f data_2015-10-01 -r 25 -s 10 -a 40

-p: the folder containing the input data

-f: the input file name without its extension

-r: the radius (cr) in meters used for the clustering

-s: the densification distance (sr) in meters

-a: the angle heading tolerance in degrees (0-360)

Example

python kharita_star.py -p data -f data_uic -r 100 -s 20 -a 60

Output

The code will produce a txt file containing the edges of the generated directed graph.

UIC map examples

Kharita* map

Alt text

Kharita map

Alt text

Citation

For any use of this code, please cite our work as follows: Rade Stanojevic, Sofiane Abbar, Saravanan Thirumuruganathan, Sanjay Chawla, Fethi Felali, Ahid Aliemat: Kharita: Robust Map Inference using Graph Spanners. In Arxiv. 2017.

Contact

Sofiane Abbar ([email protected])

kharita's People

Contributors

rrrrade avatar vipyoung avatar

Watchers

 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.