Skip to content
This repository has been archived by the owner on Nov 7, 2023. It is now read-only.
Aashish Chaudhary edited this page Oct 14, 2013 · 29 revisions

Welcome to the vgl wiki! Here you will find help on building and using VGL. VGL is the Open Source (BSD license) library from Kitware and NYU-Poly.

VGL

Develop VGL

Build and Install

Download the data first from here: https://github.com/OpenGeoscience/geoweb-data.git

git clone https://github.com/OpenGeoscience/geoweb-data.git

VGL source has minimum dependencies but testing requires additional libraries and datasets. In order to build VGL on your system, follow the steps below:

git clone https://github.com/OpenGeoscience/vgl.git vgl-src mkdir vgl-build
cd vgl-build
cmake -DBUILD_TESTING:BOOL=ON ../vgl-src
ccmake .

Now set VGL_DATA_DIR to path_to_geoweb-data/documents

make

Now you should be set to run the tests. Start the python http sever

cd deploy (default deploy directory if you have not changed it)
python -m SimpleHTTPServer

Now visit http://localhost:8000/testing/drawCountries.html

Please contact us at [email protected] or [email protected]

Testing

VGL uses selenium, numpy, matplotlib, firefox, and ctest for testing. You can install most of the dependencies using pip as shown below:

pip install selenium
pip install numpy
pip install matplotlib

Clone this wiki locally