diff src/java/de/intevation/mxd/writer/MapScriptWriter.java @ 249:4c59d8c36418

Print out a message when a jointable attribute occurs in the mapfile.
author raimund renkert <raimund.renkert@intevation.de>
date Wed, 10 Aug 2011 15:00:40 +0200
parents 191b7d18c79e
children eae3fe89e669
line wrap: on
line diff
--- a/src/java/de/intevation/mxd/writer/MapScriptWriter.java	Wed Aug 10 14:39:31 2011 +0200
+++ b/src/java/de/intevation/mxd/writer/MapScriptWriter.java	Wed Aug 10 15:00:40 2011 +0200
@@ -362,6 +362,11 @@
                 layer.setProcessing("CLOSE_CONNECTION=defer");
                 layer.setProcessing("ATTRIBUTE_QUALIFIED=TRUE");
                 if(layerElement.hasAttribute("join_table")) {
+		    logger.info(
+		        "The layer " +
+			layer.getName() +
+			" contains a jointable attribute." +
+			" Please verify the attribute parameters.");
 		    String join = layerElement.getAttribute("join_table");
 		    
                     layer.setProcessing(
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)