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:
StyledLayerDescriptor
-
Class Summary Class Description MBArrayStop Wrapper for a "stop" in an array function (SeeMBFunction.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 MBFilter json wrapper, allowing conversion to a GeoTools Filter.MBFunction MBFunction json wrapper, allowing conversion of function to a GeoTools Expression.MBObjectParser Helper class used to perform JSON traversal ofJSONObject
and perform Expression and Filter conversions.MBObjectStops 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.MBObjectStops.LayerStops Function stops representation.MBStyleParser -
Enum Summary Enum Description MBFunction.FunctionCategory Function category property, zoom, or property and zoom.MBFunction.FunctionType Optional type, one of identity, exponential, interval, categorical. -
Exception Summary Exception Description MBFormatException Thrown if the MapBox JSON used byMBStyle
does not conform to the MapBox specification