|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.tools.shape.AVL2SLD
public class AVL2SLD
This class 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.
Constructor Summary | |
---|---|
AVL2SLD(java.lang.String fileRootName,
java.lang.String targetDir)
|
Method Summary | |
---|---|
AbstractStyle |
getStyle()
returns a Style. |
StyledLayerDescriptor |
getStyledLayerDescriptor()
creates a StyledLayerDescriptor from the avl file assigned to the instace of a AVLReader. |
static void |
main(java.lang.String[] args)
|
void |
read()
reads the avl file assigned to a class instance |
static java.lang.String[] |
splitavl(java.lang.String s)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AVL2SLD(java.lang.String fileRootName, java.lang.String targetDir)
fileRootName
- targetDir
- Method Detail |
---|
public void read() throws java.io.IOException
java.io.IOException
public AbstractStyle getStyle() throws java.io.IOException, java.lang.Exception
java.io.IOException
java.lang.Exception
public StyledLayerDescriptor getStyledLayerDescriptor() throws java.io.IOException, java.lang.Exception
java.io.IOException
java.lang.Exception
public static java.lang.String[] splitavl(java.lang.String s)
s
- string to parse
public static void main(java.lang.String[] args) throws java.lang.Exception
args
-
java.lang.Exception
|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org