Locked History Actions

WMSLayerImporter

WMSLayerImporter

1. General Information

First of all, please make sure to read the chapter on General Information for all deegreeTools.

2. Description

The program adds all requestable layers of a WMS into deegree's user and rights management system.

Especially if a WMS contains a largenumber of layers (we know deegree WMS instances providing several hundred layers) it is cumbersome to add each layer manualy into deegree's user and rights management system. Registering layers can be simplified by using this program.

Another alternative is to use the GUI based ConfigTool.

3. Library Dependancies

general libs

  • deegree2.jar
    ...todo...

database specific libs

PostgreSQL with Postgis extension

  • ...todo...

Oracle Spatial

  • ...todo...

4. Usage

The program will be invoked as follows:

  • java -classpath deegree2.jar org.deegree.tools.security.WMSLayerImporter -WMSAddress http://demo.deegree.org/deegree-wms/services -Driver org.postgresql.Driver -URL jdbc:postgresql://localhost:5432/security -DBUserName postgres -DBUserPassword postgres -SecAdminPassword JOSE67

following parameters must be set:

-WMSAddress

  • must be a valid URL to a WMS

-Driver

  • JDBC database driver class

-URL

  • JDBC URL of the rights managment DB

-DBUserName

  • name of DB-user

-DBUserPassword

  • password of DB-user

-SecAdminPassword

  • password of rights managment admin

5. Examples

  • ..todo: oracle/postgres...


look for other deegreeTools


CategoryDeegree2