Package osgeo :: Module ogr |
[hide private]
[frames] | no frames]

# Module ogr

source code

Classes | [hide private]
| _swig_property property(fget=None, fset=None, fdel=None, doc=None) -> property attribute
| _object
| MajorObject Proxy of C++ GDALMajorObjectShadow class
| StyleTable Proxy of C++ OGRStyleTableShadow class
| Driver Proxy of C++ OGRDriverShadow class
| DataSource Proxy of C++ OGRDataSourceShadow class
| Layer Proxy of C++ OGRLayerShadow class
| Feature Proxy of C++ OGRFeatureShadow class
| FeatureDefn Proxy of C++ OGRFeatureDefnShadow class
| FieldDefn Proxy of C++ OGRFieldDefnShadow class
| GeomFieldDefn Proxy of C++ OGRGeomFieldDefnShadow class
| Geometry Proxy of C++ OGRGeometryShadow class

Functions | [hide private]
_swig_setattr_nondynamic(self, class_type, name, value, static=1) | source code
_swig_setattr(self, class_type, name, value) | source code
_swig_getattr(self, class_type, name) | source code
_swig_repr(self) | source code
int |
GetUseExceptions() | source code
UseExceptions() | source code
DontUseExceptions() | source code
CreateGeometryFromWkb(*args, **kwargs) CreateGeometryFromWkb(int len, SpatialReference reference = None) -> Geometry | source code
CreateGeometryFromWkt(*args, **kwargs) CreateGeometryFromWkt(char val, SpatialReference reference = None) -> Geometry | source code
CreateGeometryFromGML(*args) CreateGeometryFromGML(char input_string) -> Geometry | source code
CreateGeometryFromJson(*args) CreateGeometryFromJson(char input_string) -> Geometry | source code
BuildPolygonFromEdges(*args, **kwargs) BuildPolygonFromEdges(Geometry hLineCollection, int bBestEffort = 0, int bAutoClose = 0, ... | source code
ApproximateArcAngles(*args, **kwargs) ApproximateArcAngles(double dfCenterX, double dfCenterY, double dfZ, double dfPrimaryRadius, ... | source code
ForceToPolygon(*args) ForceToPolygon(Geometry geom_in) -> Geometry | source code
ForceToLineString(*args) ForceToLineString(Geometry geom_in) -> Geometry | source code
ForceToMultiPolygon(*args) ForceToMultiPolygon(Geometry geom_in) -> Geometry | source code
ForceToMultiPoint(*args) ForceToMultiPoint(Geometry geom_in) -> Geometry | source code
ForceToMultiLineString(*args) ForceToMultiLineString(Geometry geom_in) -> Geometry | source code
ForceTo(*args) ForceTo(Geometry geom_in, OGRwkbGeometryType eTargetType, char options = None) -> Geometry | source code
int |
GetDriverCount() | source code
int |
GetOpenDSCount() | source code
SetGenerate_DB2_V72_BYTE_ORDER(*args) SetGenerate_DB2_V72_BYTE_ORDER(int bGenerate_DB2_V72_BYTE_ORDER) -> OGRErr | source code
RegisterAll() | source code
GeometryTypeToName(*args) GeometryTypeToName(OGRwkbGeometryType eType) -> char | source code
GetFieldTypeName(*args) GetFieldTypeName(OGRFieldType type) -> char | source code
GetFieldSubTypeName(*args) GetFieldSubTypeName(OGRFieldSubType type) -> char | source code
GT_Flatten(*args) GT_Flatten(OGRwkbGeometryType eType) -> OGRwkbGeometryType | source code
GT_SetZ(*args) GT_SetZ(OGRwkbGeometryType eType) -> OGRwkbGeometryType | source code
GT_SetM(*args) GT_SetM(OGRwkbGeometryType eType) -> OGRwkbGeometryType | source code
GT_SetModifier(*args) GT_SetModifier(OGRwkbGeometryType eType, int bSetZ, int bSetM = True) -> OGRwkbGeometryType | source code
GT_HasZ(*args) GT_HasZ(OGRwkbGeometryType eType) -> int | source code
GT_HasM(*args) GT_HasM(OGRwkbGeometryType eType) -> int | source code
GT_IsSubClassOf(*args) GT_IsSubClassOf(OGRwkbGeometryType eType, OGRwkbGeometryType eSuperType) -> int | source code
GT_IsCurve(*args) GT_IsCurve(OGRwkbGeometryType arg0) -> int | source code
GT_IsSurface(*args) GT_IsSurface(OGRwkbGeometryType arg0) -> int | source code
GT_IsNonLinear(*args) GT_IsNonLinear(OGRwkbGeometryType arg0) -> int | source code
GT_GetCollection(*args) GT_GetCollection(OGRwkbGeometryType eType) -> OGRwkbGeometryType | source code
GT_GetCurve(*args) GT_GetCurve(OGRwkbGeometryType eType) -> OGRwkbGeometryType | source code
GT_GetLinear(*args) GT_GetLinear(OGRwkbGeometryType eType) -> OGRwkbGeometryType | source code
SetNonLinearGeometriesEnabledFlag(*args) SetNonLinearGeometriesEnabledFlag(int bFlag) | source code
int |
GetNonLinearGeometriesEnabledFlag() | source code
GetOpenDS(*args) GetOpenDS(int ds_number) -> DataSource | source code
Open(*args, **kwargs) Open(char utf8_path, int update = 0) -> DataSource | source code
OpenShared(*args, **kwargs) OpenShared(char utf8_path, int update = 0) -> DataSource | source code
GetDriverByName(*args) GetDriverByName(char name) -> Driver | source code
GetDriver(*args) GetDriver(int driver_number) -> Driver | source code
GeneralCmdLineProcessor(*args) GeneralCmdLineProcessor(char papszArgv, int nOptions = 0) -> char | source code
TermProgress_nocb(*args, **kwargs) TermProgress_nocb(double dfProgress, char pszMessage = None, void pData = None) -> int | source code

Variables | [hide private]
| _newclass = `0`
| wkb25DBit = `_ogr.wkb25DBit`
| wkb25Bit = `_ogr.wkb25Bit`
| wkbUnknown = `_ogr.wkbUnknown`
| wkbPoint = `_ogr.wkbPoint`
| wkbLineString = `_ogr.wkbLineString`
| wkbPolygon = `_ogr.wkbPolygon`
| wkbMultiPoint = `_ogr.wkbMultiPoint`
| wkbMultiLineString = `_ogr.wkbMultiLineString`
| wkbMultiPolygon = `_ogr.wkbMultiPolygon`
| wkbGeometryCollection = `_ogr.wkbGeometryCollection`
| wkbCircularString = `_ogr.wkbCircularString`
| wkbCompoundCurve = `_ogr.wkbCompoundCurve`
| wkbCurvePolygon = `_ogr.wkbCurvePolygon`
| wkbMultiCurve = `_ogr.wkbMultiCurve`
| wkbMultiSurface = `_ogr.wkbMultiSurface`
| wkbCurve = `_ogr.wkbCurve`
| wkbSurface = `_ogr.wkbSurface`
| wkbPolyhedralSurface = `_ogr.wkbPolyhedralSurface`
| wkbTIN = `_ogr.wkbTIN`
| wkbNone = `_ogr.wkbNone`
| wkbLinearRing = `_ogr.wkbLinearRing`
| wkbCircularStringZ = `_ogr.wkbCircularStringZ`
| wkbCompoundCurveZ = `_ogr.wkbCompoundCurveZ`
| wkbCurvePolygonZ = `_ogr.wkbCurvePolygonZ`
| wkbMultiCurveZ = `_ogr.wkbMultiCurveZ`
| wkbMultiSurfaceZ = `_ogr.wkbMultiSurfaceZ`
| wkbCurveZ = `_ogr.wkbCurveZ`
| wkbSurfaceZ = `_ogr.wkbSurfaceZ`
| wkbPolyhedralSurfaceZ = `_ogr.wkbPolyhedralSurfaceZ`
| wkbTINZ = `_ogr.wkbTINZ`
| wkbPointM = `_ogr.wkbPointM`
| wkbLineStringM = `_ogr.wkbLineStringM`
| wkbPolygonM = `_ogr.wkbPolygonM`
| wkbMultiPointM = `_ogr.wkbMultiPointM`
| wkbMultiLineStringM = `_ogr.wkbMultiLineStringM`
| wkbMultiPolygonM = `_ogr.wkbMultiPolygonM`
| wkbGeometryCollectionM = `_ogr.wkbGeometryCollectionM`
| wkbCircularStringM = `_ogr.wkbCircularStringM`
| wkbCompoundCurveM = `_ogr.wkbCompoundCurveM`
| wkbCurvePolygonM = `_ogr.wkbCurvePolygonM`
| wkbMultiCurveM = `_ogr.wkbMultiCurveM`
| wkbMultiSurfaceM = `_ogr.wkbMultiSurfaceM`
| wkbCurveM = `_ogr.wkbCurveM`
| wkbSurfaceM = `_ogr.wkbSurfaceM`
| wkbPolyhedralSurfaceM = `_ogr.wkbPolyhedralSurfaceM`
| wkbTINM = `_ogr.wkbTINM`
| wkbPointZM = `_ogr.wkbPointZM`
| wkbLineStringZM = `_ogr.wkbLineStringZM`
| wkbPolygonZM = `_ogr.wkbPolygonZM`
| wkbMultiPointZM = `_ogr.wkbMultiPointZM`
| wkbMultiLineStringZM = `_ogr.wkbMultiLineStringZM`
| wkbMultiPolygonZM = `_ogr.wkbMultiPolygonZM`
| wkbGeometryCollectionZM = `_ogr.wkbGeometryCollectionZM`
| wkbCircularStringZM = `_ogr.wkbCircularStringZM`
| wkbCompoundCurveZM = `_ogr.wkbCompoundCurveZM`
| wkbCurvePolygonZM = `_ogr.wkbCurvePolygonZM`
| wkbMultiCurveZM = `_ogr.wkbMultiCurveZM`
| wkbMultiSurfaceZM = `_ogr.wkbMultiSurfaceZM`
| wkbCurveZM = `_ogr.wkbCurveZM`
| wkbSurfaceZM = `_ogr.wkbSurfaceZM`
| wkbPolyhedralSurfaceZM = `_ogr.wkbPolyhedralSurfaceZM`
| wkbTINZM = `_ogr.wkbTINZM`
| wkbPoint25D = `_ogr.wkbPoint25D`
| wkbLineString25D = `_ogr.wkbLineString25D`
| wkbPolygon25D = `_ogr.wkbPolygon25D`
| wkbMultiPoint25D = `_ogr.wkbMultiPoint25D`
| wkbMultiLineString25D = `_ogr.wkbMultiLineString25D`
| wkbMultiPolygon25D = `_ogr.wkbMultiPolygon25D`
| wkbGeometryCollection25D = `_ogr.wkbGeometryCollection25D`
| OFTInteger = `_ogr.OFTInteger`
| OFTIntegerList = `_ogr.OFTIntegerList`
| OFTReal = `_ogr.OFTReal`
| OFTRealList = `_ogr.OFTRealList`
| OFTString = `_ogr.OFTString`
| OFTStringList = `_ogr.OFTStringList`
| OFTWideString = `_ogr.OFTWideString`
| OFTWideStringList = `_ogr.OFTWideStringList`
| OFTBinary = `_ogr.OFTBinary`
| OFTDate = `_ogr.OFTDate`
| OFTTime = `_ogr.OFTTime`
| OFTDateTime = `_ogr.OFTDateTime`
| OFTInteger64 = `_ogr.OFTInteger64`
| OFTInteger64List = `_ogr.OFTInteger64List`
| OFSTNone = `_ogr.OFSTNone`
| OFSTBoolean = `_ogr.OFSTBoolean`
| OFSTInt16 = `_ogr.OFSTInt16`
| OFSTFloat32 = `_ogr.OFSTFloat32`
| OJUndefined = `_ogr.OJUndefined`
| OJLeft = `_ogr.OJLeft`
| OJRight = `_ogr.OJRight`
| wkbXDR = `_ogr.wkbXDR`
| wkbNDR = `_ogr.wkbNDR`
| NullFID = `_ogr.NullFID`
| ALTER_NAME_FLAG = `_ogr.ALTER_NAME_FLAG`
| ALTER_TYPE_FLAG = `_ogr.ALTER_TYPE_FLAG`
| ALTER_WIDTH_PRECISION_FLAG = `_ogr.ALTER_WIDTH_PRECISION_FLAG`
| ALTER_NULLABLE_FLAG = `_ogr.ALTER_NULLABLE_FLAG`
| ALTER_DEFAULT_FLAG = `_ogr.ALTER_DEFAULT_FLAG`
| ALTER_ALL_FLAG = `_ogr.ALTER_ALL_FLAG`
| F_VAL_NULL = `_ogr.F_VAL_NULL`
| F_VAL_GEOM_TYPE = `_ogr.F_VAL_GEOM_TYPE`
| F_VAL_WIDTH = `_ogr.F_VAL_WIDTH`
| F_VAL_ALLOW_NULL_WHEN_DEFAULT = `_ogr.F_VAL_ALLOW_NULL_WHEN_DEF`...``
| F_VAL_ALL = `_ogr.F_VAL_ALL`
| OLCRandomRead = `_ogr.OLCRandomRead`
| OLCSequentialWrite = `_ogr.OLCSequentialWrite`
| OLCRandomWrite = `_ogr.OLCRandomWrite`
| OLCFastSpatialFilter = `_ogr.OLCFastSpatialFilter`
| OLCFastFeatureCount = `_ogr.OLCFastFeatureCount`
| OLCFastGetExtent = `_ogr.OLCFastGetExtent`
| OLCCreateField = `_ogr.OLCCreateField`
| OLCDeleteField = `_ogr.OLCDeleteField`
| OLCReorderFields = `_ogr.OLCReorderFields`
| OLCAlterFieldDefn = `_ogr.OLCAlterFieldDefn`
| OLCTransactions = `_ogr.OLCTransactions`
| OLCDeleteFeature = `_ogr.OLCDeleteFeature`
| OLCFastSetNextByIndex = `_ogr.OLCFastSetNextByIndex`
| OLCStringsAsUTF8 = `_ogr.OLCStringsAsUTF8`
| OLCIgnoreFields = `_ogr.OLCIgnoreFields`
| OLCCreateGeomField = `_ogr.OLCCreateGeomField`
| OLCCurveGeometries = `_ogr.OLCCurveGeometries`
| OLCMeasuredGeometries = `_ogr.OLCMeasuredGeometries`
| ODsCCreateLayer = `_ogr.ODsCCreateLayer`
| ODsCDeleteLayer = `_ogr.ODsCDeleteLayer`
| ODsCCreateGeomFieldAfterCreateLayer = `_ogr.ODsCCreateGeomField`...``
| ODsCCurveGeometries = `_ogr.ODsCCurveGeometries`
| ODsCTransactions = `_ogr.ODsCTransactions`
| ODsCEmulatedTransactions = `_ogr.ODsCEmulatedTransactions`
| ODsCMeasuredGeometries = `_ogr.ODsCMeasuredGeometries`
| ODrCCreateDataSource = `_ogr.ODrCCreateDataSource`
| ODrCDeleteDataSource = `_ogr.ODrCDeleteDataSource`
| OLMD_FID64 = `_ogr.OLMD_FID64`
| OGRERR_NONE = `_ogr.OGRERR_NONE`
| OGRERR_NOT_ENOUGH_DATA = `_ogr.OGRERR_NOT_ENOUGH_DATA`
| OGRERR_NOT_ENOUGH_MEMORY = `_ogr.OGRERR_NOT_ENOUGH_MEMORY`
| OGRERR_UNSUPPORTED_GEOMETRY_TYPE = `_ogr.OGRERR_UNSUPPORTED_GEO`...``
| OGRERR_UNSUPPORTED_OPERATION = `_ogr.OGRERR_UNSUPPORTED_OPERATION`
| OGRERR_CORRUPT_DATA = `_ogr.OGRERR_CORRUPT_DATA`
| OGRERR_FAILURE = `_ogr.OGRERR_FAILURE`
| OGRERR_UNSUPPORTED_SRS = `_ogr.OGRERR_UNSUPPORTED_SRS`
| OGRERR_INVALID_HANDLE = `_ogr.OGRERR_INVALID_HANDLE`
| OGRERR_NON_EXISTING_FEATURE = `_ogr.OGRERR_NON_EXISTING_FEATURE`
| MajorObject_swigregister = `_ogr.MajorObject_swigregister`
| StyleTable_swigregister = `_ogr.StyleTable_swigregister`
| Driver_swigregister = `_ogr.Driver_swigregister`
| DataSource_swigregister = `_ogr.DataSource_swigregister`
| Layer_swigregister = `_ogr.Layer_swigregister`
| Feature_swigregister = `_ogr.Feature_swigregister`
| FeatureDefn_swigregister = `_ogr.FeatureDefn_swigregister`
| FieldDefn_swigregister = `_ogr.FieldDefn_swigregister`
| GeomFieldDefn_swigregister = `_ogr.GeomFieldDefn_swigregister`
| Geometry_swigregister = `_ogr.Geometry_swigregister`
| TermProgress = `_ogr.TermProgress`

Function Details | [hide private]

### BuildPolygonFromEdges(*args, **kwargs) | source code
    BuildPolygonFromEdges(Geometry hLineCollection, int bBestEffort = 0, int bAutoClose = 0,
        double dfTolerance = 0) -> Geometry

### ApproximateArcAngles(*args, **kwargs) | source code
    ApproximateArcAngles(double dfCenterX, double dfCenterY, double dfZ, double dfPrimaryRadius,
        double dfSecondaryAxis,
        double dfRotation, double dfStartAngle, double dfEndAngle,
        double dfMaxAngleStepSizeDegrees) -> Geometry

Variables Details | [hide private]

  ### F_VAL_ALLOW_NULL_WHEN_DEFAULT Value:
      _ogr.F_VAL_ALLOW_NULL_WHEN_DEFAULT

  ### ODsCCreateGeomFieldAfterCreateLayer Value:
      _ogr.ODsCCreateGeomFieldAfterCreateLayer

  ### OGRERR_UNSUPPORTED_GEOMETRY_TYPE Value:
      _ogr.OGRERR_UNSUPPORTED_GEOMETRY_TYPE