changeset 1112:9a24c743efa6

Write missing bbox into meta file while publishing a WMS layer for product 'Horizontalschnitt'. gnv-artifacts/trunk@1246 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Tue, 29 Jun 2010 16:56:30 +0000
parents 19182eaccc8d
children e7efbded1367
files gnv-artifacts/ChangeLog gnv-artifacts/src/main/java/de/intevation/gnv/state/profile/horizontalcrosssection/HorizontalCrossSectionMeshOutputState.java
diffstat 2 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/gnv-artifacts/ChangeLog	Tue Jun 29 16:35:36 2010 +0000
+++ b/gnv-artifacts/ChangeLog	Tue Jun 29 16:56:30 2010 +0000
@@ -1,3 +1,10 @@
+2010-06-29  Ingo Weinzierl <ingo.weinzierl@intevation.de>
+
+	* src/main/java/de/intevation/gnv/state/profile/horizontalcrosssection/HorizontalCrossSectionMeshOutputState.java:
+	  Write missing bbox into meta file while WMS publishing - the missing bbox
+	  prevented the map from initializing properly and it wasn't displayed in
+	  the gui.
+
 2010-06-29  Ingo Weinzierl <ingo.weinzierl@intevation.de>
 
 	  Issue315, Issue314
--- a/gnv-artifacts/src/main/java/de/intevation/gnv/state/profile/horizontalcrosssection/HorizontalCrossSectionMeshOutputState.java	Tue Jun 29 16:35:36 2010 +0000
+++ b/gnv-artifacts/src/main/java/de/intevation/gnv/state/profile/horizontalcrosssection/HorizontalCrossSectionMeshOutputState.java	Tue Jun 29 16:56:30 2010 +0000
@@ -378,6 +378,7 @@
                     callContext, meta, name, title, data, model, type, status);
 
                 if (meta != null) {
+                    MetaWriter.insertMbr(this.bbox, "EPSG:4326", meta);
                     MetaWriter.writeMetaFile(path, meta);
                     MapfileGenerator.getInstance().update();
                     return meta;

http://dive4elements.wald.intevation.org