An elevation data visualization app using geohash spatial data organization!
10/6/2016 - Currently, the app simply visualizes elevation data. In the future, the app will also implement a "waterplane" to visualize areas above and below an adjustable water level.
-
Install Dependencies a.
$ npm i -
Start an oada-api-server to host the elevation data: a.
$ git clone https://github.com/OADA/oada-api-server.gitb.$ cd oada-api-serverc.$ npm id.$ mkdir datae.$ npm run start -
Put data into the server: a.
$ cd ../Waterplane/OadaServerSetupb.$ vim main.jsc. Follow the instructions for obtaining a token to use in step d. d. Run main.js to load .las data to the server: i.$ node main.js <directory with .las data> <server domain> <token>ii. Use included demo data:$ node main.js ./DemoData localhost:3000 <token> -
Run the app a. Run webpack.
$ webpackb.$ npm run startc. The app will start on localhost:8000 d. The app will prompt the user for a data server domain used in step 3., e.g, 'localhost:3000', e. The user will then be redirected to a login page. Log in with username 'frank' and password 'pass'. f. To change domains, click the "Change Domain" button in the upper right. g. To change the user and get a new login token (and clear the cached elevation data), click the "Clear Cache" button in the upper right.