Package org.apache.lucene.geo
Geospatial Utility Implementations for Lucene Core
-
Interface Summary Interface Description Component2D 2D Geometry object that supports spatial relationships with bounding boxes, triangles and points. -
Class Summary Class Description ComponentTree 2D multi-component geometry implementation represented as an interval tree of components.EdgeTree Internal tree node: represents geometry edge from lat1,lon1 to lat2,lon2.GeoEncodingUtils reusable geopoint encoding methodsGeoEncodingUtils.DistancePredicate A predicate that checks whether a given point is within a distance of another point.GeoEncodingUtils.Grid GeoEncodingUtils.PolygonPredicate A predicate that checks whether a given point is within a polygon.GeoUtils Basic reusable geo-spatial utility methodsLine Represents a line on the earth's surface.Line2D 2D geo line implementation represented as a balanced interval tree of edges.Polygon Represents a closed polygon on the earth's surface.Polygon2D 2D polygon implementation represented as a balanced interval tree of edges.Rectangle Represents a lat/lon rectangle.Rectangle2D 2D rectangle implementation containing geo spatial logic.SimpleGeoJSONPolygonParser Does minimal parsing of a GeoJSON object, to extract either Polygon or MultiPolygon, either directly as the top-level type, or if the top-level type is Feature, as the geometry of that feature.SimpleWKTShapeParser Parses shape geometry represented in WKT format complies with OGC® document: 12-063r5 and ISO/IEC 13249-3:2016 standard located at http://docs.opengeospatial.org/is/12-063r5/12-063r5.htmlTessellator Computes a triangular mesh tessellation for a given polygon.Tessellator.Node Circular Doubly-linked list used for polygon coordinatesTessellator.Triangle Triangle in the tessellated meshXYEncodingUtils reusable cartesian geometry encoding methodsXYLine Represents a line in cartesian space.XYPolygon Represents a polygon in cartesian space.XYPolygon2D 2D cartesian polygon implementation represented as a balanced interval tree of edges.XYRectangle Represents a x/y cartesian rectangle.XYRectangle2D 2D rectangle implementation containing cartesian spatial logic. -
Enum Summary Enum Description Component2D.WithinRelation Used by withinTriangle to check the within relationship between a triangle and the query shape (e.g.GeoUtils.WindingOrder used to define the orientation of 3 points -1 = Clockwise 0 = Colinear 1 = Counter-clockwiseSimpleWKTShapeParser.ShapeType Enumerated type for ShapesTessellator.State state of the tessellated split - avoids recursion