OGR
|
Go to the source code of this file.
Classes | |
class | OGREnvelope |
class | OGREnvelope3D |
union | OGRField |
Macros | |
#define | GDAL_CHECK_VERSION(pszCallingComponentName) GDALCheckVersion(GDAL_VERSION_MAJOR, GDAL_VERSION_MINOR, pszCallingComponentName) |
Typedefs | |
typedef enum ogr_style_tool_class_id | OGRSTClassId |
typedef enum ogr_style_tool_units_id | OGRSTUnitId |
typedef enum ogr_style_tool_param_pen_id | OGRSTPenParam |
typedef enum ogr_style_tool_param_brush_id | OGRSTBrushParam |
typedef enum ogr_style_tool_param_symbol_id | OGRSTSymbolParam |
typedef enum ogr_style_tool_param_label_id | OGRSTLabelParam |
Enumerations |
Functions | |
const char * | OGRGeometryTypeToName (OGRwkbGeometryType eType) |
Fetch a human readable name corresponding to an OGRwkBGeometryType value. The returned value should not be modified, or freed by the application. More... | |
OGRwkbGeometryType | OGRMergeGeometryTypes (OGRwkbGeometryType eMain, OGRwkbGeometryType eExtra) |
Find common geometry type. More... | |
int CPL_STDCALL | GDALCheckVersion (int nVersionMajor, int nVersionMinor, const char *pszCallingComponentName) |
Core portability services for cross-platform OGR code.
#define GDAL_CHECK_VERSION | ( | pszCallingComponentName | ) | GDALCheckVersion(GDAL_VERSION_MAJOR, GDAL_VERSION_MINOR, pszCallingComponentName) |
Helper macro for GDALCheckVersion
typedef enum ogr_style_tool_param_brush_id OGRSTBrushParam |
List of parameters for use with OGRStyleBrush.
typedef enum ogr_style_tool_class_id OGRSTClassId |
OGRStyleTool derived class types (returned by GetType()).
typedef enum ogr_style_tool_param_label_id OGRSTLabelParam |
List of parameters for use with OGRStyleLabel.
typedef enum ogr_style_tool_param_pen_id OGRSTPenParam |
List of parameters for use with OGRStylePen.
typedef enum ogr_style_tool_param_symbol_id OGRSTSymbolParam |
List of parameters for use with OGRStyleSymbol.
typedef enum ogr_style_tool_units_id OGRSTUnitId |
List of units supported by OGRStyleTools.
OGRStyleTool derived class types (returned by GetType()).
List of parameters for use with OGRStyleBrush.
List of parameters for use with OGRStyleLabel.
List of parameters for use with OGRStylePen.
List of parameters for use with OGRStyleSymbol.
List of units supported by OGRStyleTools.
enum OGRFieldType |
List of feature field types. This list is likely to be extended in the future ... avoid coding applications based on the assumption that all field types can be known.
enum OGRJustification |
Display justification for field values.
enum OGRwkbGeometryType |
List of well known binary geometry types. These are used within the BLOBs but are also returned from OGRGeometry::getGeometryType() to identify the type of a geometry object.
enum OGRwkbVariant |
Output variants of WKB we support. 99-402 was a short-lived extension to SFSQL 1.1 that used a high-bit flag to indicate the presence of Z coordiantes in a WKB geometry. SQL/MM Part 3 and SFSQL 1.2 use offsets of 1000 (Z), 2000 (M) and 3000 (ZM) to indicate the present of higher dimensional coordinates in a WKB geometry.
Enumerator | |
---|---|
wkbVariantOgc |
Old-style 99-402 extended dimension (Z) WKB types |
wkbVariantIso |
SFSQL 1.2 and ISO SQL/MM Part 3 extended dimension (Z&M) WKB types |
int CPL_STDCALL GDALCheckVersion | ( | int | nVersionMajor, |
int | nVersionMinor, | ||
const char * | pszCallingComponentName | ||
) |
Return TRUE if GDAL library version at runtime matches nVersionMajor.nVersionMinor.
The purpose of this method is to ensure that calling code will run with the GDAL version it is compiled for. It is primarly intented for external plugins.
nVersionMajor | Major version to be tested against |
nVersionMinor | Minor version to be tested against |
pszCallingComponentName | If not NULL, in case of version mismatch, the method will issue a failure mentionning the name of the calling component. |
const char* OGRGeometryTypeToName | ( | OGRwkbGeometryType | eType | ) |
Fetch a human readable name corresponding to an OGRwkBGeometryType value. The returned value should not be modified, or freed by the application.
This function is C callable.
eType | the geometry type. |
References wkbGeometryCollection, wkbLineString, wkbMultiLineString, wkbMultiPoint, wkbMultiPolygon, wkbNone, wkbPoint, wkbPolygon, and wkbUnknown.
OGRwkbGeometryType OGRMergeGeometryTypes | ( | OGRwkbGeometryType | eMain, |
OGRwkbGeometryType | eExtra | ||
) |
Find common geometry type.
Given two geometry types, find the most specific common type. Normally used repeatedly with the geometries in a layer to try and establish the most specific geometry type that can be reported for the layer.
NOTE: wkbUnknown is the "worst case" indicating a mixture of geometry types with nothing in common but the base geometry type. wkbNone should be used to indicate that no geometries have been encountered yet, and means the first geometry encounted will establish the preliminary type.
eMain | the first input geometry type. |
eExtra | the second input geometry type. |
References wkbGeometryCollection, wkbMultiLineString, wkbMultiPoint, wkbMultiPolygon, wkbNone, and wkbUnknown.