Skip to content
This repository has been archived by the owner on Nov 30, 2017. It is now read-only.
Lorenzo Natali edited this page May 20, 2013 · 5 revisions

General

This application interacts with GeoStore and GeoBatch in order to provide some GUI facilities to manage users and specific GeoBatch flows.

Configuration

Client Configuration

nrl-config.properties

#dummy overrider for the application
nrl-ovr=dummy_ovr
#
geostore.resturl=http://84.33.2.24/geostore/rest/
geostore.user=admin
geostore.password=password

Statistics module

statistics.xml

<bean id="fileBrowserManager" class="it.geosolutions.nrl.statistics.FileBrowserManager">
	<property name="baseDirs">
	    <map>
                <entry key="regions" value="/opt/geoserver_data_dir/data/spatial/ADMIN">
                <entry key="masks" value="/opt/geoserver_data_dir/data/spatial/CROP_MASKS">
	    </map>
	</property>
</bean>

these directories can also be overridden / added using the proper overrider nrl-config-ovr.properties

fileBrowserManager.baseDirs[regions]=C:/work/projects/NRL-Pakistan/spatial/ADMIN
fileBrowserManager.baseDirs[masks]=C:/work/projects/NRL-Pakistan/spatial/CROPMASKS
fileBrowserManager.baseDirs[myM]=C:/work/projects/NRL-Pakistan/spatial/CROPMASKS

regions, masks can configuration can be used to get the statistics form

localhost:9191/statistics/regions/masks/ndvi

will list in the form the files contained in fileBrowserManager.baseDirs[regions] as regions and fileBrowserManager.baseDirs[masks] as mask.

Clone this wiki locally