osgeo.gnm module
- osgeo.gnm.CastToGenericNetwork(MajorObject base) GenericNetwork
- osgeo.gnm.DontUseExceptions()
- class osgeo.gnm.GenericNetwork(*args, **kwargs)
ベースクラス:
Network
Proxy of C++ GNMGenericNetworkShadow class.
- ChangeAllBlockState(GenericNetwork self, bool bIsBlock=False) CPLErr
- ChangeBlockState(GenericNetwork self, GIntBig nFID, bool bIsBlock) CPLErr
- ConnectFeatures(GenericNetwork self, GIntBig nSrcFID, GIntBig nTgtFID, GIntBig nConFID, double dfCost, double dfInvCost, GNMDirection eDir) CPLErr
- ConnectPointsByLines(GenericNetwork self, char ** papszLayerList, double dfTolerance, double dfCost, double dfInvCost, GNMDirection eDir) CPLErr
- CreateRule(GenericNetwork self, char const * pszRuleStr) CPLErr
- DeleteAllRules(GenericNetwork self) CPLErr
- DeleteRule(GenericNetwork self, char const * pszRuleStr) CPLErr
- DisconnectFeatures(GenericNetwork self, GIntBig nSrcFID, GIntBig nTgtFID, GIntBig nConFID) CPLErr
- DisconnectFeaturesWithId(GenericNetwork self, GIntBig nFID) CPLErr
- GetRules(GenericNetwork self) char **
- ReconnectFeatures(GenericNetwork self, GIntBig nSrcFID, GIntBig nTgtFID, GIntBig nConFID, double dfCost, double dfInvCost, GNMDirection eDir) CPLErr
- property thisown
The membership flag
- osgeo.gnm.GetUseExceptions() int
- class osgeo.gnm.Network(*args, **kwargs)
ベースクラス:
MajorObject
Proxy of C++ GNMNetworkShadow class.
- CommitTransaction(Network self) OGRErr
- CreateLayer(Network self, char const * name, SpatialReference srs=None, OGRwkbGeometryType geom_type=wkbUnknown, char ** options=None) Layer
- DeleteLayer(Network self, int index) OGRErr
- DisconnectAll(Network self) CPLErr
- GetFileList(Network self) char **
- GetLayerCount(Network self) int
- GetName(Network self) char const *
- GetPath(Network self, GIntBig nStartFID, GIntBig nEndFID, GNMGraphAlgorithmType eAlgorithm, char ** options=None) Layer
- GetProjection(Network self) char const *
- GetProjectionRef(Network self) char const *
- GetVersion(Network self) int
- ReleaseResultSet(Network self, Layer layer)
- RollbackTransaction(Network self) OGRErr
- StartTransaction(Network self, int force=FALSE) OGRErr
- TestCapability(Network self, char const * cap) bool
- property thisown
The membership flag
- osgeo.gnm.UseExceptions()