[MXD2map-commits] r249:4c59d8c36418

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Fri Aug 12 09:15:48 CEST 2011


details:   http://hg.intevation.org/geospatial/mxd2map/rev/4c59d8c36418

changeset: 249:4c59d8c36418

user:      raimund renkert <raimund.renkert at intevation.de>

date:      Wed Aug 10 15:00:40 2011 +0200

description:
Print out a message when a jointable attribute occurs in the mapfile.


diffstat:

 ChangeLog                                              |  6 ++++++
 src/java/de/intevation/mxd/writer/MapScriptWriter.java |  5 +++++
 2 files changed, 11 insertions(+), 0 deletions(-)

diffs (28 lines):

diff -r 191b7d18c79e -r 4c59d8c36418 ChangeLog
--- 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 at 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 at intevation.de>
 
 	* src/java/de/intevation/mxd/writer/MapScriptWriter.java:
diff -r 191b7d18c79e -r 4c59d8c36418 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(


More information about the MXD2map-commits mailing list