Package osgeo :: Module gnm :: Class Network |
[hide private]
[frames] | no frames]

# Class Network

source code

Proxy of C++ GNMNetworkShadow class.

Instance Methods | [hide private]
__init__(self, *args, **kwargs) | source code
__repr__(self) | source code
ReleaseResultSet(self, *args) ReleaseResultSet(Network self, Layer layer) | source code
GetVersion(self, *args) GetVersion(Network self) -> int | source code
GetName(self, *args) GetName(Network self) -> char const * | source code
GetFeatureByGlobalFID(self, *args) GetFeatureByGlobalFID(Network self, GIntBig GFID) -> Feature | source code
GetPath(self, *args, **kwargs) GetPath(Network self, GIntBig nStartFID, GIntBig nEndFID, GNMGraphAlgorithmType eAlgorithm, char ** options=None) -> Layer | source code
DisconnectAll(self, *args) DisconnectAll(Network self) -> CPLErr | source code
GetProjection(self, *args) GetProjection(Network self) -> char const * | source code
GetProjectionRef(self, *args) GetProjectionRef(Network self) -> char const * | source code
GetFileList(self, *args) GetFileList(Network self) -> char ** | source code
CreateLayer(self, *args, **kwargs) CreateLayer(Network self, char const * name, SpatialReference srs=None, OGRwkbGeometryType geom_type, char ** options=None) -> Layer | source code
CopyLayer(self, *args, **kwargs) CopyLayer(Network self, Layer src_layer, char const * new_name, char ** options=None) -> Layer | source code
DeleteLayer(self, *args) DeleteLayer(Network self, int index) -> OGRErr | source code
GetLayerCount(self, *args) GetLayerCount(Network self) -> int | source code
GetLayerByIndex(self, *args) GetLayerByIndex(Network self, int index=0) -> Layer | source code
GetLayerByName(self, *args) GetLayerByName(Network self, char const * layer_name) -> Layer | source code
TestCapability(self, *args) TestCapability(Network self, char const * cap) -> bool | source code
StartTransaction(self, *args, **kwargs) StartTransaction(Network self, int force=False) -> OGRErr | source code
CommitTransaction(self, *args) CommitTransaction(Network self) -> OGRErr | source code
RollbackTransaction(self, *args) RollbackTransaction(Network self) -> OGRErr | source code
Inherited from `ogr.MajorObject`: `GetDescription`, `GetMetadata`, `GetMetadataDomainList`, `GetMetadataItem`, `GetMetadata_Dict`, `GetMetadata_List`, `SetDescription`, `SetMetadata`, `SetMetadataItem`

Class Variables | [hide private]
| __swig_setmethods__ = `{}`
| __setattr__ = `lambda self, name, value:`
| __swig_getmethods__ = `{}`
| __getattr__ = `lambda self, name:`
| __swig_destroy__ = `_gnm.delete_Network`
| __del__ = `lambda self:`

Method Details | [hide private]

### __init__(self, *args, **kwargs) (Constructor) | source code
Overrides: ogr.MajorObject.__init__

### __repr__(self) (Representation operator) | source code
Overrides: ogr._swig_repr