mapscript.resultObj

class mapscript.resultObj(shapeindex: long)

The result object is a handle, of sorts, for a feature of the layer

Attributes

classindex

int immutable The class index of the result

resultindex

int immutable The index of the result

shapeindex

long immutable The shape index of the result

thisown

The membership flag

tileindex

int immutable The tile index of the result

Methods

__init__(shapeindex: long)[źródło]

The result object is a handle, of sorts, for a feature of the layer, having shapeindex and tileindex attributes that can be used as arguments to getFeature