Uses of Class
org.geotools.mbstyle.parse.MBFormatException
Packages that use MBFormatException
Package
Description
Support for MapBox Style generation for GeoTools.
JSON Parsing support for MapBox Style support.
-
Uses of MBFormatException in org.geotools.mbstyle
Methods in org.geotools.mbstyle that throw MBFormatException -
Uses of MBFormatException in org.geotools.mbstyle.expression
Methods in org.geotools.mbstyle.expression that throw MBFormatExceptionModifier and TypeMethodDescriptionMBColor.getExpression()
MBDecision.getExpression()
MBFeatureData.getExpression()
MBHeatmap.getExpression()
MBLookup.getExpression()
MBMath.getExpression()
MBRampsScalesCurves.getExpression()
MBTypes.getExpression()
MBVariableBinding.getExpression()
MBZoom.getExpression()
MBString.stringConcat()
Returns a string consisting of the concatenation of the inputs.protected void
MBExpression.throwInsufficientArgumentCount
(String expression, int argCount) protected void
MBExpression.throwUnexpectedArgumentCount
(String expression, int argCount) -
Uses of MBFormatException in org.geotools.mbstyle.layer
Methods in org.geotools.mbstyle.layer that throw MBFormatExceptionModifier and TypeMethodDescriptionCircleMBLayer.circleBlur()
Access circle-blur as literal or function expression, defaults to 0CircleMBLayer.circleColor()
Access circle-color as literal or function expression, defaults to black.CircleMBLayer.circleOpacity()
Access circle-opacity, defaults to 1.CircleMBLayer.circleRadius()
Access circle-radius as literal or function expression, defaults to 5CircleMBLayer.circleStrokeColor()
Access circle-stroke-color as literal or function expression, defaults to black.CircleMBLayer.circleStrokeOpacity()
Access circle-stroke-opacity, defaults to 1.CircleMBLayer.circleStrokeWidth()
Access circle-stroke-width, defaults to 0.CircleMBLayer.circleTranslate()
Access circle-translateFillExtrusionMBLayer.fillExtrusionBase()
Access fill-extrusion-base as literal or function expressionFillExtrusionMBLayer.fillExtrusionColor()
Access fill-extrusion-color as literal or function expression, defaults to black.FillExtrusionMBLayer.fillExtrusionHeight()
Access fill-extrusion-height as literal or function expressionFillExtrusionMBLayer.fillExtrusionOpacity()
Access fill-extrusion-opacity as literal or function expressionFillMBLayer.fillOpacity()
Access fill-opacity, defaults to 1.CircleMBLayer.getCircleBlur()
(Optional) Amount to blur the circle. 1 blurs the circle such that only the centerpoint is full opacity.CircleMBLayer.getCircleColor()
(Optional) The fill color of the circle.CircleMBLayer.getCircleOpacity()
(Optional) The opacity at which the circle will be drawn.CircleMBLayer.getCircleRadius()
(Optional) Circle radius in pixels.CircleMBLayer.getCircleStrokeColor()
(Optional) The stroke color of the circle.CircleMBLayer.getCircleStrokeOpacity()
(Optional) The opacity of the circle's stroke.CircleMBLayer.getCircleStrokeWidth()
(Optional) The width of the circle's stroke.int[]
CircleMBLayer.getCircleTranslate()
(Optional) The geometry's offset.FillExtrusionMBLayer.getFillExtrusionBase()
(Optional) Units in meters.FillExtrusionMBLayer.getFillExtrusionColor()
(Optional).FillExtrusionMBLayer.getFillExtrusionHeight()
(Optional) Units in meters.FillExtrusionMBLayer.getFillExtrusionOpacity()
(Optional) Defaults to 1.FillExtrusionMBLayer.getFillExtrusionPattern()
(Optional) Name of image in sprite to use for drawing images on extruded fills.int[]
FillExtrusionMBLayer.getFillExtrusionTranslate()
(Optional) Units in pixels.FillMBLayer.getFillOpacity()
(Optional) The opacity of the entire fill layer.SymbolMBLayer.getIconAllowOverlap()
(Optional) Defaults to false.SymbolMBLayer.getIconHaloBlur()
(Optional) Units in pixels.SymbolMBLayer.getIconHaloWidth()
(Optional) Units in pixels.SymbolMBLayer.getIconIgnorePlacement()
(Optional) Defaults to false.SymbolMBLayer.getIconImage()
(Optional) A string with {tokens} replaced, referencing the data property to pull from.SymbolMBLayer.getIconKeepUpright()
(Optional) Defaults to false.double[]
SymbolMBLayer.getIconOffset()
(Optional) Defaults to 0,0.SymbolMBLayer.getIconOpacity()
(Optional) Defaults to 1.SymbolMBLayer.getIconOptional()
(Optional) Defaults to false.SymbolMBLayer.getIconPadding()
(Optional) Units in pixels.SymbolMBLayer.getIconRotate()
(Optional) Units in degrees.SymbolMBLayer.getIconSize()
(Optional) Defaults to 1.int[]
SymbolMBLayer.getIconTranslate()
(Optional) Units in pixels.SymbolMBLayer.getSymbolAvoidEdges()
(Optional) Defaults to false.SymbolMBLayer.getSymbolSpacing()
(Optional) Units in pixels.SymbolMBLayer.getTextAllowOverlap()
(Optional) Defaults to false.SymbolMBLayer.getTextColor()
Defaults to #000000.SymbolMBLayer.getTextField()
(Optional) Value to use for a text label.SymbolMBLayer.getTextHaloBlur()
(Optional) Units in pixels.SymbolMBLayer.getTextHaloColor()
Defaults to rgba(0, 0, 0, 0).SymbolMBLayer.getTextHaloWidth()
(Optional) Units in pixels.SymbolMBLayer.getTextIgnorePlacement()
Defaults to false.SymbolMBLayer.getTextKeepUpright()
(Optional) Defaults to true.SymbolMBLayer.getTextLetterSpacing()
(Optional) Units in ems.SymbolMBLayer.getTextLineHeight()
(Optional) Units in ems.SymbolMBLayer.getTextMaxAngle()
(Optional) Units in degrees.SymbolMBLayer.getTextMaxWidth()
(Optional) Units in ems.double[]
SymbolMBLayer.getTextOffset()
(Optional) Units in ems.SymbolMBLayer.getTextOpacity()
(Optional) Defaults to 1.SymbolMBLayer.getTextOptional()
Defaults to false.SymbolMBLayer.getTextPadding()
(Optional) Units in pixels.SymbolMBLayer.getTextRotate()
(Optional) Units in degrees.SymbolMBLayer.getTextSize()
(Optional) Units in pixels.boolean
SymbolMBLayer.hasIconImage()
boolean
SymbolMBLayer.hasTextMaxWidth()
SymbolMBLayer.iconAllowOverlap()
WrapsSymbolMBLayer.getIconAllowOverlap()
in a GeoTools expression.SymbolMBLayer.iconOffset()
Access icon-offsetSymbolMBLayer.iconOpacity()
Access icon-opacity as literal or function expressionSymbolMBLayer.iconPadding()
Access icon-padding as literal or function expressionSymbolMBLayer.iconRotate()
Access icon-rotate as literal or function expressionSymbolMBLayer.symbolSpacing()
Access symbol-spacing, defaults to 250.SymbolMBLayer.textAllowOverlap()
WrapsSymbolMBLayer.getTextAllowOverlap()
in a GeoToolsExpression
.SymbolMBLayer.textField()
Access text-field as literal or function expressionSymbolMBLayer.textFont()
Access text-font as a literal or function expression.SymbolMBLayer.textHaloBlur()
Access text-halo-blur as literal or function expressionSymbolMBLayer.textHaloWidth()
Access text-halo-width as literal or function expressionSymbolMBLayer.textLetterSpacing()
Access text-line-height as literal or function expressionSymbolMBLayer.textLineHeight()
Access text-line-height as literal or function expressionSymbolMBLayer.textMaxWidth()
Access text-max-width as literal or function expressionSymbolMBLayer.textOffset()
Access text-offsetSymbolMBLayer.textOpacity()
Access text-opacity as literal or function expressionSymbolMBLayer.textPadding()
Access text-padding as literal or function expressionSymbolMBLayer.textRotate()
Access text-rotate as literal or function expressionSymbolMBLayer.textSize()
Access text-size as literal or function expression -
Uses of MBFormatException in org.geotools.mbstyle.parse
Methods in org.geotools.mbstyle.parse that throw MBFormatExceptionModifier and TypeMethodDescriptionConvert json to Expression boolean, or a function.Convert json to GeoTools Expression color, or a function.Convert the provided object to a font Expression (or function).boolean
MBObjectParser.isArray
(JSONArray json, int index) True if array has an array element at the provided index, False otherwise.boolean
True if json has an array value for the provided name, False otherwise.boolean
MBObjectParser.isBoolean
(JSONArray json, int index) True if array has a boolean element at the provided index, False otherwise.boolean
True if json has a boolean value for the provided name, False otherwise.boolean
MBObjectParser.isDefined
(JSONArray json, int index) True if array has an element at the provided index, False otherwise.boolean
True if json has a value for the provided name, False otherwise.boolean
MBObjectParser.isNumeric
(JSONArray json, int index) True if array has a numeric element at the provided index, False otherwise.boolean
True if json has a numeric value for the provided name, False otherwise.boolean
MBObjectParser.isObject
(JSONArray json, int index) True if array has an object element at the provided index, False otherwise.boolean
True if json has an object value for the provided name, False otherwise.boolean
MBObjectParser.isPropertyDefined
(JSONObject json, String propertyName) Deprecated.boolean
MBObjectParser.isString
(JSONArray json, int index) True if array has a string element at the provided index, False otherwise.boolean
True if json has a string value for the provided name, False otherwise.JSONArray
Casts the provided obj to a JSONArray (otherwise throws anMBFormatException
).JSONArray
Casts the provided obj to a JSONArray (otherwise throws anMBFormatException
with the provided message).JSONObject
Casts the provided obj to a JSONObject (safely reporting format exception, with the provided message).JSONObject
MBObjectParser.jsonObject
(Object obj) Casts the provided obj to a JSONObject (safely reporting format exceptionMBObjectParser.number
(JSONArray json, int index) Convert the value at 'index' in the provided JSONArray to a numeric Expression or a Function.Convert the value in the provided JSONArray at index to a numeric Expression, or a function, with a fallback if the json is null.Convert the value in the provided JSONObject at 'tag' to a numeric GeoTools Expression, or a Function.Convert the value in the provided JSONObject at 'tag' to a numeric Expression, or a function, with a fallback if the json is null.MBStyleParser.parse
(InputStream json) Parse the provided json into MBStyle.Parse the provided json into MBStyle.Parse the provided json into MBStyle.MBObjectParser.percentage
(JSONObject json, String name) Convert json to Expression number between 0 and 1, or a function.MBObjectParser.percentage
(JSONObject json, String name, Number fallback) Convert json to Expression number between 0 and 1, or a function.Convert json to GeoTools Expression string, or a function.