comparison src/java/de/intevation/mxd/reader/MXDReader.java @ 79:5becdfe6ebae

merged with raimunds stuff
author Stephan Holl <stephan.holl@intevation.de>
date Fri, 27 May 2011 12:54:55 +0200
parents 7eba97e8201b
children 163d474165b0
comparison
equal deleted inserted replaced
78:df17d4c2f9eb 79:5becdfe6ebae
118 } 118 }
119 119
120 for(int i = 0; i < map.getLayerCount();i++) { 120 for(int i = 0; i < map.getLayerCount();i++) {
121 ILayer layer = map.getLayer(i); 121 ILayer layer = map.getLayer(i);
122 try { 122 try {
123 //TODO Implement wrapper for renderer reader
123 if (layer instanceof FeatureLayer) { 124 if (layer instanceof FeatureLayer) {
124 FeatureLayerReader lr = new FeatureLayerReader(layer); 125 FeatureLayerReader lr = new FeatureLayerReader(layer);
125 lr.setUtil(util); 126 lr.setUtil(util);
126 Element layerElement = lr.read(); 127 Element layerElement = lr.read();
127 IFeatureRenderer renderer = 128 IFeatureRenderer renderer =
182 } 183 }
183 } 184 }
184 } 185 }
185 catch(Exception e) { 186 catch(Exception e) {
186 e.printStackTrace(); 187 e.printStackTrace();
188 return false;
187 } 189 }
188 } 190 }
189 util.print(); 191 util.print();
190 } 192 }
191 return true; 193 return true;
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)