diff src/java/de/intevation/mxd/reader/FeatureLayerReader.java @ 62:e468cf8701ea

Prepared the converter to handle and write line symbols.
author Raimund Renkert <rrenkert@intevation.de>
date Tue, 24 May 2011 14:16:25 +0200
parents 4e0464c620f0
children 7eba97e8201b
line wrap: on
line diff
--- a/src/java/de/intevation/mxd/reader/FeatureLayerReader.java	Mon May 23 13:16:42 2011 +0200
+++ b/src/java/de/intevation/mxd/reader/FeatureLayerReader.java	Tue May 24 14:16:25 2011 +0200
@@ -87,8 +87,9 @@
 
         int type = layer.getShapeType();
         switch (type) {
-            case 0: layerElement.setAttribute("type", "none");
-            case 1: layerElement.setAttribute("type", "point");
+            case 0: layerElement.setAttribute("type", "none"); break;
+            case 1: layerElement.setAttribute("type", "point"); break;
+            case 3: layerElement.setAttribute("type", "line"); break;
         }
 
         layerElement.setAttribute("definition_query",
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)