LatLonShape
A geo shape utility class for indexing and searching GIS geometries whose vertices are latitude, longitude values (in decimal degrees).
This class defines static factory methods for common indexing and search operations:
createIndexableFields for indexing polygon, line, and point geometries.
createDocValueField for indexing polygon, line, and point doc values, and from existing encoded bytes or tessellation.
newBoxQuery, newLineQuery, newPolygonQuery, newPointQuery, and newGeometryQuery for matching geo shapes that have a QueryRelation with provided geometry.
createLatLonShapeDocValues for creating LatLonShapeDocValues.
WARNING: Like LatLonPoint, vertex values are indexed with some loss of precision from the original Double values.
Functions
create a shape docvalue field from indexable fields
create a LatLonShapeDocValuesField from an existing tessellation
create doc value field for lat lon line geometry without creating indexable fields.
create doc value field for lat lon polygon geometry without creating indexable fields
create a LatLonShapeDocValuesField from an existing encoded representation
create doc value field for lat lon point geometry without creating indexable fields.
create doc value field for lat lon polygon geometry without creating indexable fields.
create indexable fields for line geometry
create indexable fields for polygon geometry.
create indexable fields for point geometry
create indexable fields for polygon geometry. If checkSelfIntersections is set to true, the validity of the provided polygon is checked with a small performance penalty.
Factory method for creating LatLonShapeDocValues.
create a query to find all indexed geo shapes that intersect a defined bounding box
create a query to find all polygons that intersect a provided circle.
create a query for geometries.
create a query to find all indexed geo shapes that intersect a provided linestring (or array of linestrings) note: does not support dateline crossing
create a query to find all indexed shapes that comply the QueryRelation with the provided points
create a query to find all indexed geo shapes that intersect a provided polygon (or array of polygons) note: does not support dateline crossing
create a docvalue query to find all geo shapes that intersect a defined bounding box