class documentation

class Layer: (source)

Constructor: Layer(gd_layer)

View In Hierarchy

Undocumented

Method __init__ Undocumented
Method count Undocumented
Method describe Undocumented
Method get_all Undocumented
Method get_one Undocumented
Method insert Undocumented
Instance Variable gdLayer Undocumented
Instance Variable gdLayerDefn Undocumented
Instance Variable name Undocumented
Method _feature_data Undocumented
def __init__(self, gd_layer): (source)

Undocumented

def count(self, force=False): (source)

Undocumented

Undocumented

def get_all(self, default_srid: int = 0, encoding: str = None) -> list[gws.FeatureRecord]: (source)

Undocumented

def get_one(self, fid: int, default_srid: int = 0, encoding: str = None) -> t.Optional[gws.FeatureRecord]: (source)

Undocumented

def insert(self, fds: list[gws.FeatureRecord], encoding: str = None) -> list[int]: (source)

Undocumented

gdLayer: ogr.Layer = (source)

Undocumented

gdLayerDefn: ogr.FeatureDefn = (source)

Undocumented

name: str = (source)

Undocumented

def _feature_data(self, gd_feature, default_srid, encoding): (source)

Undocumented