comparison artifacts/src/main/java/org/dive4elements/river/wsplgen/FacetCreator.java @ 6331:91dfd6425f11

Use group layer instead of adding two layers to barriers facet The facet has a hard layers.get(0) in it's toXML function so this code was completly useless.
author Andre Heinecke <aheinecke@intevation.de>
date Thu, 13 Jun 2013 17:23:51 +0200
parents a0078e5e3b39
children e4606eae8ea5
comparison
equal deleted inserted replaced
6330:36dc11244ec3 6331:91dfd6425f11
166 ComputeType.ADVANCE, 166 ComputeType.ADVANCE,
167 stateId, 167 stateId,
168 hash, 168 hash,
169 getUrl()); 169 getUrl());
170 170
171 barriers.addLayer(MapfileGenerator.MS_LAYER_PREFIX + 171 barriers.addLayer(MapfileGenerator.MS_BARRIERS_PREFIX + artifact.identifier());
172 MapfileGenerator.MS_BARRIERS_PREFIX + "lines" + artifact.identifier());
173 barriers.addLayer( MapfileGenerator.MS_LAYER_PREFIX +
174 MapfileGenerator.MS_BARRIERS_PREFIX + "poly" + artifact.identifier());
175 172
176 barriers.setSrid(getSrid()); 173 barriers.setSrid(getSrid());
177 barriers.setExtent(getBounds()); 174 barriers.setExtent(getBounds());
178 175
179 tmpFacets.add(barriers); 176 tmpFacets.add(barriers);

http://dive4elements.wald.intevation.org