Package org.elasticsearch.common.geo
Class SimpleFeatureFactory
java.lang.Object
org.elasticsearch.common.geo.SimpleFeatureFactory
Transforms points and rectangles objects in WGS84 into mvt features.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
box
(double minLon, double maxLon, double minLat, double maxLat) Returns abyte[]
containing the mvt representation of the provided rectanglebyte[]
point
(double lon, double lat) Returns abyte[]
containing the mvt representation of the provided pointbyte[]
Returns abyte[]
containing the mvt representation of the provided points
-
Constructor Details
-
SimpleFeatureFactory
public SimpleFeatureFactory(int z, int x, int y, int extent)
-
-
Method Details
-
point
Returns abyte[]
containing the mvt representation of the provided point- Throws:
IOException
-
points
Returns abyte[]
containing the mvt representation of the provided points -
box
Returns abyte[]
containing the mvt representation of the provided rectangle- Throws:
IOException
-