Class GeoFormatterFactory<T>


public class GeoFormatterFactory<T> extends Object
Output formatters for geo fields support extensions such as vector tiles. This class is an extensible version of a static GeometryFormatterFactory
  • Constructor Details

  • Method Details

    • getFormatter

      public Function<List<T>,List<Object>> getFormatter(String format, Function<T,Geometry> toGeometry)
      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.