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)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
__repr__(self)
repr(x)
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=wkbUnknown, 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

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_Network
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")