changeset 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 d10fd4de02aa
files ChangeLog src/java/de/intevation/mxd/writer/MapScriptWriter.java
diffstat 2 files changed, 11 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Wed Aug 10 14:39:31 2011 +0200
+++ b/ChangeLog	Wed Aug 10 15:00:40 2011 +0200
@@ -1,3 +1,9 @@
+2011-08-10  Raimund Renkert  <raimund.renkert@intevation.de>
+
+	* src/java/de/intevation/mxd/writer/MapScriptWriter.java:
+	  Print out a message when a jointable attribute occurs in the
+	  mapfile.
+
 2011-08-10  Raimund Renkert  <raimund.renkert@intevation.de>
 
 	* src/java/de/intevation/mxd/writer/MapScriptWriter.java:
--- 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)