Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 908a3ac761
Fetching contributors…

Cannot retrieve contributors at this time

63 lines (39 sloc) 0.936 kb
#pragma once
#include "ofMain.h"
#include "jansson.h"
#include "ofxJansson.h"
#include "MSAInterpolator.h"
struct Location {
string oid;
// global coordinates
double lat;
double lng;
// local pixel coordinates in visualization
ofPoint marker;
float markerRadius;
// label
string road;
string dir_one_label;
string dir_two_label;
MSA::Interpolator1D dir_one;
MSA::Interpolator1D dir_two;
class Data {
void setup();
void update();
void debugDraw();
void getData();
vector<Location> locations;
//double maxLat;
//double minLat;
//double maxLng;
//double minLng;
int maxStatEntry;
int maxCombinedStatEntry;
void getLocations();
void getStatEntries(Location* location);
ofxJansson ofxjan;
string DATA_HOST;
Jump to Line
Something went wrong with that request. Please try again.