OGR
Classes | Typedefs | Functions
ogr_geometry.h File Reference
#include "ogr_core.h"
#include "ogr_spatialref.h"

Go to the source code of this file.

Classes

class  OGRRawPoint
 
class  OGRGeometry
 
class  OGRPoint
 
class  OGRPointIterator
 
class  OGRCurve
 
class  OGRSimpleCurve
 
class  OGRLineString
 
class  OGRLinearRing
 
class  OGRCircularString
 
class  OGRCompoundCurve
 
class  OGRSurface
 
class  OGRCurvePolygon
 
class  OGRPolygon
 
class  OGRTriangle
 
class  OGRGeometryCollection
 
class  OGRMultiSurface
 
class  OGRMultiPolygon
 
class  OGRPolyhedralSurface
 
class  OGRTriangulatedSurface
 
class  OGRMultiPoint
 
class  OGRMultiCurve
 
class  OGRMultiLineString
 
class  OGRGeometryFactory
 

Typedefs

typedef struct GEOSGeom_t * GEOSGeom
 
typedef struct GEOSContextHandle_HS * GEOSContextHandle_t
 
typedef void sfcgal_geometry_t
 
typedef struct _OGRPreparedGeometry OGRPreparedGeometry
 

Functions

OGRwkbGeometryType OGRFromOGCGeomType (const char *pszGeomType)
 
const char * OGRToOGCGeomType (OGRwkbGeometryType eGeomType)
 
int OGRHasPreparedGeometrySupport ()
 

Detailed Description

Simple feature geometry classes.

Typedef Documentation

◆ GEOSContextHandle_t

typedef struct GEOSContextHandle_HS* GEOSContextHandle_t

GEOS context handle type

◆ GEOSGeom

typedef struct GEOSGeom_t* GEOSGeom

GEOS geometry type

◆ OGRPreparedGeometry

typedef struct _OGRPreparedGeometry OGRPreparedGeometry

Prepared geometry API (needs GEOS >= 3.1.0)

◆ sfcgal_geometry_t

typedef void sfcgal_geometry_t

SFCGAL geometry type

Function Documentation

◆ OGRFromOGCGeomType()

OGRwkbGeometryType OGRFromOGCGeomType ( const char *  pszGeomType)

Map OGCgeometry format type to corresponding OGR constants.

Parameters
pszGeomTypePOINT[ ][Z][M], LINESTRING[ ][Z][M], etc...
Returns
OGR constant.

References STARTS_WITH_CI, wkbCircularString, wkbCompoundCurve, wkbCurve, wkbCurvePolygon, wkbGeometryCollection, wkbLineString, wkbMultiCurve, wkbMultiLineString, wkbMultiPoint, wkbMultiPolygon, wkbMultiSurface, wkbPoint, wkbPolygon, wkbPolyhedralSurface, wkbSetM, wkbSetZ, wkbSurface, wkbTIN, wkbTriangle, and wkbUnknown.

◆ OGRHasPreparedGeometrySupport()

int OGRHasPreparedGeometrySupport ( )

Returns if GEOS has prepared geometry support.

Returns
TRUE or FALSE

Referenced by OGRLayer::Identity(), OGRLayer::Intersection(), and OGRLayer::Union().

◆ OGRToOGCGeomType()

const char* OGRToOGCGeomType ( OGRwkbGeometryType  eGeomType)

Map OGR geometry format constants to corresponding OGC geometry type.

Parameters
eGeomTypeOGR geometry type
Returns
string with OGC geometry type (without dimensionality)

References wkbCircularString, wkbCompoundCurve, wkbCurve, wkbCurvePolygon, wkbFlatten, wkbGeometryCollection, wkbLineString, wkbMultiCurve, wkbMultiLineString, wkbMultiPoint, wkbMultiPolygon, wkbMultiSurface, wkbPoint, wkbPolygon, wkbPolyhedralSurface, wkbSurface, wkbTIN, wkbTriangle, and wkbUnknown.


Generated for GDAL by doxygen 1.8.14.