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
| 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
| 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
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
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
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

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`
| wkbNone = `_ogr.wkbNone`
| wkbLinearRing = `_ogr.wkbLinearRing`
| 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`
| 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_ALL_FLAG = `_ogr.ALTER_ALL_FLAG`
| 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`
| ODsCCreateLayer = `_ogr.ODsCCreateLayer`
| ODsCDeleteLayer = `_ogr.ODsCDeleteLayer`
| ODrCCreateDataSource = `_ogr.ODrCCreateDataSource`
| ODrCDeleteDataSource = `_ogr.ODrCDeleteDataSource`
| 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`
| Geometry_swigregister = `_ogr.Geometry_swigregister`

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