diff --git a/src/params/SymbolPlotting.xml b/src/params/SymbolPlotting.xml index f5fa53aa..231a792f 100644 --- a/src/params/SymbolPlotting.xml +++ b/src/params/SymbolPlotting.xml @@ -312,6 +312,40 @@ does it submit to any jurisdiction. With GeoSon : list of colours to use + + With GeoSon : property name to use to set the colour + + + With GeoSon : list of colours to use + + + With GeoSon : list of heights to use + + + + With GeoSon : list of colours to use + + hueFinder; + auto value_hue = property_hue_values_list_.begin(); + auto hue = property_hue_list_.begin(); + IntervalMap lightnessFinder; + auto value_lightness = property_lightness_values_list_.begin(); + auto lightness = property_lightness_list_.begin(); + + while (true) { + if (value_hue + 1 == property_hue_values_list_.end()) + break; + + hueFinder[Interval(*value_hue, *(value_hue+1))] = *hue; + if (hue + 1 != property_hue_list_.end()) + hue++; + ++value_hue; + } + while (true) { + if (value_lightness + 1 == property_lightness_values_list_.end()) + break; + + lightnessFinder[Interval(*value_lightness, *(value_lightness+1))] = *lightness; + if (lightness + 1 != property_lightness_list_.end()) + lightness++; + ++value_lightness; + } + IntervalMap hueFinder; IntervalMap lightnessFinder; @@ -194,7 +220,6 @@ void SymbolPlotting::by_property(Data& data, BasicGraphicsObjectContainer& out) Hsl hsl(hueFinder.find(hue, 0), property_saturation_value_, lightnessFinder.find(lightness, 0.5)); Colour colour(hsl); - cout << colour << endl; symbol->setColour(colour);