Module org.elasticsearch.server
Package org.elasticsearch.common.geo
Class SimpleVectorTileFormatter
java.lang.Object
org.elasticsearch.common.geo.SimpleVectorTileFormatter
- All Implemented Interfaces:
GeoFormatterFactory.FormatterFactory<GeoPoint>
public class SimpleVectorTileFormatter
extends Object
implements GeoFormatterFactory.FormatterFactory<GeoPoint>
A facade for SimpleFeatureFactory that converts it into FormatterFactory for use in GeoPointFieldMapper
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGenerates a formatter builder that parses the formatter configuration and generates a formattergetName()Format namestatic int[]Parses string in the format we expect, primarily z/x/y, to an array of integer parameters.
-
Field Details
-
MVT
- See Also:
-
DEFAULT_EXTENT
public static final int DEFAULT_EXTENT- See Also:
-
DEFAULT_BUFFER_PIXELS
public static final int DEFAULT_BUFFER_PIXELS- See Also:
-
EXTENT_PREFIX
- See Also:
-
BUFFER_PREFIX
- See Also:
-
-
Constructor Details
-
SimpleVectorTileFormatter
public SimpleVectorTileFormatter()
-
-
Method Details
-
getName
Description copied from interface:GeoFormatterFactory.FormatterFactoryFormat name- Specified by:
getNamein interfaceGeoFormatterFactory.FormatterFactory<GeoPoint>
-
getFormatterBuilder
Description copied from interface:GeoFormatterFactory.FormatterFactoryGenerates a formatter builder that parses the formatter configuration and generates a formatter- Specified by:
getFormatterBuilderin interfaceGeoFormatterFactory.FormatterFactory<GeoPoint>
-
parse
Parses string in the format we expect, primarily z/x/y, to an array of integer parameters. There are also two optional additions to the format:@extent- number of pixels across:buffer- number of pixels by which to widen each tile
3/2/2produces[3,2,2,4096,5]2/1/1@5000produces[2,1,1,5000,5]2/1/1@5000:10produces[2,1,1,5000,10]
-