WMS2WMC
1. General Information
First of all, please make sure to read the chapter on General Information for all deegreeTools.
2. Description
This tool enables you to create a Web Map Context (WMC) document to be used with iGeoPortal from the capabilities of a WMS. The resulting WMC document will contain every layer of the WMS capabilities that inculdes a <Name> element. As most of the deegree tools WFS2WMS is designed as a command line program with a few easy to use parameters passed to it.
3. Library Dependancies
deegree2.jar jaxen-1.1-beta-8.jar log4j-1.2.9.jar
4. Usage
The following example shows how to use use WMS2WMC:
java -classpath .;../libs/deegree2.jar org.deegree.tools.wms.WMS2WMC -inFile e:/temp/myWMSCapabilities.xml -outFile e:/temp/myWMC.xml
The program receives following commandline parameter:
- ..todo...
Note: The resulting WMC does not contain any specific tags used with deegree iGeoPortal standard edition for registering modules. So in this form it can be used directly with iGeoPortal portlet edition. For usage with standard edition additional tags must be added (see iGeoPortal standard edition documentation for details)
look for other deegreeTools