comparison 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
comparison
equal deleted inserted replaced
248:191b7d18c79e 249:4c59d8c36418
360 ",SHAPE," + 360 ",SHAPE," +
361 layerElement.getAttribute("version")); 361 layerElement.getAttribute("version"));
362 layer.setProcessing("CLOSE_CONNECTION=defer"); 362 layer.setProcessing("CLOSE_CONNECTION=defer");
363 layer.setProcessing("ATTRIBUTE_QUALIFIED=TRUE"); 363 layer.setProcessing("ATTRIBUTE_QUALIFIED=TRUE");
364 if(layerElement.hasAttribute("join_table")) { 364 if(layerElement.hasAttribute("join_table")) {
365 logger.info(
366 "The layer " +
367 layer.getName() +
368 " contains a jointable attribute." +
369 " Please verify the attribute parameters.");
365 String join = layerElement.getAttribute("join_table"); 370 String join = layerElement.getAttribute("join_table");
366 371
367 layer.setProcessing( 372 layer.setProcessing(
368 "JOINTABLE=" + 373 "JOINTABLE=" +
369 layerElement.getAttribute("join_table")); 374 layerElement.getAttribute("join_table"));
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)