# HG changeset patch # User Raimund Renkert # Date 1363175271 -3600 # Node ID da3101abc9dab57069227fe1b9df82b221f361a3 # Parent dac7723fb502004ec75584e49cae8f2a66670f91 Use river name as layername in new map projects. diff -r dac7723fb502 -r da3101abc9da flys-artifacts/src/main/java/de/intevation/flys/artifacts/MapArtifact.java --- 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));