Skip navigation links
org.geotools.mbstyle.parse

Class MBFilter

    • Constructor Detail

      • MBFilter

        public MBFilter(JSONArray json)
    • Method Detail

      • semanticTypeIdentifiers

        public Set<SemanticType> semanticTypeIdentifiers()
        Translate "$type": the feature type we need This key may be used with the "==", "!=", "in", and "!in" operators. Possible values are "Point", "LineString", and "Polygon".
        Returns:
        Set of GeoTools SemanticType (Point, LineString, Polygon).
      • filter

        public Filter filter()
        Generate GeoTools Filter from json definition.

        This filter specifying conditions on source features. Only features that match the filter are displayed.

        Returns:
        GeoTools Filter specifying conditions on source features.

Copyright © 1996–2020 Geotools. All rights reserved.