comparison artifacts/src/main/java/org/dive4elements/river/utils/MapfileGenerator.java @ 8747:e9d912c97fa8

We expect that every river has only one RiverAxis of kind 1 This allowed to reduce code duplication and some cleanups.
author Tom Gottfried <tom@intevation.de>
date Fri, 05 Jun 2015 16:56:47 +0200
parents e4606eae8ea5
children 0a5239a1e46e
comparison
equal deleted inserted replaced
8746:e701ef544ffa 8747:e9d912c97fa8
280 280
281 281
282 /** 282 /**
283 * Creates a layer snippet which might be included in the mapfile. 283 * Creates a layer snippet which might be included in the mapfile.
284 * 284 *
285 * @param layerinfo A LayerInfo object that contains all necessary 285 * @param layerInfo A LayerInfo object that contains all necessary
286 * information to build a Mapserver LAYER section. 286 * information to build a Mapserver LAYER section.
287 * @param dir The base dir for the LAYER snippet. 287 * @param layerFile The file that is written.
288 * @param filename The name of the file that is written.
289 * @param tpl The Velocity template which is used to create the LAYER 288 * @param tpl The Velocity template which is used to create the LAYER
290 * section. 289 * section.
291 */ 290 */
292 public void writeLayer( 291 public void writeLayer(
293 LayerInfo layerInfo, 292 LayerInfo layerInfo,

http://dive4elements.wald.intevation.org