Coder Social home page Coder Social logo

vida-nyu / taxivis Goto Github PK

View Code? Open in Web Editor NEW
54.0 29.0 15.0 3.2 MB

Visual Exploration of New York City Taxi Trips

Home Page: http://vgc.poly.edu/projects/taxivis/

License: BSD 4-Clause "Original" or "Old" License

CMake 0.41% C++ 98.74% GLSL 0.32% QMake 0.30% Python 0.24%

taxivis's Introduction

  1. Compile from source

1.1) Dependencies

The TLCVis code has the following dependencies

  • CMake (Minimum 2.6)
  • Qt 4 (4.8.5 or higher)
  • Qt 4 Webkit (4.8.5 or higher)
  • OpenGL/GLEW (1.10.0-3 or higher)
  • Boost (Minimum 1.42, required components system iostreams filesystem timer)

1.2) Compiling with CMake

If all dependencies are installed, just go to the src/TaxiVis directory and do:

mkdir build cd build cmake ../ Make

1.3) Compiling with QMake

After changing the TaxiVis.pro file to properly reference the dependencies, just go to the src/TaxiVis directory and do:

qmake make

  1. Running

2.1) Data

The default data directory used TaxiVis is data directory included in the repository. You can configure this in either CMakeLists.txt file or TLCVis.pro one.

A sample data set consistings of 10000 trips on Jan 2013 (obtained from http://www.andresmh.com/nyctaxitrips/) is provided. This data has been already indexed and can be found in the data directory in the sample_merged_1.kdtrip file.

The doc directory contains information on how to use the code in the src/preprocess folder to index new taxi data to be included in the system.

2.2) Executing Assuming that the data is in the right location, you can execute the TaxiVis file created in the build directory.

taxivis's People

Contributors

nyucusp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

taxivis's Issues

Shader issue on Linux

I built TaxiVis on Linux, everything seems to work except the taxis are not rendered on the map. Terminal shows:

grouop plots 0
QGLShader::compile(Vertex): 0:2(12): warning: extension `GL_EXT_gpu_shader4' unsupported in vertex shader
0:16(17): error: `gl_VertexID' undeclared
0:16(17): error: operands to relational operators must be scalar and numeric
0:16(17): error: condition of `?:' must be scalar boolean

QGLShader: could not create shader 
Initializing OpenGL...
Finished loading!

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.