Mercurial > dive4elements > gnv-client
diff gnv-artifacts/src/main/java/de/intevation/gnv/state/layer/LayerOutputState.java @ 853:164d102b0af5
Fixed Bug in renaming a Layer in Product Layer.
gnv-artifacts/trunk@971 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Fri, 23 Apr 2010 10:12:43 +0000 |
parents | 05bf8534a35a |
children | 3fbabd4803d7 |
line wrap: on
line diff
--- a/gnv-artifacts/src/main/java/de/intevation/gnv/state/layer/LayerOutputState.java Thu Apr 22 08:54:36 2010 +0000 +++ b/gnv-artifacts/src/main/java/de/intevation/gnv/state/layer/LayerOutputState.java Fri Apr 23 10:12:43 2010 +0000 @@ -590,8 +590,11 @@ log.debug("Layer type: " + paramType); } - Document meta = MetaWriter.writeHorizontalcrosssectionMeta( - callContext, uuid, path, paramType); + Document meta = MetaWriter.writeLayerMeta(callContext, uuid, + path, paramType, + this.determineGeometryType(geometryType), + SHAPEFILE_NAME, + title); if (meta != null) { MapfileGenerator.getInstance().update(); return meta; @@ -611,7 +614,9 @@ } Document meta = MetaWriter.writeLayerMeta(callContext, uuid, path, paramType, - this.determineGeometryType(geometryType)); + this.determineGeometryType(geometryType), + SHAPEFILE_NAME, + title); if (meta != null) { MapfileGenerator.getInstance().update(); return meta;