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) x.__init__(...) initializes x; see help(type(x)) for signature | source code
__repr__(self) repr(x) | 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` Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__setattr__`, `__sizeof__`, `__str__`, `__subclasshook__`

Class Variables | [hide private]
| thisown = `property(lambda x: x.this.own(), lambda x, v: x.this`...``
| __swig_destroy__ = `_gnm.delete_GenericNetwork`

Properties | [hide private]
Inherited from `object`: `__class__`

Method Details | [hide private]

### __init__(self, *args, **kwargs) (Constructor) | source code
x.__init__(...) initializes x; see help(type(x)) for signature Overrides: object.__init__ (inherited documentation)

### __repr__(self) (Representation operator) | source code
repr(x) Overrides: object.__repr__ (inherited documentation)

Class Variable Details | [hide private]

  ### thisown Value:
      property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc= "The
       membership flag")