Mercurial > mxd2map
diff src/java/de/intevation/mxd/reader/FeatureLayerReader.java @ 58:4e0464c620f0
Introduced the picture symbol reader.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Fri, 20 May 2011 15:34:35 +0200 |
parents | ef7ca23c4233 |
children | e468cf8701ea |
line wrap: on
line diff
--- a/src/java/de/intevation/mxd/reader/FeatureLayerReader.java Tue May 17 13:00:10 2011 +0200 +++ b/src/java/de/intevation/mxd/reader/FeatureLayerReader.java Fri May 20 15:34:35 2011 +0200 @@ -7,6 +7,8 @@ import com.esri.arcgis.carto.ILayer; import com.esri.arcgis.carto.FeatureLayer; import com.esri.arcgis.geodatabase.FeatureClassName; +import com.esri.arcgis.geodatabase.IDataset; +import com.esri.arcgis.geodatabase.IFeatureClass; import com.esri.arcgis.system.IName; import org.w3c.dom.Element; @@ -97,6 +99,9 @@ layerElement.setAttribute("data_source", name.getName()); } + layerElement.setAttribute( + "workspace", + layer.getWorkspace().getPathName()); return layerElement; } }