User Tools

Site Tools


api:dk11:python:tatukgis.pdk.tgis_layervector.loop_tgis_extent_string

Table of Contents

TGIS_LayerVector.Loop(TGIS_Extent, str) method

DK11 for Python | tatukgis.pdk.TGIS_LayerVector.Loop | Overloads | Constructors | Methods | Properties | Events

Prepares enumerator (also known as iterator or cursor) to iterate the layer.

Available also on: Delphi | .NET | Java | ActiveX.

Syntax

# Python
def Loop(
  self,
  _extent: TGIS_Extent,
  _query: str
) -> TGIS_LayerVectorEnumeratorFactory: 

Parameters

Name Type Description
_extent TGIS_Extent extent of items to be found; expected _extent units are in a Layer coordinate space
_query str query which must be matched by item; closely mimics SQL WHERE clause; for examples you can use 'AGE >= 18'; empty (default) means that no items will match.

Result

Type Description
TGIS_LayerVectorEnumeratorFactory Shape itself or nil.

References

2023/08/09 01:57

Page Tools