Mercurial > mxd2map
diff src/java/de/intevation/mxd/reader/MXDReader.java @ 30:c34c450edb06
Introduced class reader.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Fri, 08 Apr 2011 17:58:37 +0200 |
parents | 77cfa8092611 |
children | 40c0b4e5f91a |
line wrap: on
line diff
--- a/src/java/de/intevation/mxd/reader/MXDReader.java Fri Apr 08 17:36:22 2011 +0200 +++ b/src/java/de/intevation/mxd/reader/MXDReader.java Fri Apr 08 17:58:37 2011 +0200 @@ -23,6 +23,7 @@ import org.w3c.dom.Document; import org.w3c.dom.Element; +import org.w3c.dom.Node; /** * The MXD file reader. @@ -111,6 +112,9 @@ lr.setDocument(mapInfo); lr.read(); if (layer instanceof FeatureLayer){ + IFeatureClass fc = ((FeatureLayer)layer).getFeatureClass(); + IClassReader creader = new FeatureClassReader(fc); + IFeatureRenderer renderer = ((FeatureLayer)layer).getRenderer(); IRendererReader rreader; if(renderer instanceof SimpleRenderer){