Companion

object Companion

Properties

Link copied to clipboard
const val BYTES: Int

XYPoint is encoded as integer values so number of bytes is 4

Link copied to clipboard

Type for an indexed XYPoint

Functions

Link copied to clipboard
fun checkCompatible(fieldInfo: FieldInfo)

helper: checks a fieldinfo and throws exception if its definitely not a XYPoint

Link copied to clipboard
fun newBoxQuery(field: String?, minX: Float, maxX: Float, minY: Float, maxY: Float): Query

Create a query for matching a bounding box.

Link copied to clipboard
fun newDistanceQuery(field: String?, x: Float, y: Float, radius: Float): Query

Create a query for matching points within the specified distance of the supplied location.

Link copied to clipboard
fun newGeometryQuery(field: String?, vararg xyGeometries: XYGeometry): Query

create a query to find all indexed shapes that intersect a provided geometry collection. XYLine geometries are not supported.

Link copied to clipboard
fun newPolygonQuery(field: String?, vararg polygons: XYPolygon): Query

Create a query for matching one or more polygons.