1. General Information
First of all, please make sure to read the chapter on General Information for all deegreeTools.
This program converts ESRI *.avl files to OGC SLD documents. The current version of this tool isn't able to convert each and every construction that is possible with an *.avl file. But most of the common expressions will be mapped.
Because SLD (version 1.0.0) does not know inline bitmap or fill pattern definition directly (maybe it is possible using some SVG tags) all polygon fill patterns must be converted to images that are written to the file system and referenced as external graphic by the created SLD style. The similar is true for symbol definitions. SLD just 'knowns' a few predefined symbols that are not able to capture all symbols known by ArcView. In this context deegree also will extend the well known symbol by using ASCII codes to references symbols defined in an available font. This will enable deegree to transform the ArcView option defining a symbol by using an ACSII character directly. At least even if the synthax for this is SLD compliant most SLD implementation probably won't be able to evaluate this.
3. Library Dependancies
deegree2.jar acme.jar batik-transcoder.jar jai_codec.jar jai_core.jar mlibwrapper.jar log4j-1.2.9.jar commons-logging.jar batik-ext.jar batik-awt-util.jar commons-httpclient-2.0.2-deegreeversion.jar jaxen-1.1-beta-8.jar
The program will be invoked as follows:
java -classpath .;libs/deegree2.jar org.deegree.tools.shape.AVL2SLD -sourceFile D:/deegree/aAVLFile.avl -targetDir D:/deegree/sld
The program receives following commandline parameter:
- path to the AVL file to be converted
- path to the directory where to store the created SLD document
look for other deegreeTools