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

# Class GenericNetwork

source code

Proxy of C++ GNMGenericNetworkShadow class.

Instance Methods | [hide private]
__init__(self, *args, **kwargs) | source code
__repr__(self) | source code
ConnectFeatures(self, *args) ConnectFeatures(GenericNetwork self, GIntBig nSrcFID, GIntBig nTgtFID, GIntBig nConFID, double dfCost, double dfInvCost, GNMDirection eDir) -> CPLErr | source code
DisconnectFeatures(self, *args) DisconnectFeatures(GenericNetwork self, GIntBig nSrcFID, GIntBig nTgtFID, GIntBig nConFID) -> CPLErr | source code
DisconnectFeaturesWithId(self, *args) DisconnectFeaturesWithId(GenericNetwork self, GIntBig nFID) -> CPLErr | source code
ReconnectFeatures(self, *args) ReconnectFeatures(GenericNetwork self, GIntBig nSrcFID, GIntBig nTgtFID, GIntBig nConFID, double dfCost, double dfInvCost, GNMDirection eDir) -> CPLErr | source code
CreateRule(self, *args) CreateRule(GenericNetwork self, char const * pszRuleStr) -> CPLErr | source code
DeleteAllRules(self, *args) DeleteAllRules(GenericNetwork self) -> CPLErr | source code
DeleteRule(self, *args) DeleteRule(GenericNetwork self, char const * pszRuleStr) -> CPLErr | source code
GetRules(self, *args) GetRules(GenericNetwork self) -> char ** | source code
ConnectPointsByLines(self, *args, **kwargs) ConnectPointsByLines(GenericNetwork self, char ** papszLayerList, double dfTolerance, double dfCost, double dfInvCost, GNMDirection eDir) -> CPLErr | source code
ChangeBlockState(self, *args) ChangeBlockState(GenericNetwork self, GIntBig nFID, bool bIsBlock) -> CPLErr | source code
ChangeAllBlockState(self, *args) ChangeAllBlockState(GenericNetwork self, bool bIsBlock=False) -> CPLErr | source code
Inherited from `Network`: `CommitTransaction`, `CopyLayer`, `CreateLayer`, `DeleteLayer`, `DisconnectAll`, `GetFeatureByGlobalFID`, `GetFileList`, `GetLayerByIndex`, `GetLayerByName`, `GetLayerCount`, `GetName`, `GetPath`, `GetProjection`, `GetProjectionRef`, `GetVersion`, `ReleaseResultSet`, `RollbackTransaction`, `StartTransaction`, `TestCapability` 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_GenericNetwork`
| __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