Locked History Actions

WFSFeatureTypeImporter

WFSFeatureTypeImporter

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 WFS contains a largenumber of layers (we know deegree WFS 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.

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.WFSFeatureTypeImporter -WFSAddress http://demo.deegree.org/deegree-wfs/services -Driver org.postgresql.Driver -URL jdbc:postgresql://localhost:5432/security -DBUserName postgres -DBUserPassword postgres -SecAdminPassword JOSE67

following parameters must be set:

-WFSAddress

  • must be a valid URL to a WFS

-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


look for other deegreeTools


CategoryDeegree2