newGeometryQuery

fun newGeometryQuery(field: String?, queryRelation: ShapeField.QueryRelation, vararg latLonGeometries: LatLonGeometry): Query

Create a query for matching one or more geometries against the provided [ ]. Line geometries are not supported for WITHIN relationship.

Return

query matching points within at least one geometry.

Parameters

field

field name. must not be null.

queryRelation

The relation the points needs to satisfy with the provided geometries, must not be null.

latLonGeometries

array of LatLonGeometries. must not be null or empty.

See also

Throws

if field is null, queryRelation is null, latLonGeometries is null, empty or contain a null.