changeset 5272:da3101abc9da

Use river name as layername in new map projects.
author Raimund Renkert <rrenkert@intevation.de>
date Wed, 13 Mar 2013 12:47:51 +0100
parents dac7723fb502
children bcfb30b73f06
files flys-artifacts/src/main/java/de/intevation/flys/artifacts/MapArtifact.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/MapArtifact.java	Wed Mar 13 11:48:01 2013 +0100
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/MapArtifact.java	Wed Mar 13 12:47:51 2013 +0100
@@ -158,7 +158,7 @@
                 getID(), hash,
                 getUrl());
 
-            String name = type + "-" + artifact.identifier();
+            String name = artifact.getDataAsString("river");
 
             facet.addLayer(name);
             facet.setExtent(getExtent(false));

http://dive4elements.wald.intevation.org