Webgl pointcloud visualization of the Via Appia based on http://potree.org
A big step towards a 3D GIS Application.
With 3D footprints of grave monuments based on GPS coordinates.
A 'background' or reference frame was made with Fugro's drive-map technology http://www.drive-map.eu/
Several monuments have been photographed extensively and made into seperate pointclouds. This is an ongoing process.
Measurements can be made in the 3D environment.
Historical maps can give extra information on the site's history.
Searching options like the material used in the site can give extra insight.
- Install Git : http://git-scm.com/downloads
- Install Node.js : http://nodejs.org/ (Make sure add node to PATH option is checked)
- Create '$HOME/npm' folder (Where $HOME is c:\Users<username>\AppData\Roaming).
- Open node command prompt and run
npm install -g bower grunt-cli
- Install Ruby: http://rubyinstaller.org/ (Make sure add ruby to PATH option is checked)
- Open ruby command prompt and run
gem install compass
- Start Git bash
- Type: "git clone https://github.com/NLeSC/PattyVis"
- Type: "cd PattyVis"
- Type: "npm install -g grunt grunt-cli"
- Type: "npm install"
- Type: "bower install"
- Type: "bower update"
- Type: "grunt serve"
- Open browser, go to "http://localhost:9000"
- nodejs, http://nodejs.org/
- bower, http://bower.io
- compass, http://compass-style.org
- Java Development Kit, https://www.java.com/
- PhantomJS v1 https://bitbucket.org/ariya/phantomjs/downloads/
Follow instructions at joyents github website: https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager#debian-and-ubuntu-based-linux-distributions
Install bower, karma-cli and grunt-cli globally
sudo npm install -g bower grunt-cli karma-cli
Compass is used to convert the sass 2 css.
- Install Ruby using https://www.ruby-lang.org/en/documentation/installation/#apt
- Install Ruby dev and other dependecy packages
sudo apt-get install ruby-dev libffi-dev
- Install compass (for sass compilation)
gem install compass
git clone https://github.com/NLeSC/PattyVis
cd PattyVis
npm install
bower install
If you already have a installed the bower packages before, but need to update them for a new version of the code, run
bower update
grunt serve
Changes made to code will automatically reload web page.
grunt test
Generates test report and coverage inside test/reports
folder.
Tests in Chrome can be run with
grunt e2e-local
The pointcloud and minimap use a canvas and can't be tested automatically so they must be verified manually using the screenshots in the report.
Open e2e/reports/report.html
in a web-browser.
Run end-to-end tests on sauce labs
To connnect to Sauce Labs use sauce connect program. Here you can find the details on how to install and run it.
Before tests can be run the sauce labs credentials must be setup
export SAUCE_USERNAME=<your sauce labs username>
export SAUCE_ACCESS_KEY=<your sauce labs access key>
Tests in Chrome, Firefox on Windows, Linux and OSX can be run with
grunt e2e-sauce
The pointcloud and minimap use a canvas and can't be tested automatically so they must be verified manually using the screencast in the report at https://saucelabs.com/u/<your sauce labs username>
.
Travis-ci also runs end-to-end tests on sauce labs.
Note! Running grunt e2e-sauce
will undo all changes in app/
folder.
grunt build
The dist
folder has production ready distribution.
grunt jsdoc
API documentation is generated in doc/
directory.
For mockup see https://wiki.esciencecenter.nl/index.php/Patty_Visualization
Get the host application and run it: https://github.com/Instrument/oculus-bridge
In db run:
SELECT site_id, ST_ASGEOJSON(geom, 15,5) FROM sites_geoms WHERE site_id IN (162,13);
To get geometry, bbox and crs.
Height and properties need to be filled manually.
Use Chrome FPS plotting to get the frame rate.
- Open developer tools
- On Console tab goto Rendering tab (bottom screen)
- Check the Show FPS meter checkbox