index.STRtree()

class index.STRtree()

Create a STRtree Spatial Index.

Properties

size

Int The number of items in the spatial index.

Methods

STRtree.query()
Arguments
Returns

Array()

Query the spatial index by Bounds.

STRtree.insert()
Arguments
  • boundsgeom.Bounds() The Bounds.

  • itemObject() The value.

Returns

boolean() Whether an item was removed or not

Remove an item from the spatial index