comparison gnv-artifacts/ChangeLog @ 1057:04967dc9c83f

The title of a layer can be changed by the user. Product 'Layer' and 'Horizontalschnitt' now use the same code path to write the meta information file. (issue198) gnv-artifacts/trunk@1134 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Thu, 27 May 2010 16:43:00 +0000
parents 0318fda0001e
children 2b4f1c095468
comparison
equal deleted inserted replaced
1056:0318fda0001e 1057:04967dc9c83f
1 2010-05-27 Ingo Weinzierl <ingo.weinzierl@intevation.de>
2
3 Issue198
4
5 * src/main/java/de/intevation/gnv/utils/MetaWriter.java: Product 'Layer' and
6 'Horizontalschnitt' use the same code to write meta files. To create a
7 meta file, it is now necessary to use four methods:
8 - initMeta(): creates a new xml document and inserts the root node 'meta'
9 - insertAbstractMeta(.): adds meta information into the meta file
10 - insertLayer(.): adds layer specific information into the meta file
11 - writeMetaFile(.): writes the meta information file to disk.
12
13 * src/main/java/de/intevation/gnv/state/profile/horizontalcrosssection/HorizontalCrossSectionMeshOutputState.java,
14 src/main/java/de/intevation/gnv/state/layer/LayerOutputState.java: Make
15 use of the new methods of MetaWriter. Both classes use the same methods
16 now!
17
18 * doc/conf/queries.properties: Fetch the layername from database while
19 requesting wms data.
20
21 * src/main/java/de/intevation/gnv/state/layer/LayerMetaData.java: Added the
22 title of a layer. The title is used while creating the meta information
23 file for wms layers.
24
25 * doc/conf/maptemplates/horizontalcrosssection_salinity.vm,
26 doc/conf/maptemplates/horizontalcrosssection_salinity_isolines.vm,
27 doc/conf/maptemplates/layer_linestring.vm,
28 doc/conf/maptemplates/horizontalcrosssection_flow-velocity.vm,
29 doc/conf/maptemplates/horizontalcrosssection_flow-velocity_isolines.vm,
30 doc/conf/maptemplates/horizontalcrosssection_water-levels.vm,
31 doc/conf/maptemplates/layer_polygon.vm,
32 doc/conf/maptemplates/horizontalcrosssection_water-temperature.vm,
33 doc/conf/maptemplates/layer_point.vm,
34 doc/conf/maptemplates/horizontalcrosssection_water-levels_isolines.vm,
35 doc/conf/maptemplates/horizontalcrosssection_water-temperature_isolines.vm:
36 Adjusted the templates regarding the changes in meta file. Each parameter
37 that is necessary in these templates is contained in the LayerInfo object.
38 So there is no need to concatenate parameters as it was the case before
39 these changes. Furthermore, there is a new section that contains the title
40 of a layer - the title is adjustable by the user.
41
1 2010-05-27 Ingo Weinzierl <ingo.weinzierl@intevation.de> 42 2010-05-27 Ingo Weinzierl <ingo.weinzierl@intevation.de>
2 43
3 * src/main/java/de/intevation/gnv/exports/ChartExportHelper.java: Fixed a 44 * src/main/java/de/intevation/gnv/exports/ChartExportHelper.java: Fixed a
4 bug while exporting charts and histograms to pdf. Charts/histograms that 45 bug while exporting charts and histograms to pdf. Charts/histograms that
5 are larger than the pdf page have been cut. The reason was a usage of 46 are larger than the pdf page have been cut. The reason was a usage of

http://dive4elements.wald.intevation.org