OGR
ogrgeomediageometry.h
1 /******************************************************************************
2  * $Id: ogrgeomediageometry.h 31777 2015-11-26 14:14:41Z rouault $
3  *
4  * Project: OpenGIS Simple Features Reference Implementation
5  * Purpose: Implements decoder of geomedia geometry blobs
6  * Author: Even Rouault, <even dot rouault at mines dash paris dot org>
7  *
8  ******************************************************************************
9  * Copyright (c) 2011, Even Rouault <even dot rouault at mines-paris dot org>
10  *
11  * Permission is hereby granted, free of charge, to any person obtaining a
12  * copy of this software and associated documentation files (the "Software"),
13  * to deal in the Software without restriction, including without limitation
14  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
15  * and/or sell copies of the Software, and to permit persons to whom the
16  * Software is furnished to do so, subject to the following conditions:
17  *
18  * The above copyright notice and this permission notice shall be included
19  * in all copies or substantial portions of the Software.
20  *
21  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
22  * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
23  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
24  * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
25  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
26  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
27  * DEALINGS IN THE SOFTWARE.
28  ****************************************************************************/
29 
30 #ifndef OGR_GEOMEDIAGEOMETRY_H_INCLUDED
31 #define OGR_GEOMEDIAGEOMETRY_H_INCLUDED
32 
33 #include "ogr_geometry.h"
34 #include "ogr_spatialref.h"
35 #include "ogr_feature.h"
36 
37 OGRErr OGRCreateFromGeomedia( GByte *pabyGeom,
38  OGRGeometry **ppoGeom,
39  int nBytes );
40 
41 OGRSpatialReference* OGRGetGeomediaSRS(OGRFeature* poFeature);
42 
43 #endif
OGR_F_IsFieldSet
int OGR_F_IsFieldSet(OGRFeatureH, int)
Test if a field has ever been assigned a value or not.
Definition: ogrfeature.cpp:1296
OGRFeatureDefn::GetName
virtual const char * GetName()
Get name of this OGRFeatureDefn.
Definition: ogrfeaturedefn.cpp:233
OGRSTSymbolStep
@ OGRSTSymbolStep
Definition: ogr_core.h:842
OGR_F_GetGeomFieldRef
OGRGeometryH OGR_F_GetGeomFieldRef(OGRFeatureH hFeat, int iField)
Fetch an handle to feature geometry.
Definition: ogrfeature.cpp:680
OGRPolygon::getInteriorRing
virtual OGRLinearRing * getInteriorRing(int)
Fetch reference to indicated internal ring.
Definition: ogrpolygon.cpp:217
OGR_FD_Release
void OGR_FD_Release(OGRFeatureDefnH)
Drop a reference, and destroy if unreferenced.
Definition: ogrfeaturedefn.cpp:181
OGRSimpleCurve::setPoint
void setPoint(int, OGRPoint *)
Set the location of a vertex in line string.
Definition: ogrlinestring.cpp:506
OGRNullMarker
#define OGRNullMarker
Definition: ogr_core.h:651
OGRSTLabelStretch
@ OGRSTLabelStretch
Definition: ogr_core.h:874
OGRStyleMgr::GetStyleByName
const char * GetStyleByName(const char *pszStyleName)
find a style in the current style table.
Definition: ogrfeaturestyle.cpp:386
OGRGeometry::IsEmpty
virtual OGRBoolean IsEmpty() const =0
Returns TRUE (non-zero) if the object has no points.
OGRLineString::getGeometryType
virtual OGRwkbGeometryType getGeometryType() const CPL_OVERRIDE
Fetch geometry type.
Definition: ogrlinestring.cpp:2667
OGRCurvePolygon::addRingDirectly
virtual OGRErr addRingDirectly(OGRCurve *)
Add a ring to a polygon.
Definition: ogrcurvepolygon.cpp:397
OGRGeometryCollection::addGeometryDirectly
virtual OGRErr addGeometryDirectly(OGRGeometry *)
Add a geometry directly to the container.
Definition: ogrgeometrycollection.cpp:373
ogr_spatialref.h
OGRSimpleCurve::getX
double getX(int i) const
Get X at vertex.
Definition: ogr_geometry.h:554
OGR_F_SetFieldString
void OGR_F_SetFieldString(OGRFeatureH, int, const char *)
Set field to string value.
Definition: ogrfeature.cpp:3915
OGRFeature::FillUnsetWithDefault
void FillUnsetWithDefault(int bNotNullableOnly, char **papszOptions)
Fill unset fields with default values that might be defined.
Definition: ogrfeature.cpp:6223
OGRStyleTool::SetParamDbl
void SetParamDbl(const OGRStyleParamId &sStyleParam, OGRStyleValue &sStyleValue, double dfParam)
Definition: ogrfeaturestyle.cpp:2239
OGR_Fld_GetType
OGRFieldType OGR_Fld_GetType(OGRFieldDefnH)
Fetch type of this field.
Definition: ogrfielddefn.cpp:251
CSLTokenizeString2
char ** CSLTokenizeString2(const char *pszString, const char *pszDelimiter, int nCSLTFlags)
Definition: cpl_string.cpp:834
OGRLineString
Definition: ogr_geometry.h:623
OGR_FD_SetStyleIgnored
void OGR_FD_SetStyleIgnored(OGRFeatureDefnH, int)
Set whether the style can be omitted when fetching features.
Definition: ogrfeaturedefn.cpp:1348
OGRSimpleCurve::setNumPoints
void setNumPoints(int nNewPointCount, int bZeroizeNewContent=TRUE)
Set number of points in geometry.
Definition: ogrlinestring.cpp:422
OGR_G_Area
double OGR_G_Area(OGRGeometryH)
Compute geometry area.
Definition: ogr_api.cpp:1679
OGRSTBrushSize
@ OGRSTBrushSize
Definition: ogr_core.h:821
OGRMultiPolygon
Definition: ogr_geometry.h:1435
OGRStyleTool
Definition: ogr_featurestyle.h:160
GByte
unsigned char GByte
Definition: cpl_port.h:207
OGRSTLabelStrikeout
@ OGRSTLabelStrikeout
Definition: ogr_core.h:873
OFSTFloat32
@ OFSTFloat32
Definition: ogr_core.h:620
OGR_F_DumpReadable
void OGR_F_DumpReadable(OGRFeatureH, FILE *)
Dump this feature in a human readable form.
Definition: ogrfeature.cpp:5149
OGRStyleTool::SetStyleString
void SetStyleString(const char *pszStyleString)
Definition: ogrfeaturestyle.cpp:1423
OGRSpatialReference::SetNode
OGRErr SetNode(const char *, const char *)
Set attribute value in spatial reference.
Definition: ogrspatialreference.cpp:826
OGR_SM_Create
OGRStyleMgrH OGR_SM_Create(OGRStyleTableH hStyleTable) CPL_WARN_UNUSED_RESULT
OGRStyleMgr factory.
Definition: ogrfeaturestyle.cpp:157
OGRFeature::SetFID
virtual OGRErr SetFID(GIntBig nFIDIn)
Set the feature identifier.
Definition: ogrfeature.cpp:5214
OGRSTUInches
@ OGRSTUInches
Definition: ogr_core.h:791
OGR_F_SetGeomField
OGRErr OGR_F_SetGeomField(OGRFeatureH hFeat, int iField, OGRGeometryH hGeom)
Set feature geometry of a specified geometry field.
Definition: ogrfeature.cpp:848
OGRStyleTool::GetParamStr
const char * GetParamStr(const OGRStyleParamId &sStyleParam, OGRStyleValue &sStyleValue, GBool &bValueIsNull)
Definition: ogrfeaturestyle.cpp:2028
OGRFeature::StealGeometry
OGRGeometry * StealGeometry() CPL_WARN_UNUSED_RESULT
Take away ownership of geometry.
Definition: ogrfeature.cpp:485
GInt16
short GInt16
Definition: cpl_port.h:203
OGRFeature::GetFieldAsInteger
int GetFieldAsInteger(int i)
Fetch field value as integer.
Definition: ogrfeature.cpp:1661
OGR_STBL_AddStyle
int OGR_STBL_AddStyle(OGRStyleTableH hStyleTable, const char *pszName, const char *pszStyleString)
Add a new style in the table. No comparison will be done on the Style string, only on the name....
Definition: ogrfeaturestyle.cpp:921
OGR_RawField_IsNull
int OGR_RawField_IsNull(const OGRField *)
Returns whether a raw field is null.
Definition: ogrfeature.cpp:6738
OGR_F_VAL_ALLOW_NULL_WHEN_DEFAULT
#define OGR_F_VAL_ALLOW_NULL_WHEN_DEFAULT
Definition: ogr_core.h:558
OGRFeature::GetFieldAsBinary
GByte * GetFieldAsBinary(int i, int *pnCount)
Fetch field value as binary data.
Definition: ogrfeature.cpp:2808
VALIDATE_POINTER0
#define VALIDATE_POINTER0(ptr, func)
Definition: cpl_error.h:199
OGRSTLabelPerp
@ OGRSTLabelPerp
Definition: ogr_core.h:868
OGRSTUCM
@ OGRSTUCM
Definition: ogr_core.h:790
OFSTInt16
@ OFSTInt16
Definition: ogr_core.h:618
OGR_Fld_SetWidth
void OGR_Fld_SetWidth(OGRFieldDefnH, int)
Set the formatting width for this field in characters.
Definition: ogrfielddefn.cpp:903
OGRFeature::SetFrom
OGRErr SetFrom(OGRFeature *, int=TRUE)
Set one feature from another.
Definition: ogrfeature.cpp:5511
OGRFeatureDefn::SetGeomType
virtual void SetGeomType(OGRwkbGeometryType)
Assign the base geometry type for this layer.
Definition: ogrfeaturedefn.cpp:974
cpl_error.h
OGRFieldDefn::SetJustify
void SetJustify(OGRJustification eJustifyIn)
Set the justification for this field.
Definition: ogr_feature.h:94
OGRFieldDefn::IsSame
int IsSame(const OGRFieldDefn *) const
Test if the field definition is identical to the other one.
Definition: ogrfielddefn.cpp:1116
OGR_F_GetFieldAsDateTimeEx
int OGR_F_GetFieldAsDateTimeEx(OGRFeatureH hFeat, int iField, int *pnYear, int *pnMonth, int *pnDay, int *pnHour, int *pnMinute, float *pfSecond, int *pnTZFlag)
Fetch field value as date and time.
Definition: ogrfeature.cpp:3030
OGRFeature::SetGeometry
OGRErr SetGeometry(const OGRGeometry *)
Set feature geometry.
Definition: ogrfeature.cpp:424
OGRFeatureDefn::Release
void Release()
Drop a reference to this object, and destroy if no longer referenced.
Definition: ogrfeaturedefn.cpp:160
OGRGeometry::getGeometryType
virtual OGRwkbGeometryType getGeometryType() const =0
Fetch geometry type.
CPLIsUTF8
int CPLIsUTF8(const char *pabyData, int nLen)
Definition: cpl_recode.cpp:251
OGRFeature::SetNativeMediaType
void SetNativeMediaType(const char *pszNativeMediaType)
Sets the native media type for the feature.
Definition: ogrfeature.cpp:6665
OGRFeatureDefn::AddFieldDefn
virtual void AddFieldDefn(OGRFieldDefn *)
Add a new field definition.
Definition: ogrfeaturedefn.cpp:384
OGRFeature::SetGeometryDirectly
OGRErr SetGeometryDirectly(OGRGeometry *)
Set feature geometry.
Definition: ogrfeature.cpp:351
OGR_F_SetNativeMediaType
void OGR_F_SetNativeMediaType(OGRFeatureH, const char *)
Sets the native media type for the feature.
Definition: ogrfeature.cpp:6694
OGRSpatialReference::SetWellKnownGeogCS
OGRErr SetWellKnownGeogCS(const char *)
Set a GeogCS based on well known name.
Definition: ogrspatialreference.cpp:1745
OFTBinary
@ OFTBinary
Definition: ogr_core.h:594
OGRSTSymbolPriority
@ OGRSTSymbolPriority
Definition: ogr_core.h:845
OGR_F_GetFieldAsInteger64
GIntBig OGR_F_GetFieldAsInteger64(OGRFeatureH, int)
Fetch field value as integer 64 bit.
Definition: ogrfeature.cpp:1879
wkbPoint
@ wkbPoint
Definition: ogr_core.h:316
OGRStyleTable::AddStyle
GBool AddStyle(const char *pszName, const char *pszStyleString)
Add a new style in the table. No comparison will be done on the Style string, only on the name.
Definition: ogrfeaturestyle.cpp:889
CSLLoad
char ** CSLLoad(const char *pszFname)
Definition: cpl_string.cpp:397
OGRSTLabelBColor
@ OGRSTLabelBColor
Definition: ogr_core.h:863
OGRFieldDefn::SetSubType
void SetSubType(OGRFieldSubType eSubTypeIn)
Set the subtype of this field. This should never be done to an OGRFieldDefn that is already part of a...
Definition: ogrfielddefn.cpp:363
OFSTBoolean
@ OFSTBoolean
Definition: ogr_core.h:616
OGRFeature::GetStyleString
virtual const char * GetStyleString()
Fetch style string for this feature.
Definition: ogrfeature.cpp:5907
CSLT_PRESERVEESCAPES
#define CSLT_PRESERVEESCAPES
Definition: cpl_string.h:93
OGRFeature::GetGeomFieldIndex
int GetGeomFieldIndex(const char *pszName)
Fetch the geometry field index given geometry field name.
Definition: ogr_feature.h:314
OGRSTLabelFColor
@ OGRSTLabelFColor
Definition: ogr_core.h:862
OGRStyleMgr::AddPart
GBool AddPart(OGRStyleTool *)
Add a part (style tool) to the current style.
Definition: ogrfeaturestyle.cpp:527
CPLString::Printf
CPLString & Printf(const char *pszFormat,...)
Definition: cplstring.cpp:59
OGRFeatureDefn::GetGeomFieldCount
virtual int GetGeomFieldCount()
Fetch number of geometry fields on this feature.
Definition: ogrfeaturedefn.cpp:583
OGR_F_SetFromWithMap
OGRErr OGR_F_SetFromWithMap(OGRFeatureH, OGRFeatureH, int, int *)
Set one feature from another.
Definition: ogrfeature.cpp:5711
OGRFieldDefn::SetName
void SetName(const char *)
Reset the name of this field.
Definition: ogrfielddefn.cpp:157
OGR_FD_IsSame
int OGR_FD_IsSame(OGRFeatureDefnH hFDefn, OGRFeatureDefnH hOtherFDefn)
Test if the feature definition is identical to the other one.
Definition: ogrfeaturedefn.cpp:1437
CSLSave
int CSLSave(char **papszStrList, const char *pszFname)
Definition: cpl_string.cpp:412
OGRGeomFieldDefn::SetIgnored
void SetIgnored(int bIgnoreIn)
Set whether this field should be omitted when fetching features.
Definition: ogr_feature.h:171
OGR_SM_AddPart
int OGR_SM_AddPart(OGRStyleMgrH hSM, OGRStyleToolH hST)
Add a part (style tool) to the current style.
Definition: ogrfeaturestyle.cpp:566
OGRStyleTable
Definition: ogr_featurestyle.h:83
OGR_GT_IsSubClassOf
int OGR_GT_IsSubClassOf(OGRwkbGeometryType eType, OGRwkbGeometryType eSuperType)
Returns if a type is a subclass of another one.
Definition: ogrgeometry.cpp:6450
OGR_F_SetFieldNull
void OGR_F_SetFieldNull(OGRFeatureH, int)
Clear a field, marking it as null.
Definition: ogrfeature.cpp:1579
OGRGeometryCollection::getNumGeometries
int getNumGeometries() const
Fetch number of geometries in container.
Definition: ogrgeometrycollection.cpp:250
wkbMultiPolygon
@ wkbMultiPolygon
Definition: ogr_core.h:324
CSLT_PRESERVEQUOTES
#define CSLT_PRESERVEQUOTES
Definition: cpl_string.h:91
CPLStringList
String list class designed around our use of C "char**" string lists.
Definition: cpl_string.h:449
CPLCalloc
void * CPLCalloc(size_t, size_t)
Definition: cpl_conv.cpp:128
OGRFieldDefn::Set
void Set(const char *, OGRFieldType, int=0, int=0, OGRJustification=OJUndefined)
Set defining parameters for a field in one call.
Definition: ogrfielddefn.cpp:1000
OGRGeometryFactory::forceTo
static OGRGeometry * forceTo(OGRGeometry *poGeom, OGRwkbGeometryType eTargetType, const char *const *papszOptions=NULL)
Convert to another geometry type.
Definition: ogrgeometryfactory.cpp:4095
OGR_F_Equal
int OGR_F_Equal(OGRFeatureH, OGRFeatureH)
Test if two features are the same.
Definition: ogrfeature.cpp:5476
OGRFieldDefn::SetType
void SetType(OGRFieldType eTypeIn)
Set the type of this field. This should never be done to an OGRFieldDefn that is already part of an O...
Definition: ogrfielddefn.cpp:277
OGRFeatureDefn::GetFieldCount
virtual int GetFieldCount()
Fetch number of fields on this feature.
Definition: ogrfeaturedefn.cpp:270
OGR_STBL_ResetStyleStringReading
void OGR_STBL_ResetStyleStringReading(OGRStyleTableH hStyleTable)
Reset the next style pointer to 0.
Definition: ogrfeaturestyle.cpp:1244
OGRSTClassId
enum ogr_style_tool_class_id OGRSTClassId
OGRGeometryCollection
Definition: ogr_geometry.h:1295
OGRSTBrushParam
enum ogr_style_tool_param_brush_id OGRSTBrushParam
OGR_F_GetGeometryRef
OGRGeometryH OGR_F_GetGeometryRef(OGRFeatureH)
Fetch an handle to feature geometry.
Definition: ogrfeature.cpp:592
OGR_F_VAL_WIDTH
#define OGR_F_VAL_WIDTH
Definition: ogr_core.h:549
OGRPoint::IsEmpty
virtual OGRBoolean IsEmpty() const CPL_OVERRIDE
Returns TRUE (non-zero) if the object has no points.
Definition: ogr_geometry.h:357
OGR_GT_IsNonLinear
int OGR_GT_IsNonLinear(OGRwkbGeometryType)
Return if a geometry type is a non-linear geometry type.
Definition: ogrgeometry.cpp:6704
OGR_ST_GetUnit
OGRSTUnitId OGR_ST_GetUnit(OGRStyleToolH hST)
Get Style Tool units.
Definition: ogrfeaturestyle.cpp:1665
OGRFieldDefn::GetWidth
int GetWidth() const
Get the formatting width for this field.
Definition: ogr_feature.h:97
OGR_FD_GetGeomFieldCount
int OGR_FD_GetGeomFieldCount(OGRFeatureDefnH hFDefn)
Fetch number of geometry fields on the passed feature definition.
Definition: ogrfeaturedefn.cpp:603
CSLT_HONOURSTRINGS
#define CSLT_HONOURSTRINGS
Definition: cpl_string.h:87
OGRGeometryCollection::getGeometryType
virtual OGRwkbGeometryType getGeometryType() const CPL_OVERRIDE
Fetch geometry type.
Definition: ogrgeometrycollection.cpp:177
cpl_vsi.h
OGRSpatialReference
Definition: ogr_spatialref.h:132
OGRSTLabelItalic
@ OGRSTLabelItalic
Definition: ogr_core.h:870
OGRStyleTool::SetParamStr
void SetParamStr(const OGRStyleParamId &sStyleParam, OGRStyleValue &sStyleValue, const char *pszParamString)
Definition: ogrfeaturestyle.cpp:2160
OGRGeometryCollection::getGeometryRef
OGRGeometry * getGeometryRef(int)
Fetch geometry from container.
Definition: ogrgeometrycollection.cpp:275
OGR_GT_GetLinear
OGRwkbGeometryType OGR_GT_GetLinear(OGRwkbGeometryType eType)
Returns the non-curve geometry type that can contain the passed geometry type.
Definition: ogrgeometry.cpp:6619
OGRSpatialReference::SetACEA
OGRErr SetACEA(double dfStdP1, double dfStdP2, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:3961
OGR_Fld_SetIgnored
void OGR_Fld_SetIgnored(OGRFieldDefnH hDefn, int)
Set whether this field should be omitted when fetching features.
Definition: ogrfielddefn.cpp:1100
OGR_SM_InitFromFeature
const char * OGR_SM_InitFromFeature(OGRStyleMgrH hSM, OGRFeatureH hFeat)
Initialize style manager from the style string of a feature.
Definition: ogrfeaturestyle.cpp:282
CPLsnprintf
int CPLsnprintf(char *str, size_t size, const char *fmt,...)
Definition: cpl_string.cpp:1333
OGRSTPenWidth
@ OGRSTPenWidth
Definition: ogr_core.h:800
OGR_F_GetFieldAsInteger64List
const GIntBig * OGR_F_GetFieldAsInteger64List(OGRFeatureH, int, int *)
Fetch field value as a list of 64 bit integers.
Definition: ogrfeature.cpp:2614
OGRSTLabelParam
enum ogr_style_tool_param_label_id OGRSTLabelParam
OGR_F_GetFieldAsBinary
GByte * OGR_F_GetFieldAsBinary(OGRFeatureH, int, int *)
Fetch field value as binary.
Definition: ogrfeature.cpp:2855
OGRFeature::GetFieldCount
int GetFieldCount() const
Fetch number of fields on this feature. This will always be the same as the field count for the OGRFe...
Definition: ogr_feature.h:326
OGR_F_GetFieldAsDateTime
int OGR_F_GetFieldAsDateTime(OGRFeatureH, int, int *, int *, int *, int *, int *, int *, int *)
Fetch field value as date and time.
Definition: ogrfeature.cpp:2986
OGRFeatureDefn::IsGeometryIgnored
virtual int IsGeometryIgnored()
Determine whether the geometry can be omitted when fetching features.
Definition: ogrfeaturedefn.cpp:1204
OFTDateTime
@ OFTDateTime
Definition: ogr_core.h:597
OGR_RawField_SetNull
void OGR_RawField_SetNull(OGRField *)
Mark a raw field as null.
Definition: ogrfeature.cpp:6786
OGR_F_GetGeomFieldDefnRef
OGRGeomFieldDefnH OGR_F_GetGeomFieldDefnRef(OGRFeatureH hFeat, int iField)
Fetch definition for this geometry field.
Definition: ogrfeature.cpp:1173
OGRGeometry
Definition: ogr_geometry.h:118
OGR_F_GetFieldAsString
const char * OGR_F_GetFieldAsString(OGRFeatureH, int)
Fetch field value as a string.
Definition: ogrfeature.cpp:2443
OGRMultiPoint
Definition: ogr_geometry.h:1609
OGR_F_GetFieldAsInteger
int OGR_F_GetFieldAsInteger(OGRFeatureH, int)
Fetch field value as integer.
Definition: ogrfeature.cpp:1758
OGRGeometry::getGeometryName
virtual const char * getGeometryName() const =0
Fetch WKT name for geometry type.
OGRFeature::GetFieldAsStringList
char ** GetFieldAsStringList(int i)
Fetch field value as a list of strings.
Definition: ogrfeature.cpp:2741
OGR_G_ExportToJson
char * OGR_G_ExportToJson(OGRGeometryH) CPL_WARN_UNUSED_RESULT
Convert a geometry into GeoJSON format.
Definition: ogrgeojsonwriter.cpp:1313
OGRSTLabelAdjHor
@ OGRSTLabelAdjHor
Definition: ogr_core.h:875
ograpispy.h
OGRSTLabelTextString
@ OGRSTLabelTextString
Definition: ogr_core.h:860
OGRStyleMgr::InitFromFeature
const char * InitFromFeature(OGRFeature *)
Initialize style manager from the style string of a feature.
Definition: ogrfeaturestyle.cpp:252
OGRFeature::GetGeomFieldDefnRef
OGRGeomFieldDefn * GetGeomFieldDefnRef(int iField)
Fetch definition for this geometry field.
Definition: ogr_feature.h:312
OGRLayer
Definition: ogrsf_frmts.h:68
OGR_F_SetGeometryDirectly
OGRErr OGR_F_SetGeometryDirectly(OGRFeatureH, OGRGeometryH)
Set feature geometry.
Definition: ogrfeature.cpp:388
CPLString
Convenient string class based on std::string.
Definition: cpl_string.h:338
OGRFeatureDefn::ReorderFieldDefns
virtual OGRErr ReorderFieldDefns(int *panMap)
Reorder the field definitions in the array of the feature definition.
Definition: ogrfeaturedefn.cpp:514
OGR_F_Clone
OGRFeatureH OGR_F_Clone(OGRFeatureH) CPL_WARN_UNUSED_RESULT
Duplicate feature.
Definition: ogrfeature.cpp:952
OGR_FD_GetReferenceCount
int OGR_FD_GetReferenceCount(OGRFeatureDefnH)
Fetch current reference count.
Definition: ogrfeaturedefn.cpp:1121
OGRSTPenParam
enum ogr_style_tool_param_pen_id OGRSTPenParam
OGR_FD_DeleteGeomFieldDefn
OGRErr OGR_FD_DeleteGeomFieldDefn(OGRFeatureDefnH hFDefn, int iGeomField)
Delete an existing geometry field definition.
Definition: ogrfeaturedefn.cpp:818
CPL_LSBPTR64
#define CPL_LSBPTR64(x)
Definition: cpl_port.h:891
OGRPoint
Definition: ogr_geometry.h:322
OGR_ST_SetParamStr
void OGR_ST_SetParamStr(OGRStyleToolH hST, int eParam, const char *pszValue)
Set Style Tool parameter value from a string.
Definition: ogrfeaturestyle.cpp:2439
OGRFieldDefn::GetPrecision
int GetPrecision() const
Get the formatting precision for this field. This should normally be zero for fields of types other t...
Definition: ogr_feature.h:100
OGR_F_SetGeomFieldDirectly
OGRErr OGR_F_SetGeomFieldDirectly(OGRFeatureH hFeat, int iField, OGRGeometryH hGeom)
Set feature geometry of a specified geometry field.
Definition: ogrfeature.cpp:770
ogr_geometry.h
OGRFeatureDefn::DeleteFieldDefn
virtual OGRErr DeleteFieldDefn(int iField)
Delete an existing field definition.
Definition: ogrfeaturedefn.cpp:443
OGRSimpleCurve::getY
double getY(int i) const
Get Y at vertex.
Definition: ogr_geometry.h:555
OGRSTLabelPlacement
@ OGRSTLabelPlacement
Definition: ogr_core.h:864
OGRGeomFieldDefn::SetType
void SetType(OGRwkbGeometryType eTypeIn)
Set the geometry type of this field. This should never be done to an OGRGeomFieldDefn that is already...
Definition: ogrgeomfielddefn.cpp:316
OGRSTCSymbol
@ OGRSTCSymbol
Definition: ogr_core.h:776
OGR_STBL_GetLastStyleName
const char * OGR_STBL_GetLastStyleName(OGRStyleTableH hStyleTable)
Definition: ogrfeaturestyle.cpp:1335
OGR_FD_SetGeomType
void OGR_FD_SetGeomType(OGRFeatureDefnH, OGRwkbGeometryType)
Assign the base geometry type for the passed layer (the same as the feature definition).
Definition: ogrfeaturedefn.cpp:1013
OGRFeature::Equal
virtual OGRBoolean Equal(OGRFeature *poFeature)
Test if two features are the same.
Definition: ogrfeature.cpp:5268
OGR_F_GetFID
GIntBig OGR_F_GetFID(OGRFeatureH)
Get feature identifier.
Definition: ogrfeature.cpp:5187
OGRFeature::SetNativeData
void SetNativeData(const char *pszNativeData)
Sets the native data for the feature.
Definition: ogrfeature.cpp:6609
OGRSTCLabel
@ OGRSTCLabel
Definition: ogr_core.h:777
CPLRealloc
void * CPLRealloc(void *, size_t)
Definition: cpl_conv.cpp:215
OGR_F_SetStyleString
void OGR_F_SetStyleString(OGRFeatureH, const char *)
Set feature style string.
Definition: ogrfeature.cpp:5988
OGRGeomFieldDefn::IsIgnored
int IsIgnored() const
Return whether this field should be omitted when fetching features.
Definition: ogr_feature.h:170
OGRStyleTable::Clear
void Clear()
Clear a style table.
Definition: ogrfeaturestyle.cpp:802
OGRStyleTool::SetUnit
void SetUnit(OGRSTUnitId, double dfScale=1.0)
Set Style Tool units.
Definition: ogrfeaturestyle.cpp:1683
OGR_F_GetFieldAsIntegerList
const int * OGR_F_GetFieldAsIntegerList(OGRFeatureH, int, int *)
Fetch field value as a list of integers.
Definition: ogrfeature.cpp:2528
CSLFindString
int CSLFindString(const char *const *papszList, const char *pszTarget)
Definition: cpl_string.cpp:668
OGRFeature::SetFieldsFrom
OGRErr SetFieldsFrom(OGRFeature *, int *, int=TRUE)
Set fields from another feature.
Definition: ogrfeature.cpp:5755
OGRFeatureH
void * OGRFeatureH
Definition: ogr_api.h:291
CPL_FRMT_GIB
#define CPL_FRMT_GIB
Definition: cpl_port.h:326
OGR_FD_GetFieldIndex
int OGR_FD_GetFieldIndex(OGRFeatureDefnH, const char *)
Find field by name.
Definition: ogrfeaturedefn.cpp:1175
OGRFeature::Clone
OGRFeature * Clone() CPL_WARN_UNUSED_RESULT
Duplicate feature.
Definition: ogrfeature.cpp:873
EQUAL
#define EQUAL(a, b)
Definition: cpl_port.h:622
OGRSTUnitId
enum ogr_style_tool_units_id OGRSTUnitId
OGR_F_Validate
int OGR_F_Validate(OGRFeatureH, int nValidateFlags, int bEmitError)
Validate that a feature meets constraints of its schema.
Definition: ogrfeature.cpp:6458
OGRStyleTableH
void * OGRStyleTableH
Definition: ogr_api.h:293
wkbHasZ
#define wkbHasZ(x)
Definition: ogr_core.h:436
OGRBoolean
int OGRBoolean
Definition: ogr_core.h:301
OGR_F_SetFrom
OGRErr OGR_F_SetFrom(OGRFeatureH, OGRFeatureH, int)
Set one feature from another.
Definition: ogrfeature.cpp:5571
OGRFeatureDefnH
void * OGRFeatureDefnH
Definition: ogr_api.h:289
OGR_ST_GetStyleString
const char * OGR_ST_GetStyleString(OGRStyleToolH hST)
Get the style string for this Style Tool.
Definition: ogrfeaturestyle.cpp:2576
OGR_RawField_SetUnset
void OGR_RawField_SetUnset(OGRField *)
Mark a raw field as unset.
Definition: ogrfeature.cpp:6762
OGR_F_VAL_GEOM_TYPE
#define OGR_F_VAL_GEOM_TYPE
Definition: ogr_core.h:543
OGRSTCNone
@ OGRSTCNone
Definition: ogr_core.h:773
OGRFieldDefn::SetPrecision
void SetPrecision(int nPrecisionIn)
Set the formatting precision for this field in characters.
Definition: ogr_feature.h:101
OGRLayer::GetLayerDefn
virtual OGRFeatureDefn * GetLayerDefn()=0
Fetch the schema information for this layer.
OGRFeatureDefn::GetFieldDefn
virtual OGRFieldDefn * GetFieldDefn(int i)
Fetch field definition.
Definition: ogrfeaturedefn.cpp:317
OGRSTUPixel
@ OGRSTUPixel
Definition: ogr_core.h:787
OGRSTPenPriority
@ OGRSTPenPriority
Definition: ogr_core.h:806
OGR_ST_GetRGBFromString
int OGR_ST_GetRGBFromString(OGRStyleToolH hST, const char *pszColor, int *pnRed, int *pnGreen, int *pnBlue, int *pnAlpha)
Return the r,g,b,a components of a color encoded in #RRGGBB[AA] format.
Definition: ogrfeaturestyle.cpp:2624
OGR_F_GetFieldAsDouble
double OGR_F_GetFieldAsDouble(OGRFeatureH, int)
Fetch field value as a double.
Definition: ogrfeature.cpp:1992
OGR_Fld_Destroy
void OGR_Fld_Destroy(OGRFieldDefnH)
Destroy a field definition.
Definition: ogrfielddefn.cpp:139
CPLStringList::AddString
CPLStringList & AddString(const char *pszNewString)
Definition: cplstringlist.cpp:319
OGRFeature::GetFieldAsSerializedJSon
char * GetFieldAsSerializedJSon(int i)
Fetch field value as a serialized JSon object.
Definition: ogrfeature.cpp:3094
CSLGetField
const char * CSLGetField(char **, int)
Definition: cpl_string.cpp:173
OGRGeomFieldDefnH
struct OGRGeomFieldDefnHS * OGRGeomFieldDefnH
Definition: ogr_api.h:296
OGR_F_FillUnsetWithDefault
void OGR_F_FillUnsetWithDefault(OGRFeatureH hFeat, int bNotNullableOnly, char **papszOptions)
Fill unset fields with default values that might be defined.
Definition: ogrfeature.cpp:6302
OGRFeature::GetFieldAsInteger64List
const GIntBig * GetFieldAsInteger64List(int i, int *pnCount)
Fetch field value as a list of 64 bit integers.
Definition: ogrfeature.cpp:2572
OGRStyleMgr::GetPartCount
int GetPartCount(const char *pszStyleString=NULL)
Get the number of parts in a style.
Definition: ogrfeaturestyle.cpp:594
wkbFlatten
#define wkbFlatten(x)
Definition: ogr_core.h:431
OGRSTSymbolDx
@ OGRSTSymbolDx
Definition: ogr_core.h:840
OGRGeometry::Equals
virtual OGRBoolean Equals(OGRGeometry *) const =0
Returns TRUE if two geometries are equivalent.
OGR_RawField_IsUnset
int OGR_RawField_IsUnset(const OGRField *)
Returns whether a raw field is unset.
Definition: ogrfeature.cpp:6717
CSLDuplicate
char ** CSLDuplicate(char **papszStrList)
Definition: cpl_string.cpp:228
CPLAssert
#define CPLAssert(expr)
Definition: cpl_error.h:182
CPLAtoGIntBigEx
GIntBig CPLAtoGIntBigEx(const char *pszString, int bWarn, int *pbOverflow)
Definition: cpl_conv.cpp:1005
OGRMultiLineString
Definition: ogr_geometry.h:1692
OGR_F_GetNativeMediaType
const char * OGR_F_GetNativeMediaType(OGRFeatureH)
Returns the native media type for the feature.
Definition: ogrfeature.cpp:6581
OGRGeometry::clone
virtual OGRGeometry * clone() const CPL_WARN_UNUSED_RESULT=0
Make a copy of this object.
OGRFeature::SetField
void SetField(int i, int nValue)
Set field to integer value.
Definition: ogrfeature.cpp:3208
OGR_Fld_SetPrecision
void OGR_Fld_SetPrecision(OGRFieldDefnH, int)
Set the formatting precision for this field in characters.
Definition: ogrfielddefn.cpp:975
CPLES_SQL
#define CPLES_SQL
Definition: cpl_string.h:204
OGR_F_SetFieldIntegerList
void OGR_F_SetFieldIntegerList(OGRFeatureH, int, int, int *)
Set field to list of integers value.
Definition: ogrfeature.cpp:4067
OGRStyleTable::GetLastStyleName
const char * GetLastStyleName()
Definition: ogrfeaturestyle.cpp:1315
OGRFieldDefn::GetDefault
const char * GetDefault() const
Get default field value.
Definition: ogrfielddefn.cpp:518
OGR_AreTypeSubTypeCompatible
int OGR_AreTypeSubTypeCompatible(OGRFieldType eType, OGRFieldSubType eSubType)
Return if type and subtype are compatible.
Definition: ogrfielddefn.cpp:762
OGR_F_SetFieldDouble
void OGR_F_SetFieldDouble(OGRFeatureH, int, double)
Set field to double value.
Definition: ogrfeature.cpp:3604
OGRFeatureDefn::IsSame
virtual int IsSame(OGRFeatureDefn *poOtherFeatureDefn)
Test if the feature definition is identical to the other one.
Definition: ogrfeaturedefn.cpp:1391
OGR_F_GetFieldDefnRef
OGRFieldDefnH OGR_F_GetFieldDefnRef(OGRFeatureH, int)
Fetch definition for this field.
Definition: ogrfeature.cpp:1033
OGRFeature::GetFieldDefnRef
OGRFieldDefn * GetFieldDefnRef(int iField) const
Fetch definition for this field.
Definition: ogr_feature.h:328
OGRSTLabelOColor
@ OGRSTLabelOColor
Definition: ogr_core.h:878
OGR_Fld_SetDefault
void OGR_Fld_SetDefault(OGRFieldDefnH hDefn, const char *)
Set default field value.
Definition: ogrfielddefn.cpp:500
OGR_F_StealGeometry
OGRGeometryH OGR_F_StealGeometry(OGRFeatureH) CPL_WARN_UNUSED_RESULT
Take away ownership of geometry.
Definition: ogrfeature.cpp:543
OGR_ST_SetUnit
void OGR_ST_SetUnit(OGRStyleToolH hST, OGRSTUnitId eUnit, double dfGroundPaperScale)
Set Style Tool units.
Definition: ogrfeaturestyle.cpp:1703
CPLTestBool
bool CPLTestBool(const char *pszValue)
Definition: cpl_string.cpp:1522
OGRStyleTool::GetType
OGRSTClassId GetType()
Determine type of Style Tool.
Definition: ogrfeaturestyle.cpp:1621
OGRField
Definition: ogr_core.h:661
OGR_G_ExportToJsonEx
char * OGR_G_ExportToJsonEx(OGRGeometryH, char **papszOptions) CPL_WARN_UNUSED_RESULT
Convert a geometry into GeoJSON format.
Definition: ogrgeojsonwriter.cpp:1346
OGRFeatureDefn::GetGeomFieldDefn
virtual OGRGeomFieldDefn * GetGeomFieldDefn(int i)
Fetch geometry field definition.
Definition: ogrfeaturedefn.cpp:632
OGRPolygon::getExteriorRing
OGRLinearRing * getExteriorRing()
Fetch reference to external polygon ring.
Definition: ogrpolygon.cpp:147
OGRSTSymbolAngle
@ OGRSTSymbolAngle
Definition: ogr_core.h:837
OGR_STBL_LoadStyleTable
int OGR_STBL_LoadStyleTable(OGRStyleTableH hStyleTable, const char *pszFilename)
Load a style table from a file.
Definition: ogrfeaturestyle.cpp:1076
OGRSTSymbolFontName
@ OGRSTSymbolFontName
Definition: ogr_core.h:846
CSLCount
int CSLCount(const char *const *papszStrList)
Definition: cpl_string.cpp:147
OGR_F_GetGeomFieldCount
int OGR_F_GetGeomFieldCount(OGRFeatureH hFeat)
Fetch number of geometry fields on this feature This will always be the same as the geometry field co...
Definition: ogrfeature.cpp:1127
OGR_F_GetNativeData
const char * OGR_F_GetNativeData(OGRFeatureH)
Returns the native data for the feature.
Definition: ogrfeature.cpp:6530
OGR_FD_GetGeomFieldIndex
int OGR_FD_GetGeomFieldIndex(OGRFeatureDefnH hFDefn, const char *pszName)
Find geometry field by name.
Definition: ogrfeaturedefn.cpp:875
OGR_Fld_GetWidth
int OGR_Fld_GetWidth(OGRFieldDefnH)
Get the formatting width for this field.
Definition: ogrfielddefn.cpp:871
OGRFeature::GetGeometryRef
OGRGeometry * GetGeometryRef()
Fetch pointer to feature geometry.
Definition: ogrfeature.cpp:569
OGR_STBL_GetNextStyle
const char * OGR_STBL_GetNextStyle(OGRStyleTableH hStyleTable)
Get the next style string from the table.
Definition: ogrfeaturestyle.cpp:1297
OGR_GET_MS
#define OGR_GET_MS(floatingpoint_sec)
Definition: ogr_core.h:714
OGRFeature::GetFieldAsInteger64
GIntBig GetFieldAsInteger64(int i)
Fetch field value as integer 64 bit.
Definition: ogrfeature.cpp:1800
OGRSTPenColor
@ OGRSTPenColor
Definition: ogr_core.h:799
VALIDATE_POINTER1
#define VALIDATE_POINTER1(ptr, func, rc)
Definition: cpl_error.h:208
OGRSTLabelDy
@ OGRSTLabelDy
Definition: ogr_core.h:867
OGR_F_GetStyleTable
OGRStyleTableH OGR_F_GetStyleTable(OGRFeatureH)
Definition: ogrfeature.cpp:6170
OGR_ST_Destroy
void OGR_ST_Destroy(OGRStyleToolH hST)
Destroy Style Tool.
Definition: ogrfeaturestyle.cpp:1409
wkbSetZ
#define wkbSetZ(x)
Definition: ogr_core.h:441
OGRERR_FAILURE
#define OGRERR_FAILURE
Definition: ogr_core.h:293
OGR_FD_AddFieldDefn
void OGR_FD_AddFieldDefn(OGRFeatureDefnH, OGRFieldDefnH)
Add a new field definition to the passed feature definition.
Definition: ogrfeaturedefn.cpp:416
OGRSTUMM
@ OGRSTUMM
Definition: ogr_core.h:789
OFTString
@ OFTString
Definition: ogr_core.h:590
OGRFeature::GetGeomFieldCount
int GetGeomFieldCount() const
Fetch number of geometry fields on this feature. This will always be the same as the geometry field c...
Definition: ogr_feature.h:310
OGRStyleMgr::GetStyleString
const char * GetStyleString(OGRFeature *=NULL)
Get the style string from the style manager.
Definition: ogrfeaturestyle.cpp:470
OGR_ST_Create
OGRStyleToolH OGR_ST_Create(OGRSTClassId eClassId) CPL_WARN_UNUSED_RESULT
OGRStyleTool factory.
Definition: ogrfeaturestyle.cpp:1373
OFTIntegerList
@ OFTIntegerList
Definition: ogr_core.h:587
OGRFeatureDefn::CreateFeatureDefn
static OGRFeatureDefn * CreateFeatureDefn(const char *pszName=NULL)
Definition: ogrfeaturedefn.cpp:1361
OGR_FD_AddGeomFieldDefn
void OGR_FD_AddGeomFieldDefn(OGRFeatureDefnH hFDefn, OGRGeomFieldDefnH hGFldDefn)
Add a new field definition to the passed feature definition.
Definition: ogrfeaturedefn.cpp:744
OGR_FD_GetFieldCount
int OGR_FD_GetFieldCount(OGRFeatureDefnH)
Fetch number of fields on the passed feature definition.
Definition: ogrfeaturedefn.cpp:288
OGRSTCBrush
@ OGRSTCBrush
Definition: ogr_core.h:775
CSLFetchNameValue
const char * CSLFetchNameValue(const char *const *papszStrList, const char *pszName)
Definition: cpl_string.cpp:1670
OGRSTLabelFontName
@ OGRSTLabelFontName
Definition: ogr_core.h:858
OGRSTLabelPriority
@ OGRSTLabelPriority
Definition: ogr_core.h:872
OGR_F_UnsetField
void OGR_F_UnsetField(OGRFeatureH, int)
Clear a field, marking it as unset.
Definition: ogrfeature.cpp:1375
ogrsf_frmts.h
OGR_STBL_SaveStyleTable
int OGR_STBL_SaveStyleTable(OGRStyleTableH hStyleTable, const char *pszFilename)
Save a style table to a file.
Definition: ogrfeaturestyle.cpp:1024
OGR_F_VAL_NULL
#define OGR_F_VAL_NULL
Definition: ogr_core.h:537
OGRStyleTool::GetRGBFromString
static GBool GetRGBFromString(const char *pszColor, int &nRed, int &nGreen, int &nBlue, int &nTransparence)
Return the r,g,b,a components of a color encoded in #RRGGBB[AA] format.
Definition: ogrfeaturestyle.cpp:1549
OGRFeature::DumpReadable
void DumpReadable(FILE *, char **papszOptions=NULL)
Dump this feature in a human readable form.
Definition: ogrfeature.cpp:5056
OGRSTLabelUnderline
@ OGRSTLabelUnderline
Definition: ogr_core.h:871
CPLDebug
void CPLDebug(const char *, const char *,...)
Definition: cpl_error.cpp:492
OGRStyleTool::GetStyleString
virtual const char * GetStyleString()=0
Get the style string for this Style Tool.
OGRStyleMgr::GetPart
OGRStyleTool * GetPart(int hPartId, const char *pszStyleString=NULL)
Fetch a part (style tool) from the current style.
Definition: ogrfeaturestyle.cpp:662
OGR_Fld_GetNameRef
const char * OGR_Fld_GetNameRef(OGRFieldDefnH)
Fetch name of this field.
Definition: ogrfielddefn.cpp:213
VSI_STRDUP_VERBOSE
#define VSI_STRDUP_VERBOSE(pszStr)
Definition: cpl_vsi.h:279
OGRFieldDefn
Definition: ogr_feature.h:62
OGRSTLabelAnchor
@ OGRSTLabelAnchor
Definition: ogr_core.h:865
OGRFeature::SetStyleString
virtual void SetStyleString(const char *)
Set feature style string.
Definition: ogrfeature.cpp:5959
OFTInteger
@ OFTInteger
Definition: ogr_core.h:586
OGRGeomFieldDefn::IsNullable
int IsNullable() const
Return whether this geometry field can receive null values.
Definition: ogr_feature.h:173
OGRFeature::SetStyleTable
virtual void SetStyleTable(OGRStyleTable *poStyleTable)
Definition: ogrfeature.cpp:6049
CPLMalloc
void * CPLMalloc(size_t)
Definition: cpl_conv.cpp:158
CPL_LSBPTR32
#define CPL_LSBPTR32(x)
Definition: cpl_port.h:887
ogr_featurestyle.h
OGRSimpleCurve::getNumPoints
virtual int getNumPoints() const CPL_OVERRIDE
Fetch vertex count.
Definition: ogr_geometry.h:552
OGRSTLabelAngle
@ OGRSTLabelAngle
Definition: ogr_core.h:861
OGRSimpleCurve::addSubLineString
void addSubLineString(const OGRLineString *, int nStartVertex=0, int nEndVertex=-1)
Add a segment of another linestring to this one.
Definition: ogrlinestring.cpp:1385
CPLStringList::List
char ** List()
Definition: cpl_string.h:522
OGRSTSymbolDy
@ OGRSTSymbolDy
Definition: ogr_core.h:841
OGR_Fld_GetPrecision
int OGR_Fld_GetPrecision(OGRFieldDefnH)
Get the formatting precision for this field. This should normally be zero for fields of types other t...
Definition: ogrfielddefn.cpp:939
ogr_feature.h
OGR_F_GetRawFieldRef
OGRField * OGR_F_GetRawFieldRef(OGRFeatureH, int)
Fetch an handle to the internal field value given the index.
Definition: ogrfeature.cpp:1620
OGRSTBrushDx
@ OGRSTBrushDx
Definition: ogr_core.h:822
OGRFieldDefn::OGRFieldDefn
OGRFieldDefn(const char *, OGRFieldType)
Constructor.
Definition: ogrfielddefn.cpp:59
cpl_conv.h
OGRFeatureDefn::GetGeomFieldIndex
virtual int GetGeomFieldIndex(const char *)
Find geometry field by name.
Definition: ogrfeaturedefn.cpp:842
wkbNone
@ wkbNone
Definition: ogr_core.h:344
OGR_F_SetFieldRaw
void OGR_F_SetFieldRaw(OGRFeatureH, int, OGRField *)
Set field.
Definition: ogrfeature.cpp:5022
OGRFeature::IsFieldSet
int IsFieldSet(int iField)
Test if a field has ever been assigned a value or not.
Definition: ogrfeature.cpp:1245
OGR_GetFieldTypeName
const char * OGR_GetFieldTypeName(OGRFieldType)
Fetch human readable name for a field type.
Definition: ogrfielddefn.cpp:683
OFTInteger64List
@ OFTInteger64List
Definition: ogr_core.h:599
OGRFeature::GetDefnRef
OGRFeatureDefn * GetDefnRef()
Fetch feature definition.
Definition: ogr_feature.h:303
OGRFeature::CreateFeature
static OGRFeature * CreateFeature(OGRFeatureDefn *)
Feature factory.
Definition: ogrfeature.cpp:244
OGRFeature::SetFieldNull
void SetFieldNull(int iField)
Clear a field, marking it as null.
Definition: ogrfeature.cpp:1526
wkbPolygon
@ wkbPolygon
Definition: ogr_core.h:319
cpl_string.h
OGR_Fld_SetNullable
void OGR_Fld_SetNullable(OGRFieldDefnH hDefn, int)
Set whether this field can receive null values.
Definition: ogrfielddefn.cpp:1216
OGRFeature::UnsetField
void UnsetField(int iField)
Clear a field, marking it as unset.
Definition: ogrfeature.cpp:1324
OGRUnsetMarker
#define OGRUnsetMarker
Definition: ogr_core.h:643
OGR_F_SetStyleTableDirectly
void OGR_F_SetStyleTableDirectly(OGRFeatureH, OGRStyleTableH)
Definition: ogrfeature.cpp:6183
OGRFeature::SetGeomFieldDirectly
OGRErr SetGeomFieldDirectly(int iField, OGRGeometry *)
Set feature geometry of a specified geometry field.
Definition: ogrfeature.cpp:727
OGRFeature::Validate
int Validate(int nValidateFlags, int bEmitError)
Validate that a feature meets constraints of its schema.
Definition: ogrfeature.cpp:6338
OGRFeatureDefn::OGRFeatureDefn
OGRFeatureDefn(const char *pszName=NULL)
Constructor.
Definition: ogrfeaturedefn.cpp:62
OGR_F_GetFieldAsStringList
char ** OGR_F_GetFieldAsStringList(OGRFeatureH, int)
Fetch field value as a list of strings.
Definition: ogrfeature.cpp:2782
VSI_CALLOC_VERBOSE
#define VSI_CALLOC_VERBOSE(nCount, nSize)
Definition: cpl_vsi.h:269
OGR_F_SetFieldBinary
void OGR_F_SetFieldBinary(OGRFeatureH, int, int, GByte *)
Set field to binary data.
Definition: ogrfeature.cpp:4573
OGRJustification
OGRJustification
Definition: ogr_core.h:628
OGRSTSymbolParam
enum ogr_style_tool_param_symbol_id OGRSTSymbolParam
OGR_F_GetDefnRef
OGRFeatureDefnH OGR_F_GetDefnRef(OGRFeatureH)
Fetch feature definition.
Definition: ogrfeature.cpp:315
OGR_Fld_Set
void OGR_Fld_Set(OGRFieldDefnH, const char *, OGRFieldType, int, int, OGRJustification)
Set defining parameters for a field in one call.
Definition: ogrfielddefn.cpp:1031
CPLSPrintf
const char * CPLSPrintf(const char *fmt,...)
Definition: cpl_string.cpp:975
OFSTNone
@ OFSTNone
Definition: ogr_core.h:614
OGR_GetFieldSubTypeName
const char * OGR_GetFieldSubTypeName(OGRFieldSubType)
Fetch human readable name for a field subtype.
Definition: ogrfielddefn.cpp:743
OGRStyleMgr::GetStyleName
const char * GetStyleName(const char *pszStyleString=NULL)
Get the name of a style from the style table.
Definition: ogrfeaturestyle.cpp:359
OFTStringList
@ OFTStringList
Definition: ogr_core.h:591
OGRFieldDefn::SetDefault
void SetDefault(const char *)
Set default field value.
Definition: ogrfielddefn.cpp:431
OGRFeatureDefn::GetFieldIndex
virtual int GetFieldIndex(const char *)
Find field by name.
Definition: ogrfeaturedefn.cpp:1144
OGRSTBrushFColor
@ OGRSTBrushFColor
Definition: ogr_core.h:817
OGRFeature::IsFieldSetAndNotNull
bool IsFieldSetAndNotNull(int iField)
Test if a field is set and not null.
Definition: ogrfeature.cpp:1464
OGRFeature::SetStyleStringDirectly
virtual void SetStyleStringDirectly(char *)
Set feature style string.
Definition: ogrfeature.cpp:6011
CSLAddStringMayFail
char ** CSLAddStringMayFail(char **papszStrList, const char *pszNewString)
Definition: cpl_string.cpp:92
OGR_SM_AddStyle
int OGR_SM_AddStyle(OGRStyleMgrH hSM, const char *pszStyleName, const char *pszStyleString)
Add a style to the current style table.
Definition: ogrfeaturestyle.cpp:442
CSLFetchNameValueDef
const char * CSLFetchNameValueDef(const char *const *papszStrList, const char *pszName, const char *pszDefault)
Definition: cpl_string.cpp:1642
OGRFieldDefnH
void * OGRFieldDefnH
Definition: ogr_api.h:287
OGR_FD_Destroy
void OGR_FD_Destroy(OGRFeatureDefnH)
Destroy a feature definition object and release all memory associated with it.
Definition: ogrfeaturedefn.cpp:144
OGRSTBrushDy
@ OGRSTBrushDy
Definition: ogr_core.h:823
OGR_SM_Destroy
void OGR_SM_Destroy(OGRStyleMgrH hSM)
Destroy Style Manager.
Definition: ogrfeaturestyle.cpp:189
OGRLinearRing::isClockwise
virtual int isClockwise() const
Returns TRUE if the ring has clockwise winding (or less than 2 points)
Definition: ogrlinearring.cpp:441
CPLStrlenUTF8
int CPLStrlenUTF8(const char *pszUTF8Str)
Definition: cpl_recode.cpp:363
OGRGeometryH
void * OGRGeometryH
Definition: ogr_api.h:56
CPLError
void CPLError(CPLErr eErrClass, CPLErrorNum err_no, const char *fmt,...)
Definition: cpl_error.cpp:215
OGRGeomFieldDefn
Definition: ogr_feature.h:141
CSLPrint
int CSLPrint(char **papszStrList, FILE *fpOut)
Definition: cpl_string.cpp:461
OGR_Fld_SetSubType
void OGR_Fld_SetSubType(OGRFieldDefnH, OGRFieldSubType)
Set the subtype of this field. This should never be done to an OGRFieldDefn that is already part of a...
Definition: ogrfielddefn.cpp:393
OGRFieldDefn::GetNameRef
const char * GetNameRef()
Fetch name of this field.
Definition: ogr_feature.h:83
VSIFree
void VSIFree(void *)
Definition: cpl_vsisimple.cpp:817
OGRFeatureDefn::Dereference
int Dereference()
Decrements the reference count by one.
Definition: ogr_feature.h:252
OGR_FD_Dereference
int OGR_FD_Dereference(OGRFeatureDefnH)
Decrements the reference count by one.
Definition: ogrfeaturedefn.cpp:1086
CPLE_NotSupported
#define CPLE_NotSupported
Definition: cpl_error.h:110
OGRSTSymbolId
@ OGRSTSymbolId
Definition: ogr_core.h:836
OGR_SM_InitStyleString
int OGR_SM_InitStyleString(OGRStyleMgrH hSM, const char *pszStyleString)
Initialize style manager from the style string.
Definition: ogrfeaturestyle.cpp:337
CPLUnescapeString
char * CPLUnescapeString(const char *pszString, int *pnLength, int nScheme)
Definition: cpl_string.cpp:2227
OGRERR_CORRUPT_DATA
#define OGRERR_CORRUPT_DATA
Definition: ogr_core.h:292
OGRSTBrushBColor
@ OGRSTBrushBColor
Definition: ogr_core.h:818
OGR_SM_GetPart
OGRStyleToolH OGR_SM_GetPart(OGRStyleMgrH hSM, int nPartId, const char *pszStyleString)
Fetch a part (style tool) from the current style.
Definition: ogrfeaturestyle.cpp:711
OGR_F_SetFieldInteger
void OGR_F_SetFieldInteger(OGRFeatureH, int, int)
Set field to integer value.
Definition: ogrfeature.cpp:3299
OFTTime
@ OFTTime
Definition: ogr_core.h:596
OGR_Fld_GetSubType
OGRFieldSubType OGR_Fld_GetSubType(OGRFieldDefnH)
Fetch subtype of this field.
Definition: ogrfielddefn.cpp:337
OGRStyleTool::GetSpecificId
static int GetSpecificId(const char *pszId, const char *pszWanted)
Definition: ogrfeaturestyle.cpp:1586
OGRFieldDefn::GetType
OGRFieldType GetType() const
Fetch type of this field.
Definition: ogr_feature.h:85
OGR_STBL_Find
const char * OGR_STBL_Find(OGRStyleTableH hStyleTable, const char *pszName)
Get a style string by name.
Definition: ogrfeaturestyle.cpp:1132
OGRStyleMgr
Definition: ogr_featurestyle.h:116
OGR_F_SetStyleTable
void OGR_F_SetStyleTable(OGRFeatureH, OGRStyleTableH)
Definition: ogrfeature.cpp:6197
OGR_F_SetFieldDateTime
void OGR_F_SetFieldDateTime(OGRFeatureH, int, int, int, int, int, int, int, int)
Set field to datetime.
Definition: ogrfeature.cpp:4706
OGR_F_Destroy
void OGR_F_Destroy(OGRFeatureH)
Destroy feature.
Definition: ogrfeature.cpp:218
OGRSimpleCurve::getZ
double getZ(int i) const
Get Z at vertex.
Definition: ogrlinestring.cpp:368
OGR_F_SetStyleStringDirectly
void OGR_F_SetStyleStringDirectly(OGRFeatureH, char *)
Set feature style string.
Definition: ogrfeature.cpp:6034
OGRSTUGround
@ OGRSTUGround
Definition: ogr_core.h:786
OGR_F_SetFieldInteger64
void OGR_F_SetFieldInteger64(OGRFeatureH, int, GIntBig)
Set field to 64 bit integer value.
Definition: ogrfeature.cpp:3456
OGRSTSymbolSize
@ OGRSTSymbolSize
Definition: ogr_core.h:839
OGRSTLabelHColor
@ OGRSTLabelHColor
Definition: ogr_core.h:877
OGRGeomFieldDefn::GetNameRef
const char * GetNameRef()
Fetch name of this field.
Definition: ogr_feature.h:162
OGRFeature::GetFieldAsDateTime
int GetFieldAsDateTime(int i, int *pnYear, int *pnMonth, int *pnDay, int *pnHour, int *pnMinute, int *pnSecond, int *pnTZFlag)
Fetch field value as date and time.
Definition: ogrfeature.cpp:2946
OGRErr
int OGRErr
Definition: ogr_core.h:285
OGR_FD_GetGeomFieldDefn
OGRGeomFieldDefnH OGR_FD_GetGeomFieldDefn(OGRFeatureDefnH hFDefn, int i)
Fetch geometry field definition of the passed feature definition.
Definition: ogrfeaturedefn.cpp:665
OGR_Fld_GetDefault
const char * OGR_Fld_GetDefault(OGRFieldDefnH hDefn)
Get default field value.
Definition: ogrfielddefn.cpp:538
OGRStyleTable::Print
void Print(FILE *fpOut)
Print a style table to a FILE pointer.
Definition: ogrfeaturestyle.cpp:1152
OGRSTSymbolOffset
@ OGRSTSymbolOffset
Definition: ogr_core.h:844
CSLDestroy
void CSLDestroy(char **papszStrList)
Definition: cpl_string.cpp:200
OGRFeature::GetFieldIndex
int GetFieldIndex(const char *pszName)
Fetch the field index given field name.
Definition: ogr_feature.h:330
OGRStyleTool::GetParamNum
int GetParamNum(const OGRStyleParamId &sStyleParam, OGRStyleValue &sStyleValue, GBool &bValueIsNull)
Definition: ogrfeaturestyle.cpp:2082
GIntBig
long long GIntBig
Definition: cpl_port.h:250
OGRSTBrushId
@ OGRSTBrushId
Definition: ogr_core.h:819
OGRCurvePolygon::getNumInteriorRings
int getNumInteriorRings() const
Fetch the number of internal rings.
Definition: ogrcurvepolygon.cpp:242
VSI_MALLOC_VERBOSE
#define VSI_MALLOC_VERBOSE(size)
Definition: cpl_vsi.h:254
OGR_FD_ReorderFieldDefns
OGRErr OGR_FD_ReorderFieldDefns(OGRFeatureDefnH hDefn, int *panMap)
Reorder the field definitions in the array of the feature definition.
Definition: ogrfeaturedefn.cpp:563
OGRStyleMgr::AddStyle
GBool AddStyle(const char *pszStyleName, const char *pszStyleString=NULL)
Add a style to the current style table.
Definition: ogrfeaturestyle.cpp:413
OGRFeature::IsFieldNull
bool IsFieldNull(int iField)
Test if a field is null.
Definition: ogrfeature.cpp:1400
OGRwkbGeometryType
OGRwkbGeometryType
Definition: ogr_core.h:312
OGR_FD_Reference
int OGR_FD_Reference(OGRFeatureDefnH)
Increments the reference count by one.
Definition: ogrfeaturedefn.cpp:1052
OGRSTPenCap
@ OGRSTPenCap
Definition: ogr_core.h:804
CPL_UNUSED
#define CPL_UNUSED
Definition: cpl_port.h:1008
OGRStyleMgr::~OGRStyleMgr
~OGRStyleMgr()
Destructor.
Definition: ogrfeaturestyle.cpp:173
OGRStyleTool::GetParamDbl
double GetParamDbl(const OGRStyleParamId &sStyleParam, OGRStyleValue &sStyleValue, GBool &bValueIsNull)
Definition: ogrfeaturestyle.cpp:2103
OGR_F_GetStyleString
const char * OGR_F_GetStyleString(OGRFeatureH)
Fetch style string for this feature.
Definition: ogrfeature.cpp:5936
OGR_F_SetFID
OGRErr OGR_F_SetFID(OGRFeatureH, GIntBig)
Set the feature identifier.
Definition: ogrfeature.cpp:5242
OGRStyleMgr::SetFeatureStyleString
GBool SetFeatureStyleString(OGRFeature *, const char *pszStyleString=NULL, GBool bNoMatching=FALSE)
Set a style in a feature.
Definition: ogrfeaturestyle.cpp:215
OGRSTCPen
@ OGRSTCPen
Definition: ogr_core.h:774
OGRFeature::GetRawFieldRef
OGRField * GetRawFieldRef(int i)
Fetch a pointer to the internal field value given the index.
Definition: ogr_feature.h:343
OGRFeatureDefn::Reference
int Reference()
Increments the reference count by one.
Definition: ogr_feature.h:251
OGR_Fld_SetJustify
void OGR_Fld_SetJustify(OGRFieldDefnH, OGRJustification)
Set the justification for this field.
Definition: ogrfielddefn.cpp:839
OGR_ST_SetParamDbl
void OGR_ST_SetParamDbl(OGRStyleToolH hST, int eParam, double dfValue)
Set Style Tool parameter value from a double.
Definition: ogrfeaturestyle.cpp:2526
OGRStyleTable::RemoveStyle
GBool RemoveStyle(const char *pszName)
Remove a style in the table by its name.
Definition: ogrfeaturestyle.cpp:945
OGR_F_SetFieldStringList
void OGR_F_SetFieldStringList(OGRFeatureH, int, char **)
Set field to list of strings value.
Definition: ogrfeature.cpp:4489
OGRGeometryTypeToName
const char * OGRGeometryTypeToName(OGRwkbGeometryType eType)
Fetch a human readable name corresponding to an OGRwkbGeometryType value. The returned value should n...
Definition: ogrgeometry.cpp:2391
OFTDate
@ OFTDate
Definition: ogr_core.h:595
OGR_F_SetFieldDoubleList
void OGR_F_SetFieldDoubleList(OGRFeatureH, int, int, double *)
Set field to list of doubles value.
Definition: ogrfeature.cpp:4345
OGRFeature
Definition: ogr_feature.h:279
cpl_port.h
OGRStyleTable::ModifyStyle
GBool ModifyStyle(const char *pszName, const char *pszStyleString)
Modify a style in the table by its name If the style does not exist, it will be added.
Definition: ogrfeaturestyle.cpp:973
OGRStyleTable::Clone
OGRStyleTable * Clone()
Duplicate style table.
Definition: ogrfeaturestyle.cpp:1209
OGR_F_SetFieldDateTimeEx
void OGR_F_SetFieldDateTimeEx(OGRFeatureH, int, int, int, int, int, int, float, int)
Set field to datetime.
Definition: ogrfeature.cpp:4747
OGR_STBL_Create
OGRStyleTableH OGR_STBL_Create(void) CPL_WARN_UNUSED_RESULT
OGRStyleTable factory.
Definition: ogrfeaturestyle.cpp:786
OGRGeomFieldDefn::GetType
OGRwkbGeometryType GetType() const
Fetch geometry type of this field.
Definition: ogr_feature.h:164
OGRFeature::OGRFeature
OGRFeature(OGRFeatureDefn *)
Constructor.
Definition: ogrfeature.cpp:77
OGRSTPenPerOffset
@ OGRSTPenPerOffset
Definition: ogr_core.h:803
OGR_F_GetFieldAsDoubleList
const double * OGR_F_GetFieldAsDoubleList(OGRFeatureH, int, int *)
Fetch field value as a list of doubles.
Definition: ogrfeature.cpp:2697
OGRStyleMgr::OGRStyleMgr
OGRStyleMgr(OGRStyleTable *poDataSetStyleTable=NULL)
Constructor.
Definition: ogrfeaturestyle.cpp:137
OGR_F_SetNativeData
void OGR_F_SetNativeData(OGRFeatureH, const char *)
Sets the native data for the feature.
Definition: ogrfeature.cpp:6637
OGRFeature::GetNativeMediaType
const char * GetNativeMediaType() const
Returns the native media type for the feature.
Definition: ogr_feature.h:468
OGRFieldSubType
OGRFieldSubType
Definition: ogr_core.h:612
OGR_ST_SetParamNum
void OGR_ST_SetParamNum(OGRStyleToolH hST, int eParam, int nValue)
Set Style Tool parameter value from an integer.
Definition: ogrfeaturestyle.cpp:2483
ogr_api.h
OGRFeature::SetGeomField
OGRErr SetGeomField(int iField, const OGRGeometry *)
Set feature geometry of a specified geometry field.
Definition: ogrfeature.cpp:805
OGRPoint::getZ
double getZ() const
Fetch Z coordinate.
Definition: ogr_geometry.h:366
OGRStyleMgr::InitStyleString
GBool InitStyleString(const char *pszStyleString=NULL)
Initialize style manager from the style string.
Definition: ogrfeaturestyle.cpp:306
OGRCurvePolygon::addRing
virtual OGRErr addRing(OGRCurve *)
Add a ring to a polygon.
Definition: ogrcurvepolygon.cpp:338
OGRSTBrushPriority
@ OGRSTBrushPriority
Definition: ogr_core.h:824
OGRFeature::GetFieldAsIntegerList
const int * GetFieldAsIntegerList(int i, int *pnCount)
Fetch field value as a list of integers.
Definition: ogrfeature.cpp:2487
OFTRealList
@ OFTRealList
Definition: ogr_core.h:589
OGR_F_IsFieldSetAndNotNull
int OGR_F_IsFieldSetAndNotNull(OGRFeatureH, int)
Test if a field is set and not null.
Definition: ogrfeature.cpp:1496
OGR_Fld_IsIgnored
int OGR_Fld_IsIgnored(OGRFieldDefnH hDefn)
Return whether this field should be omitted when fetching features.
Definition: ogrfielddefn.cpp:1068
OGR_ST_GetType
OGRSTClassId OGR_ST_GetType(OGRStyleToolH hST)
Determine type of Style Tool.
Definition: ogrfeaturestyle.cpp:1639
OGRPoint::getY
double getY() const
Fetch Y coordinate.
Definition: ogr_geometry.h:364
OGRFeatureDefn::SetGeometryIgnored
virtual void SetGeometryIgnored(int bIgnore)
Set whether the geometry can be omitted when fetching features.
Definition: ogrfeaturedefn.cpp:1253
OGRFieldDefn::GetFieldTypeName
static const char * GetFieldTypeName(OGRFieldType)
Fetch human readable name for a field type.
Definition: ogrfielddefn.cpp:624
OGR_Fld_IsDefaultDriverSpecific
int OGR_Fld_IsDefaultDriverSpecific(OGRFieldDefnH hDefn)
Returns whether the default value is driver specific.
Definition: ogrfielddefn.cpp:604
wkbGeometryCollection
@ wkbGeometryCollection
Definition: ogr_core.h:325
OGRFieldDefn::IsNullable
int IsNullable() const
Return whether this field can receive null values.
Definition: ogr_feature.h:114
OGRFieldType
OGRFieldType
Definition: ogr_core.h:584
CPLErr
CPLErr
Definition: cpl_error.h:52
OGRFeature::GetFieldAsDoubleList
const double * GetFieldAsDoubleList(int i, int *pnCount)
Fetch field value as a list of doubles.
Definition: ogrfeature.cpp:2656
CSLRemoveStrings
char ** CSLRemoveStrings(char **papszStrList, int nFirstLineToDelete, int nNumToRemove, char ***ppapszRetStrings)
Definition: cpl_string.cpp:586
OGRSTPenJoin
@ OGRSTPenJoin
Definition: ogr_core.h:805
OGRFeatureDefn::GetGeomType
virtual OGRwkbGeometryType GetGeomType()
Fetch the geometry base type.
Definition: ogrfeaturedefn.cpp:910
OGRStyleTool::GetUnit
OGRSTUnitId GetUnit()
Get Style Tool units.
Definition: ogr_featurestyle.h:213
OGRFeatureDefn::Clone
virtual OGRFeatureDefn * Clone()
Create a copy of this feature definition.
Definition: ogrfeaturedefn.cpp:201
OGR_FD_GetFieldDefn
OGRFieldDefnH OGR_FD_GetFieldDefn(OGRFeatureDefnH, int)
Fetch field definition of the passed feature definition.
Definition: ogrfeaturedefn.cpp:350
OGR_F_VAL_ALLOW_DIFFERENT_GEOM_DIM
#define OGR_F_VAL_ALLOW_DIFFERENT_GEOM_DIM
Definition: ogr_core.h:566
OGRFeatureDefn::AddGeomFieldDefn
virtual void AddGeomFieldDefn(OGRGeomFieldDefn *, int bCopy=TRUE)
Add a new geometry field definition.
Definition: ogrfeaturedefn.cpp:708
OGRFeature::GetFieldAsDouble
double GetFieldAsDouble(int i)
Fetch field value as a double.
Definition: ogrfeature.cpp:1918
OGRStyleTable::LoadStyleTable
GBool LoadStyleTable(const char *pszFilename)
Load a style table from a file.
Definition: ogrfeaturestyle.cpp:1049
GBool
int GBool
Definition: cpl_port.h:215
OGRStyleTable::ResetStyleStringReading
void ResetStyleStringReading()
Definition: ogrfeaturestyle.cpp:1224
OGR_Fld_IsNullable
int OGR_Fld_IsNullable(OGRFieldDefnH hDefn)
Return whether this field can receive null values.
Definition: ogrfielddefn.cpp:1170
OGR_FD_SetGeometryIgnored
void OGR_FD_SetGeometryIgnored(OGRFeatureDefnH, int)
Set whether the geometry can be omitted when fetching features.
Definition: ogrfeaturedefn.cpp:1280
OGRSTSymbolColor
@ OGRSTSymbolColor
Definition: ogr_core.h:838
CSLAddString
char ** CSLAddString(char **papszStrList, const char *pszNewString)
Definition: cpl_string.cpp:83
OGR_F_GetGeomFieldIndex
int OGR_F_GetGeomFieldIndex(OGRFeatureH hFeat, const char *pszName)
Fetch the geometry field index given geometry field name.
Definition: ogrfeature.cpp:1223
OGRFieldDefn::IsDefaultDriverSpecific
int IsDefaultDriverSpecific() const
Returns whether the default value is driver specific.
Definition: ogrfielddefn.cpp:562
OGRFieldDefn::SetWidth
void SetWidth(int nWidthIn)
Set the formatting width for this field in characters.
Definition: ogr_feature.h:98
OFTInteger64
@ OFTInteger64
Definition: ogr_core.h:598
OGRLinearRing
Definition: ogr_geometry.h:684
OGRStyleTable::GetNextStyle
const char * GetNextStyle()
Get the next style string from the table.
Definition: ogrfeaturestyle.cpp:1261
OGR_FD_GetGeomType
OGRwkbGeometryType OGR_FD_GetGeomType(OGRFeatureDefnH)
Fetch the geometry base type of the passed feature definition.
Definition: ogrfeaturedefn.cpp:938
OGRSTUPoints
@ OGRSTUPoints
Definition: ogr_core.h:788
OGRERR_NONE
#define OGRERR_NONE
Definition: ogr_core.h:287
CPLStrdup
char * CPLStrdup(const char *)
Definition: cpl_conv.cpp:284
OGRFeatureDefn::DestroyFeatureDefn
static void DestroyFeatureDefn(OGRFeatureDefn *)
Definition: ogrfeaturedefn.cpp:1374
CPLAtof
double CPLAtof(const char *)
Definition: cpl_strtod.cpp:117
OGRFeatureDefn
Definition: ogr_feature.h:207
OGRSTLabelAdjVert
@ OGRSTLabelAdjVert
Definition: ogr_core.h:876
OGRFieldDefn::GetFieldSubTypeName
static const char * GetFieldSubTypeName(OGRFieldSubType)
Fetch human readable name for a field subtype.
Definition: ogrfielddefn.cpp:706
OGR_F_IsFieldNull
int OGR_F_IsFieldNull(OGRFeatureH, int)
Test if a field is null.
Definition: ogrfeature.cpp:1432
OGR_STBL_Destroy
void OGR_STBL_Destroy(OGRStyleTableH hSTBL)
Destroy Style Table.
Definition: ogrfeaturestyle.cpp:827
OGR_F_SetFieldInteger64List
void OGR_F_SetFieldInteger64List(OGRFeatureH, int, int, const GIntBig *)
Set field to list of 64 bit integers value.
Definition: ogrfeature.cpp:4214
OGRSTSymbolOColor
@ OGRSTSymbolOColor
Definition: ogr_core.h:847
OGRGetNonLinearGeometriesEnabledFlag
int OGRGetNonLinearGeometriesEnabledFlag(void)
Get flag to enable/disable returning non-linear geometries in the C API.
Definition: ogr_api.cpp:1925
OGR_ST_GetParamNum
int OGR_ST_GetParamNum(OGRStyleToolH hST, int eParam, int *bValueIsNull)
Get Style Tool parameter value as an integer.
Definition: ogrfeaturestyle.cpp:2337
OGR_F_SetGeometry
OGRErr OGR_F_SetGeometry(OGRFeatureH, OGRGeometryH)
Set feature geometry.
Definition: ogrfeature.cpp:459
CPLBinaryToHex
char * CPLBinaryToHex(int nBytes, const GByte *pabyData)
Definition: cpl_string.cpp:2444
OGRStyleTool::SetParamNum
void SetParamNum(const OGRStyleParamId &sStyleParam, OGRStyleValue &sStyleValue, int nParam)
Definition: ogrfeaturestyle.cpp:2199
OGRSTLabelDx
@ OGRSTLabelDx
Definition: ogr_core.h:866
OGRStyleTable::Find
const char * Find(const char *pszStyleString)
Get a style string by name.
Definition: ogrfeaturestyle.cpp:1101
OGR_ST_GetParamDbl
double OGR_ST_GetParamDbl(OGRStyleToolH hST, int eParam, int *bValueIsNull)
Get Style Tool parameter value as a double.
Definition: ogrfeaturestyle.cpp:2389
wkbLineString
@ wkbLineString
Definition: ogr_core.h:317
OGR_Fld_GetJustify
OGRJustification OGR_Fld_GetJustify(OGRFieldDefnH)
Get the justification for this field.
Definition: ogrfielddefn.cpp:803
OGRStyleToolH
void * OGRStyleToolH
Definition: ogr_api.h:647
OGRGeometry::dumpReadable
virtual void dumpReadable(FILE *, const char *=NULL, char **papszOptions=NULL) const
Dump geometry in well known text format to indicated output file.
Definition: ogrgeometry.cpp:172
OGR_FD_IsGeometryIgnored
int OGR_FD_IsGeometryIgnored(OGRFeatureDefnH)
Determine whether the geometry can be omitted when fetching features.
Definition: ogrfeaturedefn.cpp:1232
OGRFeature::DestroyFeature
static void DestroyFeature(OGRFeature *)
Destroy feature.
Definition: ogrfeature.cpp:280
OGRSTPenId
@ OGRSTPenId
Definition: ogr_core.h:802
OGRFeature::GetGeomFieldRef
OGRGeometry * GetGeomFieldRef(int iField)
Fetch pointer to feature geometry.
Definition: ogrfeature.cpp:630
OGRPolygon
Definition: ogr_geometry.h:1162
OGRPoint::getGeometryType
virtual OGRwkbGeometryType getGeometryType() const CPL_OVERRIDE
Fetch geometry type.
Definition: ogrpoint.cpp:222
OGR_FD_GetName
const char * OGR_FD_GetName(OGRFeatureDefnH)
Get name of the OGRFeatureDefn passed as an argument.
Definition: ogrfeaturedefn.cpp:251
wkbMultiLineString
@ wkbMultiLineString
Definition: ogr_core.h:323
OGRGeometry::getEnvelope
virtual void getEnvelope(OGREnvelope *psEnvelope) const =0
Computes and returns the bounding envelope for this geometry in the passed psEnvelope structure.
CSLT_ALLOWEMPTYTOKENS
#define CSLT_ALLOWEMPTYTOKENS
Definition: cpl_string.h:89
OGRStyleTable::SaveStyleTable
GBool SaveStyleTable(const char *pszFilename)
Save a style table to a file.
Definition: ogrfeaturestyle.cpp:998
OGRFeature::GetFieldAsString
const char * GetFieldAsString(int i)
Fetch field value as a string.
Definition: ogrfeature.cpp:2090
OFTReal
@ OFTReal
Definition: ogr_core.h:588
OGRSTSymbolPerp
@ OGRSTSymbolPerp
Definition: ogr_core.h:843
ogr_core.h
OGRFeatureDefn::DeleteGeomFieldDefn
virtual OGRErr DeleteGeomFieldDefn(int iGeomField)
Delete an existing geometry field definition.
Definition: ogrfeaturedefn.cpp:773
OGRFieldDefn::GetSubType
OGRFieldSubType GetSubType() const
Fetch subtype of this field.
Definition: ogr_feature.h:89
OGRSTBrushAngle
@ OGRSTBrushAngle
Definition: ogr_core.h:820
OGRStyleTable::IsExist
GBool IsExist(const char *pszName)
Get the index of a style in the table by its name.
Definition: ogrfeaturestyle.cpp:1177
OGR_FD_Create
OGRFeatureDefnH OGR_FD_Create(const char *) CPL_WARN_UNUSED_RESULT
Create a new feature definition object to hold the field definitions.
Definition: ogrfeaturedefn.cpp:94
OGR_SM_GetPartCount
int OGR_SM_GetPartCount(OGRStyleMgrH hSM, const char *pszStyleString)
Get the number of parts in a style.
Definition: ogrfeaturestyle.cpp:632
OGRStyleMgrH
void * OGRStyleMgrH
Definition: ogr_api.h:645
OGRSTPenPattern
@ OGRSTPenPattern
Definition: ogr_core.h:801
OGRNullFID
#define OGRNullFID
Definition: ogr_core.h:636
CSLT_STRIPENDSPACES
#define CSLT_STRIPENDSPACES
Definition: cpl_string.h:97
OGRStyleTable::GetStyleName
const char * GetStyleName(const char *pszName)
Get style name by style string.
Definition: ogrfeaturestyle.cpp:847
CPLFree
#define CPLFree
Definition: cpl_conv.h:81
wkbUnknown
@ wkbUnknown
Definition: ogr_core.h:314
OGR_FD_IsStyleIgnored
int OGR_FD_IsStyleIgnored(OGRFeatureDefnH)
Determine whether the style can be omitted when fetching features.
Definition: ogrfeaturedefn.cpp:1314
OGR_F_GetFieldIndex
int OGR_F_GetFieldIndex(OGRFeatureH, const char *)
Fetch the field index given field name.
Definition: ogrfeature.cpp:1084
CSLT_STRIPLEADSPACES
#define CSLT_STRIPLEADSPACES
Definition: cpl_string.h:95
OGRSTLabelSize
@ OGRSTLabelSize
Definition: ogr_core.h:859
OGR_Fld_SetName
void OGR_Fld_SetName(OGRFieldDefnH, const char *)
Reset the name of this field.
Definition: ogrfielddefn.cpp:179
OGRSTLabelBold
@ OGRSTLabelBold
Definition: ogr_core.h:869
OGR_FD_DeleteFieldDefn
OGRErr OGR_FD_DeleteFieldDefn(OGRFeatureDefnH hDefn, int iField)
Delete an existing field definition.
Definition: ogrfeaturedefn.cpp:485
OGRFeature::GetNativeData
const char * GetNativeData() const
Returns the native data for the feature.
Definition: ogr_feature.h:467
OGR_Fld_Create
OGRFieldDefnH OGR_Fld_Create(const char *, OGRFieldType) CPL_WARN_UNUSED_RESULT
Create a new field definition.
Definition: ogrfielddefn.cpp:113
OGRFeature::GetFID
GIntBig GetFID() const
Get feature identifier.
Definition: ogr_feature.h:435
wkbMultiPoint
@ wkbMultiPoint
Definition: ogr_core.h:322
OGRFeature::SetStyleTableDirectly
virtual void SetStyleTableDirectly(OGRStyleTable *poStyleTable)
Definition: ogrfeature.cpp:6063
OGRPoint::getX
double getX() const
Fetch X coordinate.
Definition: ogr_geometry.h:362
CPLStrtod
double CPLStrtod(const char *, char **)
Definition: cpl_strtod.cpp:321
CPLGetConfigOption
const char * CPLGetConfigOption(const char *, const char *)
Definition: cpl_conv.cpp:1625
OGR_F_GetFieldCount
int OGR_F_GetFieldCount(OGRFeatureH)
Fetch number of fields on this feature This will always be the same as the field count for the OGRFea...
Definition: ogrfeature.cpp:992
OGR_ST_GetParamStr
const char * OGR_ST_GetParamStr(OGRStyleToolH hST, int eParam, int *bValueIsNull)
Get Style Tool parameter value as string.
Definition: ogrfeaturestyle.cpp:2284
OGR_F_Create
OGRFeatureH OGR_F_Create(OGRFeatureDefnH) CPL_WARN_UNUSED_RESULT
Feature factory.
Definition: ogrfeature.cpp:127
STARTS_WITH_CI
#define STARTS_WITH_CI(a, b)
Definition: cpl_port.h:633
CPLE_AppDefined
#define CPLE_AppDefined
Definition: cpl_error.h:100
OGR_Fld_SetType
void OGR_Fld_SetType(OGRFieldDefnH, OGRFieldType)
Set the type of this field. This should never be done to an OGRFieldDefn that is already part of an O...
Definition: ogrfielddefn.cpp:303
OGRGeomFieldDefn::IsSame
int IsSame(OGRGeomFieldDefn *)
Test if the geometry field definition is identical to the other one.
Definition: ogrgeomfielddefn.cpp:536

Generated for GDAL by doxygen 1.8.17.