Package org.elasticsearch.common.geo
Class GeoFormatterFactory<T>
java.lang.Object
org.elasticsearch.common.geo.GeoFormatterFactory<T>
Output formatters for geo fields support extensions such as vector tiles.
This class is an extensible version of a static GeometryFormatterFactory
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
Defines an extension point for geometry formatter -
Constructor Summary
ConstructorDescriptionGeoFormatterFactory
(List<GeoFormatterFactory.FormatterFactory<T>> factories) Creates an extensible geo formatter. -
Method Summary
-
Constructor Details
-
GeoFormatterFactory
Creates an extensible geo formatter. The extension points can be added as a list of factories
-
-
Method Details
-
getFormatter
Returns a formatter by name The format can contain an optional parameters in parentheses such as "mvt(1/2/3)". Parameterless formats are getting resolved using standard GeometryFormatterFactory and formats with parameters are getting resolved using factories specified during construction.
-