Mercurial > dive4elements > river
diff flys-artifacts/src/main/java/de/intevation/flys/wsplgen/FacetCreator.java @ 4286:6ccdcb956c14
Create better titles for floodmap calculation results. Include the rivername and the km range.
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Mon, 29 Oct 2012 09:12:16 +0100 |
parents | 36147ddb2c32 |
children | ba4d7f153890 |
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/wsplgen/FacetCreator.java Mon Oct 29 07:36:56 2012 +0100 +++ b/flys-artifacts/src/main/java/de/intevation/flys/wsplgen/FacetCreator.java Mon Oct 29 09:12:16 2012 +0100 @@ -110,13 +110,18 @@ } public void createWSPLGENFacet() { + String river = getRiver(); + double kms[] = FLYSUtils.getKmRange(artifact); + WSPLGENLayerFacet wsplgen = new WSPLGENLayerFacet( 0, FLOODMAP_WSPLGEN, - Resources.getMsg( + Resources.format( cc.getMeta(), I18N_WSPLGEN_RESULT, - I18N_WSPLGEN_DEFAULT), + I18N_WSPLGEN_DEFAULT, + river, + kms[0], kms[1]), ComputeType.ADVANCE, stateId, hash,