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.
# Python def Loop( self, _extent: TGIS_Extent, _query: str ) -> TGIS_LayerVectorEnumeratorFactory:
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. |
Type | Description |
---|---|
TGIS_LayerVectorEnumeratorFactory | Shape itself or nil. |