Class WindBarbsFactory
Object
WindBarbsFactory
- All Implemented Interfaces:
MarkFactory
Factory to produce WindBarbs. Urls for wind barbs are in the form: windbarbs://default(speed_value)[units_of_measure]
TODO: We may consider adding a FLAG to say whether the arrows are toward wind (meteo convention) or against wind (ocean convention)
- Author:
- Daniele Romagnoli, GeoSolutions SAS
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AffineTransform
SOUTHERN_EMISPHERE_FLIPstatic final String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetShape
(Graphics2D graphics, Expression symbolUrl, Feature feature) Return a shape with the given url.
-
Field Details
-
SOUTHERN_EMISPHERE_FLIP
SOUTHERN_EMISPHERE_FLIP -
WINDBARBS_PREFIX
- See Also:
-
-
Constructor Details
-
WindBarbsFactory
public WindBarbsFactory()
-
-
Method Details
-
getShape
Return a shape with the given url.- Specified by:
getShape
in interfaceMarkFactory
symbolUrl
- the expression that will return the symbol name. Once evaluated the expression should return something likeplainName
or likeprotocol://path
. See the actual implementations for details on the kind of supported name.feature
- The feature that will be used to evaluate the symbolURL expression (or to extract data from it, think complex attributes, in that case a visit to the expression and some direct attribute value extraction might be needed instead)- See Also:
-