Locked History Actions

SLDHarmonizer

SLD harmonizer

1. General Information

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

2. Description

UMN Mapserver exported SLD styles might have several short comings. Some of these will be fixed by this tool.

The tool currently performs these simple tasks:

  • UserStyles without names are given the name of the enclosing NamedLayer

  • PropertyNames with MiXEDcase are converted to lower case

  • a binding for app to http://www.deegree.org/app is added to the root element of each file

  • the text of each CssParameter with name stroke-width and text -1 is set to 1 to avoid invisible lines

3. Library Dependancies

  • deegree2.jar
    ...todo...

4. Usage

Call the tool simply like this, with one or more SLD files as parameter:

  • java -cp deegree2.jar org.deegree.tools.wms.SLDHarmonizer <sldfile> [<sldfiles>]

The tool is more or less failsafe, so if an error occurs in one SLD file, it proceeds with the next, and does not change the faulty one.


look for other deegreeTools


CategoryDeegree2