comparison src/java/de/intevation/mxd/writer/MapScriptWriter.java @ 203:123fd9887a4f

Rollback the jointable checks.
author raimund renkert <raimund.renkert@intevation.de>
date Thu, 21 Jul 2011 16:12:39 +0200
parents ecf2f68230a2
children 52b918f958d0
comparison
equal deleted inserted replaced
202:1e3a5019c4ed 203:123fd9887a4f
287 layerElement.getAttribute("version")); 287 layerElement.getAttribute("version"));
288 layer.setProcessing("CLOSE_CONNECTION=defer"); 288 layer.setProcessing("CLOSE_CONNECTION=defer");
289 layer.setProcessing("ATTRIBUTE_QUALIFIED=TRUE"); 289 layer.setProcessing("ATTRIBUTE_QUALIFIED=TRUE");
290 if(layerElement.hasAttribute("join_table")) { 290 if(layerElement.hasAttribute("join_table")) {
291 String join = layerElement.getAttribute("join_table"); 291 String join = layerElement.getAttribute("join_table");
292 if (join.indexOf(".") <= 0) { 292
293 logger.warn ("Incomplete join table in layer " +
294 layerElement.getAttribute("name") +
295 ". Aborting.");
296 return false;
297 }
298 layer.setProcessing( 293 layer.setProcessing(
299 "JOINTABLE=" + 294 "JOINTABLE=" +
300 layerElement.getAttribute("join_table")); 295 layerElement.getAttribute("join_table"));
301 layer.setFilter( 296 layer.setFilter(
302 "where " + 297 "where " +
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)