Package org.geotools.mbstyle.parse
package org.geotools.mbstyle.parse
JSON Parsing support for MapBox Style support.
- This package contains
MBStyleParser
to access JSON content. - Utility JSON wrappers
MBObjectParser
,MBFunction
andMBFilter
are provided for use.
- See Also:
-
ClassDescriptionWrapper for a "stop" in an array function (See
MBFunction.isArrayFunction()
), providing methods to access the stop key and stop value array, as well as a method to reduce it from an array stop to a single-value stop (for a given index).MBFilter json wrapper, allowing conversion to a GeoTools Filter.Thrown if the MapBox JSON used byMBStyle
does not conform to the MapBox specificationMBFunction json wrapper, allowing conversion of function to a GeoTools Expression.Function category property, zoom, or property and zoom.Optional type, one of identity, exponential, interval, categorical.Helper class used to perform JSON traversal ofJSONObject
and perform Expression and Filter conversions.This class provides the ability to find all the zoom levels within a MapBox Style and returns a reduced list of only the layers and properties containing Base and Stops values.Function stops representation.