Search in sources :

Example 1 with SLD110toGTTransformer

use of org.geotoolkit.sld.xml.SLD110toGTTransformer in project geotoolkit by Geomatys.

the class PatternSymbolizer method getRanges.

public Map<Expression, List<Symbolizer>> getRanges() {
    if (thredholds == null && range != null) {
        thredholds = new TreeMap<>(new ExpComparator());
        final SLD110toGTTransformer io = new StyleXmlIO().getTransformer110();
        final Map<Expression, List<Symbolizer>> visitRanges = io.visitRanges(range);
        thredholds.putAll(visitRanges);
    }
    return thredholds;
}
Also used : Expression(org.opengis.filter.Expression) StyleXmlIO(org.geotoolkit.sld.xml.StyleXmlIO) ArrayList(java.util.ArrayList) List(java.util.List) SLD110toGTTransformer(org.geotoolkit.sld.xml.SLD110toGTTransformer)

Aggregations

ArrayList (java.util.ArrayList)1 List (java.util.List)1 SLD110toGTTransformer (org.geotoolkit.sld.xml.SLD110toGTTransformer)1 StyleXmlIO (org.geotoolkit.sld.xml.StyleXmlIO)1 Expression (org.opengis.filter.Expression)1