[MXD2map-commits] r308:1c949a309940
scm-commit at wald.intevation.org
scm-commit at wald.intevation.org
Thu Sep 6 18:59:38 CEST 2012
details: http://hg.intevation.org/geospatial/mxd2map/rev/1c949a309940
changeset: 308:1c949a309940
user: Andre Heinecke <aheinecke at intevation.de>
date: Thu Sep 06 18:59:35 2012 +0200
description:
Wirte offsite values for raster layers
diffstat:
ChangeLog | 5 +++++
src/java/de/intevation/mxd/writer/MapScriptWriter.java | 5 +++++
2 files changed, 10 insertions(+), 0 deletions(-)
diffs (27 lines):
diff -r f9e53dcc7424 -r 1c949a309940 ChangeLog
--- a/ChangeLog Thu Sep 06 18:58:41 2012 +0200
+++ b/ChangeLog Thu Sep 06 18:59:35 2012 +0200
@@ -1,3 +1,8 @@
+2012-09-06 Andre Heinecke <aheinecke at intevation.de>
+
+ * src/java/de/intevation/mxd/writer/MapScriptWriter.java:
+ Write offsite values for raster layers
+
2012-09-06 Andre Heinecke <aheinecke at intevation.de>
* src/java/de/intevation/mxd/reader/FeatureLayerReader.java,
diff -r f9e53dcc7424 -r 1c949a309940 src/java/de/intevation/mxd/writer/MapScriptWriter.java
--- a/src/java/de/intevation/mxd/writer/MapScriptWriter.java Thu Sep 06 18:58:41 2012 +0200
+++ b/src/java/de/intevation/mxd/writer/MapScriptWriter.java Thu Sep 06 18:59:35 2012 +0200
@@ -532,6 +532,11 @@
layer.setTemplate("PleaseInsertAValidTemplateForGFI");
}
+ // Set Offsite value for raster layer
+ if(type == "raster") {
+ layer.setOffsite(new colorObj(255,255,255,-4));
+ }
+
// Create labelitem
NodeList labels = layerElement.getElementsByTagName("label");
if(labels.getLength() > 0) {
More information about the MXD2map-commits
mailing list