mapscript.resultCacheObj

class mapscript.resultCacheObj

A cached result object

Attributes

bounds

rectObj immutable Bounding box of query results

hasnext

int immutable If any there are any more features left

numresults

int immutable Length of result set

thisown

The membership flag

Methods

__init__()[source]
getResult(i: int) resultObj[source]

Returns the result at index i, like layerObj.getResult(), or NULL if index is outside the range of results.