changeset 203:123fd9887a4f

Rollback the jointable checks.
author raimund renkert <raimund.renkert@intevation.de>
date Thu, 21 Jul 2011 16:12:39 +0200
parents 1e3a5019c4ed
children 52b918f958d0
files ChangeLog src/java/de/intevation/mxd/writer/MapScriptWriter.java
diffstat 2 files changed, 7 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu Jul 21 09:38:44 2011 +0200
+++ b/ChangeLog	Thu Jul 21 16:12:39 2011 +0200
@@ -1,3 +1,9 @@
+2011-07-21  Raimund Renkert  <raimund.renkert@intevation.de>
+
+	* src/java/de/intevation/mxd/writer/MapScriptWriter.java:
+	  Rollback the jointable checks since they are not generalised enough
+	  for the mxd files.
+
 2011-07-21  Stephan Holl  <stephan.holl@intevation.de>
 
 More documentations:
--- a/src/java/de/intevation/mxd/writer/MapScriptWriter.java	Thu Jul 21 09:38:44 2011 +0200
+++ b/src/java/de/intevation/mxd/writer/MapScriptWriter.java	Thu Jul 21 16:12:39 2011 +0200
@@ -289,12 +289,7 @@
                 layer.setProcessing("ATTRIBUTE_QUALIFIED=TRUE");
                 if(layerElement.hasAttribute("join_table")) {
 		    String join = layerElement.getAttribute("join_table");
-		    if (join.indexOf(".") <= 0) {
-		    	logger.warn ("Incomplete join table in layer " +
-				     layerElement.getAttribute("name") +
-				     ". Aborting.");
-			return false;
-		    }
+		    
                     layer.setProcessing(
                         "JOINTABLE=" +
                     layerElement.getAttribute("join_table"));
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)