| 109 | | - get the rasdaman source tree: |
| 110 | | {{{ |
| 111 | | git clone git://rasdaman.org/rasdaman.git |
| 112 | | }}} |
| 113 | | - the plugin can be found in directory `rasdaman/applications/qgis-wcps` |
| 114 | | - copy the `qgis-wcps/QgsWcpsClient1` directory to your `qgis-python-plugin directory`, usually located in `$HOME/.qgis2/python/plugins`: |
| 115 | | {{{ |
| 116 | | mkdir -p $HOME/.qgis2/python/plugins/ |
| 117 | | cp -r rasdaman/applications/qgis-wcps/QgsWcpsClient1 $HOME/.qgis2/python/plugins/ |
| 118 | | }}} |
| 119 | | - now you can start QGIS and access the `QgsWcpsClient1` plug-in via the `Qgis Menu → Plugins → WcpsClient1 → WCPS 1.0 Client` |
| | 109 | - The source code of the plugin could be found at `http://rasdaman.org/browser/applications/qgis-wcps`. |
| | 110 | - To install this plugin in QGIS, select QGIS menu `Plugins` -> `Manage and Install Plugins` -> Search: `wcps` (it returns the plugin `QgsWcpsClient1`) -> click on `install` button). |
| | 111 | - Now you can access the `QgsWcpsClient1` plug-in via the `Qgis Menu → Plugins → WcpsClient1 → WCPS 1.0 Client`. |
| | 112 | - Select `Help` tab from `QgsWcpsClient1` plug-in's window and read to have some information about how to connect to a running WCPS endpoint from Petascope. |
| 133 | | '''''NOTE''''' ''this has not been tested with the latest versions of rasdaman. In particular it may not work with the default rasdaman configuration (rasnet protocol).'' |
| 134 | | |
| 135 | | To compile GDAL with rasdaman support: |
| 136 | | 1. Get latest GDAL source |
| 137 | | 2. Compile and install (in the /home/rasdaman/gdal) |
| 138 | | {{{ |
| 139 | | #!sh |
| 140 | | ./configure --prefix=/home/rasdaman/gdal --mandir=/home/rasdaman/gdal/share/man --includedir=/home/rasdaman/gdal/include/gdal |
| 141 | | --with-threads --with-grass=no --with-hide-internal-symbols=yes --with-libtiff=internal --with-geotiff=internal --with-jasper |
| 142 | | --with-netcdf --with-xerces --with-geos --with-sqlite3 --with-curl --with-pg --with-ogdi --with-python --with-odbc |
| 143 | | --with-static-proj4=yes --with-spatialite=/usr --with-cfitsio=no --with-epsilon=/usr --with-rasdaman=/home/rasdaman/install |
| 144 | | make |
| 145 | | make install |
| 146 | | }}} |
| 147 | | * '''Note:''' rasdaman should be compiled with `-fPIC`, so make sure to specify `--with-pic` when running `./configure` on rasdaman. |
| 148 | | 3. Setup environment |
| 149 | | {{{ |
| 150 | | #!sh |
| 151 | | export GDAL_HOME=/home/rasdaman/gdal |
| 152 | | export PATH=$PATH:$GDAL_HOME/bin |
| 153 | | export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$GDAL_HOME/lib |
| 154 | | }}} |