diff src/java/de/intevation/mxd/writer/MapScriptWriter.java @ 308:1c949a309940

Wirte offsite values for raster layers
author Andre Heinecke <aheinecke@intevation.de>
date Thu, 06 Sep 2012 18:59:35 +0200
parents f9e53dcc7424
children c8b8f887ef80
line wrap: on
line diff
--- 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) {
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)