diff 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
line wrap: on
line diff
--- a/gnv-artifacts/ChangeLog	Fri Jan 01 21:52:41 2010 +0000
+++ b/gnv-artifacts/ChangeLog	Sun Jan 03 12:16:55 2010 +0000
@@ -1,15 +1,53 @@
+2010-01-03	Sascha L. Teichmann	<sascha.teichmann@intevation.de>
+
+	* src/main/java/de/intevation/gnv/state/profile/verticalcrosssection/VerticalCrossSectionOutputState.java:
+	  Generate iso line classes according gnv-issues/issue108:
+
+	  - If there are more than nine colors used in the chart
+	    only the borders of the regions are traced.
+	  - If there are less than ten colors each color region
+	    is devided into two sub regions.
+	  - If there are less than five colors each color region
+	    is devided into five sub regions.
+
+	  Generate attribute per iso line class with the parameter value
+	  of the iso line.
+
+	* src/main/java/de/intevation/gnv/raster/IsoPolygonSeriesProducer.java:
+	  Renamed inner interface from LabelGenerator to AttributeGenerator to
+	  reflect the fact that the concrete label generation is a matter
+	  of i18n too. The concrete label generation should be done when 
+	  the final chart is going to be created. TODO: Add
+	  a JFreeChart style label generator to PolygonRenderer
+
+	* src/main/java/de/intevation/gnv/raster/IsoAttributeGenerator.java:
+	  New. Implements the AttributeGenerator interface. It takes
+	  the indices of the neighboring regions, uses these values
+	  to look into the iso palette and averages the parameter values
+	  at the touching borders. This should help in cases where 
+	  two regions are neighbored in the chart which are not neighbored
+	  in the palette which may happen by quantification artifacts.
+
+	* src/main/java/de/intevation/gnv/raster/Palette.java: Added
+	  getters to 'from' and 'to' fields.
+
+	* src/main/java/de/intevation/gnv/math/XYColumn.java: Fixed
+	  another silly bug with adding values at surface and ground.
+
+	* ChangeLog: Typo fixes
+
 2010-01-01	Sascha L. Teichmann	<sascha.teichmann@intevation.de>
 
 	* src/main/java/de/intevation/gnv/state/profile/verticalcrosssection/VerticalCrossSectionOutputState.java:
 	  Generate iso lines by dividing palette ranges in two
-	  parts each and traces them. This shows that the ideas described
+	  parts each and trace them. This shows that the ideas described
 	  by K. Jancke in gnv-issues/issue108 are possible not the
 	  right way to go. Applying this strategy there would be
 	  locally to many isolines if there is a steep gradient. 
 	  On the other side large areas are splitted in too less sections
 	  by too less iso lines. A better way may be a splitting with
-	  a look at the areas and shapes of regions. Large, round areas need
-	  more splits. Long, thin areas need less splits.
+	  a look at the areas and shapes of the regions. Large, round 
+	  regions need more splits. Long, thin regions need less.
 
 	* src/main/java/de/intevation/gnv/raster/IsoPolygonSeriesProducer.java:
 	  Stabilized iso line hashing a bit. Added line width to
@@ -17,7 +55,8 @@
 	  The according value is stored in "line.width".
 
 	* src/main/java/de/intevation/gnv/raster/Vectorizer.java: Fixed silly
-	  bug when simplifying lines. This prevented iso line
+	  bug when simplifying lines. This prevented iso lines 
+	  from rendering.
 
 	* src/main/java/de/intevation/gnv/raster/Palette.java: Fixed index issue
 	  when generating a divided palette.

http://dive4elements.wald.intevation.org