comparison gnv-artifacts/ChangeLog @ 448:3cb2bea50456

Generate iso line classes according gnv-issues/issue108 gnv-artifacts/trunk@496 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Sun, 03 Jan 2010 12:16:55 +0000
parents 92b7ccbf6163
children c7ca2fce041f
comparison
equal deleted inserted replaced
447:92b7ccbf6163 448:3cb2bea50456
1 2010-01-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2
3 * src/main/java/de/intevation/gnv/state/profile/verticalcrosssection/VerticalCrossSectionOutputState.java:
4 Generate iso line classes according gnv-issues/issue108:
5
6 - If there are more than nine colors used in the chart
7 only the borders of the regions are traced.
8 - If there are less than ten colors each color region
9 is devided into two sub regions.
10 - If there are less than five colors each color region
11 is devided into five sub regions.
12
13 Generate attribute per iso line class with the parameter value
14 of the iso line.
15
16 * src/main/java/de/intevation/gnv/raster/IsoPolygonSeriesProducer.java:
17 Renamed inner interface from LabelGenerator to AttributeGenerator to
18 reflect the fact that the concrete label generation is a matter
19 of i18n too. The concrete label generation should be done when
20 the final chart is going to be created. TODO: Add
21 a JFreeChart style label generator to PolygonRenderer
22
23 * src/main/java/de/intevation/gnv/raster/IsoAttributeGenerator.java:
24 New. Implements the AttributeGenerator interface. It takes
25 the indices of the neighboring regions, uses these values
26 to look into the iso palette and averages the parameter values
27 at the touching borders. This should help in cases where
28 two regions are neighbored in the chart which are not neighbored
29 in the palette which may happen by quantification artifacts.
30
31 * src/main/java/de/intevation/gnv/raster/Palette.java: Added
32 getters to 'from' and 'to' fields.
33
34 * src/main/java/de/intevation/gnv/math/XYColumn.java: Fixed
35 another silly bug with adding values at surface and ground.
36
37 * ChangeLog: Typo fixes
38
1 2010-01-01 Sascha L. Teichmann <sascha.teichmann@intevation.de> 39 2010-01-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2 40
3 * src/main/java/de/intevation/gnv/state/profile/verticalcrosssection/VerticalCrossSectionOutputState.java: 41 * src/main/java/de/intevation/gnv/state/profile/verticalcrosssection/VerticalCrossSectionOutputState.java:
4 Generate iso lines by dividing palette ranges in two 42 Generate iso lines by dividing palette ranges in two
5 parts each and traces them. This shows that the ideas described 43 parts each and trace them. This shows that the ideas described
6 by K. Jancke in gnv-issues/issue108 are possible not the 44 by K. Jancke in gnv-issues/issue108 are possible not the
7 right way to go. Applying this strategy there would be 45 right way to go. Applying this strategy there would be
8 locally to many isolines if there is a steep gradient. 46 locally to many isolines if there is a steep gradient.
9 On the other side large areas are splitted in too less sections 47 On the other side large areas are splitted in too less sections
10 by too less iso lines. A better way may be a splitting with 48 by too less iso lines. A better way may be a splitting with
11 a look at the areas and shapes of regions. Large, round areas need 49 a look at the areas and shapes of the regions. Large, round
12 more splits. Long, thin areas need less splits. 50 regions need more splits. Long, thin regions need less.
13 51
14 * src/main/java/de/intevation/gnv/raster/IsoPolygonSeriesProducer.java: 52 * src/main/java/de/intevation/gnv/raster/IsoPolygonSeriesProducer.java:
15 Stabilized iso line hashing a bit. Added line width to 53 Stabilized iso line hashing a bit. Added line width to
16 give iso lines a more appealing presentation in the chart. 54 give iso lines a more appealing presentation in the chart.
17 The according value is stored in "line.width". 55 The according value is stored in "line.width".
18 56
19 * src/main/java/de/intevation/gnv/raster/Vectorizer.java: Fixed silly 57 * src/main/java/de/intevation/gnv/raster/Vectorizer.java: Fixed silly
20 bug when simplifying lines. This prevented iso line 58 bug when simplifying lines. This prevented iso lines
59 from rendering.
21 60
22 * src/main/java/de/intevation/gnv/raster/Palette.java: Fixed index issue 61 * src/main/java/de/intevation/gnv/raster/Palette.java: Fixed index issue
23 when generating a divided palette. 62 when generating a divided palette.
24 63
25 * src/main/java/de/intevation/gnv/jfreechart/PolygonSeries.java: 64 * src/main/java/de/intevation/gnv/jfreechart/PolygonSeries.java:

http://dive4elements.wald.intevation.org