diff src/java/de/intevation/mxd/reader/MultiLayerLineSymbolReader.java @ 65:9fca9e09b966

Added cartographic line symbol reader.
author Raimund Renkert <rrenkert@intevation.de>
date Wed, 25 May 2011 14:11:48 +0200
parents c73647bd71c0
children 6bfebb7eb1df
line wrap: on
line diff
--- a/src/java/de/intevation/mxd/reader/MultiLayerLineSymbolReader.java	Tue May 24 17:32:43 2011 +0200
+++ b/src/java/de/intevation/mxd/reader/MultiLayerLineSymbolReader.java	Wed May 25 14:11:48 2011 +0200
@@ -11,6 +11,7 @@
 import com.esri.arcgis.display.SimpleLineSymbol;
 import com.esri.arcgis.display.MarkerLineSymbol;
 import com.esri.arcgis.display.PictureLineSymbol;
+import com.esri.arcgis.display.CartographicLineSymbol;
 import com.esri.arcgis.display.esriSimpleMarkerStyle;
 import com.esri.arcgis.display.IRgbColor;
 import com.esri.arcgis.display.RgbColor;
@@ -98,6 +99,12 @@
                     sreader.setUtil(util);
                     sreader.read();
                 }
+                else if(sym instanceof CartographicLineSymbol) {
+                    ISymbolReader sreader = new CartoLineSymbolReader(sym);
+                    sreader.setParent(renderer);
+                    sreader.setUtil(util);
+                    sreader.read();
+                }
                 else {
                     logger.debug("The type of " + sym.getClass().toString() +
                                  " is not implemented!");
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)