OGR
ogrgeomediageometry.h
1 /******************************************************************************
2  * $Id: ogrgeomediageometry.h 57b6aec245c1a56e51fed67ce205928d67cb0038 2015-11-26 14:14:41Z Even 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:1417
OGRSTSymbolStep
@ OGRSTSymbolStep
Definition: ogr_core.h:872
OGR_F_GetGeomFieldRef
OGRGeometryH OGR_F_GetGeomFieldRef(OGRFeatureH hFeat, int iField)
Fetch an handle to feature geometry.
Definition: ogrfeature.cpp:755
OGRPolygon::getInteriorRing
virtual OGRLinearRing * getInteriorRing(int)
Fetch reference to indicated internal ring.
Definition: ogrpolygon.cpp:215
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:536
OGRNullMarker
#define OGRNullMarker
Definition: ogr_core.h:673
OGRSTLabelStretch
@ OGRSTLabelStretch
Definition: ogr_core.h:904
OGRStyleMgr::GetStyleByName
const char * GetStyleByName(const char *pszStyleName)
find a style in the current style table.
Definition: ogrfeaturestyle.cpp:385
OGRGeometry::IsEmpty
virtual OGRBoolean IsEmpty() const =0
Returns TRUE (non-zero) if the object has no points.
OGRGeometry::toMultiPolygon
OGRMultiPolygon * toMultiPolygon()
Definition: ogr_geometry.h:720
OGRCurvePolygon::addRingDirectly
virtual OGRErr addRingDirectly(OGRCurve *)
Add a ring to a polygon.
Definition: ogrcurvepolygon.cpp:419
OGRFeature::FieldValue::operator=
FieldValue & operator=(const FieldValue &oOther)
Definition: ogrfeature.cpp:7118
OGRGeometryCollection::addGeometryDirectly
virtual OGRErr addGeometryDirectly(OGRGeometry *)
Add a geometry directly to the container.
Definition: ogrgeometrycollection.cpp:374
OGRFeatureDefn::FromHandle
static OGRFeatureDefn * FromHandle(OGRFeatureDefnH hFeatureDefn)
Definition: ogr_feature.h:339
ogr_spatialref.h
OGRSimpleCurve::getX
double getX(int i) const
Get X at vertex.
Definition: ogr_geometry.h:1161
OGR_F_SetFieldString
void OGR_F_SetFieldString(OGRFeatureH, int, const char *)
Set field to string value.
Definition: ogrfeature.cpp:4131
OGRFeature::FillUnsetWithDefault
void FillUnsetWithDefault(int bNotNullableOnly, char **papszOptions)
Fill unset fields with default values that might be defined.
Definition: ogrfeature.cpp:6448
OGRStyleTool::SetParamDbl
void SetParamDbl(const OGRStyleParamId &sStyleParam, OGRStyleValue &sStyleValue, double dfParam)
Definition: ogrfeaturestyle.cpp:2244
OGR_Fld_GetType
OGRFieldType OGR_Fld_GetType(OGRFieldDefnH)
Fetch type of this field.
Definition: ogrfielddefn.cpp:251
OGRStyleMgr::SetFeatureStyleString
GBool SetFeatureStyleString(OGRFeature *, const char *pszStyleString=nullptr, GBool bNoMatching=FALSE)
Set a style in a feature.
Definition: ogrfeaturestyle.cpp:214
CSLTokenizeString2
char ** CSLTokenizeString2(const char *pszString, const char *pszDelimiter, int nCSLTFlags)
Definition: cpl_string.cpp:836
OGRLineString
Definition: ogr_geometry.h:1242
OGR_FD_SetStyleIgnored
void OGR_FD_SetStyleIgnored(OGRFeatureDefnH, int)
Set whether the style can be omitted when fetching features.
Definition: ogrfeaturedefn.cpp:1453
OGRFeatureDefn::IsStyleIgnored
virtual int IsStyleIgnored() const
Determine whether the style can be omitted when fetching features.
Definition: ogr_feature.h:314
OGRSimpleCurve::setNumPoints
void setNumPoints(int nNewPointCount, int bZeroizeNewContent=TRUE)
Set number of points in geometry.
Definition: ogrlinestring.cpp:435
OGR_G_Area
double OGR_G_Area(OGRGeometryH)
Compute geometry area.
Definition: ogr_api.cpp:1607
OGRSTBrushSize
@ OGRSTBrushSize
Definition: ogr_core.h:851
OGRMultiPolygon
Definition: ogr_geometry.h:2312
OGRStyleTool
Definition: ogr_featurestyle.h:165
GByte
unsigned char GByte
Definition: cpl_port.h:215
OGRSTLabelStrikeout
@ OGRSTLabelStrikeout
Definition: ogr_core.h:903
OFSTFloat32
@ OFSTFloat32
Definition: ogr_core.h:630
OGR_F_DumpReadable
void OGR_F_DumpReadable(OGRFeatureH, FILE *)
Dump this feature in a human readable form.
Definition: ogrfeature.cpp:5375
OGRStyleTool::SetStyleString
void SetStyleString(const char *pszStyleString)
Definition: ogrfeaturestyle.cpp:1417
OGRSpatialReference::SetNode
OGRErr SetNode(const char *, const char *)
Set attribute value in spatial reference.
Definition: ogrspatialreference.cpp:1836
OGR_SM_Create
OGRStyleMgrH OGR_SM_Create(OGRStyleTableH hStyleTable) CPL_WARN_UNUSED_RESULT
OGRStyleMgr factory.
Definition: ogrfeaturestyle.cpp:156
OGRFeature::SetFID
virtual OGRErr SetFID(GIntBig nFIDIn)
Set the feature identifier.
Definition: ogrfeature.cpp:5440
OGRSTUInches
@ OGRSTUInches
Definition: ogr_core.h:821
OGRFeature::FieldNotFoundException
Definition: ogr_feature.h:566
OGR_F_SetGeomField
OGRErr OGR_F_SetGeomField(OGRFeatureH hFeat, int iField, OGRGeometryH hGeom)
Set feature geometry of a specified geometry field.
Definition: ogrfeature.cpp:923
OGRStyleTool::GetParamStr
const char * GetParamStr(const OGRStyleParamId &sStyleParam, OGRStyleValue &sStyleValue, GBool &bValueIsNull)
Definition: ogrfeaturestyle.cpp:2029
OGRFeatureDefn::ComputeMapForSetFrom
std::vector< int > ComputeMapForSetFrom(const OGRFeatureDefn *poSrcFDefn, bool bForgiving=true) const
Compute the map from source to target field that can be passed to SetFrom().
Definition: ogrfeaturedefn.cpp:1572
OGRFeature::StealGeometry
OGRGeometry * StealGeometry() CPL_WARN_UNUSED_RESULT
Take away ownership of geometry.
Definition: ogrfeature.cpp:498
GInt16
short GInt16
Definition: cpl_port.h:211
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:920
OGRFeature::FieldValue::GetAsDouble
double GetAsDouble() const
Definition: ogrfeature.cpp:7317
OGR_RawField_IsNull
int OGR_RawField_IsNull(const OGRField *)
Returns whether a raw field is null.
Definition: ogrfeature.cpp:6963
OGRFeature::FieldValue::GetAsInteger64
GIntBig GetAsInteger64() const
Definition: ogrfeature.cpp:7311
OGR_F_VAL_ALLOW_NULL_WHEN_DEFAULT
#define OGR_F_VAL_ALLOW_NULL_WHEN_DEFAULT
Definition: ogr_core.h:568
VALIDATE_POINTER0
#define VALIDATE_POINTER0(ptr, func)
Definition: cpl_error.h:267
OGRSTLabelPerp
@ OGRSTLabelPerp
Definition: ogr_core.h:898
OGRSTUCM
@ OGRSTUCM
Definition: ogr_core.h:820
OFSTInt16
@ OFSTInt16
Definition: ogr_core.h:628
OGRFeature::ConstFieldIterator
Definition: ogr_feature.h:524
OGR_Fld_SetWidth
void OGR_Fld_SetWidth(OGRFieldDefnH, int)
Set the formatting width for this field in characters.
Definition: ogrfielddefn.cpp:908
OGRFeature::GetStyleTable
virtual OGRStyleTable * GetStyleTable() const
Definition: ogr_feature.h:741
OGRFeatureDefn::SetGeomType
virtual void SetGeomType(OGRwkbGeometryType)
Assign the base geometry type for this layer.
Definition: ogrfeaturedefn.cpp:1048
cpl_error.h
OGRFieldDefn::SetJustify
void SetJustify(OGRJustification eJustifyIn)
Set the justification for this field.
Definition: ogr_feature.h:124
OGRFieldDefn::IsSame
int IsSame(const OGRFieldDefn *) const
Test if the field definition is identical to the other one.
Definition: ogrfielddefn.cpp:1121
OGRLineString::getGeometryType
virtual OGRwkbGeometryType getGeometryType() const override
Fetch geometry type.
Definition: ogrlinestring.cpp:2782
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:3237
OGRFeature::SetGeometry
OGRErr SetGeometry(const OGRGeometry *)
Set feature geometry.
Definition: ogrfeature.cpp:437
OGRFeatureDefn::Release
void Release()
Drop a reference to this object, and destroy if no longer referenced.
Definition: ogrfeaturedefn.cpp:162
OGRSimpleCurve::getNumPoints
virtual int getNumPoints() const override
Fetch vertex count.
Definition: ogr_geometry.h:1159
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:6890
OGRFeatureDefn::AddFieldDefn
virtual void AddFieldDefn(OGRFieldDefn *)
Add a new field definition.
Definition: ogrfeaturedefn.cpp:433
OGRFeature::SetGeometryDirectly
OGRErr SetGeometryDirectly(OGRGeometry *)
Set feature geometry.
Definition: ogrfeature.cpp:364
OGR_F_SetNativeMediaType
void OGR_F_SetNativeMediaType(OGRFeatureH, const char *)
Sets the native media type for the feature.
Definition: ogrfeature.cpp:6919
OGRSpatialReference::SetWellKnownGeogCS
OGRErr SetWellKnownGeogCS(const char *)
Set a GeogCS based on well known name.
Definition: ogrspatialreference.cpp:2953
OFTBinary
@ OFTBinary
Definition: ogr_core.h:604
OGRSTSymbolPriority
@ OGRSTSymbolPriority
Definition: ogr_core.h:875
OGR_F_GetFieldAsInteger64
GIntBig OGR_F_GetFieldAsInteger64(OGRFeatureH, int)
Fetch field value as integer 64 bit.
Definition: ogrfeature.cpp:2077
wkbPoint
@ wkbPoint
Definition: ogr_core.h:321
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:888
CSLLoad
char ** CSLLoad(const char *pszFname)
Definition: cpl_string.cpp:397
OGRSTLabelBColor
@ OGRSTLabelBColor
Definition: ogr_core.h:893
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:626
CSLT_PRESERVEESCAPES
#define CSLT_PRESERVEESCAPES
Definition: cpl_string.h:89
OGRSTLabelFColor
@ OGRSTLabelFColor
Definition: ogr_core.h:892
OGRStyleMgr::AddPart
GBool AddPart(OGRStyleTool *)
Add a part (style tool) to the current style.
Definition: ogrfeaturestyle.cpp:526
CPLString::Printf
CPLSTRING_METHOD_DLL CPLString & Printf(const char *pszFormat,...)
Definition: cplstring.cpp:59
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:1542
OGRFeature::FieldValue::SetNull
void SetNull()
Definition: ogrfeature.cpp:7265
OGRGeomFieldDefn::SetIgnored
void SetIgnored(int bIgnoreIn)
Set whether this field should be omitted when fetching features.
Definition: ogr_feature.h:212
OGR_SM_AddPart
int OGR_SM_AddPart(OGRStyleMgrH hSM, OGRStyleToolH hST)
Add a part (style tool) to the current style.
Definition: ogrfeaturestyle.cpp:565
OGRStyleTable
Definition: ogr_featurestyle.h:84
OGR_GT_IsSubClassOf
int OGR_GT_IsSubClassOf(OGRwkbGeometryType eType, OGRwkbGeometryType eSuperType)
Returns if a type is a subclass of another one.
Definition: ogrgeometry.cpp:6500
OGR_F_SetFieldNull
void OGR_F_SetFieldNull(OGRFeatureH, int)
Clear a field, marking it as null.
Definition: ogrfeature.cpp:1698
OGRGeomFieldDefn::IsSame
int IsSame(const OGRGeomFieldDefn *) const
Test if the geometry field definition is identical to the other one.
Definition: ogrgeomfielddefn.cpp:539
OGRGeometryCollection::getNumGeometries
int getNumGeometries() const
Fetch number of geometries in container.
Definition: ogrgeometrycollection.cpp:251
wkbMultiPolygon
@ wkbMultiPolygon
Definition: ogr_core.h:329
CSLT_PRESERVEQUOTES
#define CSLT_PRESERVEQUOTES
Definition: cpl_string.h:87
OGRFeature::operator[]
const FieldValue operator[](int iField) const
Return a field value.
Definition: ogrfeature.cpp:1719
CPLStringList
String list class designed around our use of C "char**" string lists.
Definition: cpl_string.h:438
CPLCalloc
void * CPLCalloc(size_t, size_t)
Definition: cpl_conv.cpp:138
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:1005
OGR_F_Equal
int OGR_F_Equal(OGRFeatureH, OGRFeatureH)
Test if two features are the same.
Definition: ogrfeature.cpp:5702
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
OGRFieldDefn::SetIgnored
void SetIgnored(int bIgnoreIn)
Set whether this field should be omitted when fetching features.
Definition: ogr_feature.h:142
OGRFeature::ToHandle
static OGRFeatureH ToHandle(OGRFeature *poFeature)
Definition: ogr_feature.h:757
OGRGeometry::FromHandle
static OGRGeometry * FromHandle(OGRGeometryH hGeom)
Definition: ogr_geometry.h:517
OGR_STBL_ResetStyleStringReading
void OGR_STBL_ResetStyleStringReading(OGRStyleTableH hStyleTable)
Reset the next style pointer to 0.
Definition: ogrfeaturestyle.cpp:1243
OGRFeatureDefn::GetGeomFieldIndex
virtual int GetGeomFieldIndex(const char *) const
Find geometry field by name.
Definition: ogrfeaturedefn.cpp:916
OGRSTClassId
enum ogr_style_tool_class_id OGRSTClassId
OGRGeometryCollection
Definition: ogr_geometry.h:2096
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:628
OGR_F_VAL_WIDTH
#define OGR_F_VAL_WIDTH
Definition: ogr_core.h:559
OGR_GT_IsNonLinear
int OGR_GT_IsNonLinear(OGRwkbGeometryType)
Return if a geometry type is a non-linear geometry type.
Definition: ogrgeometry.cpp:6754
OGR_ST_GetUnit
OGRSTUnitId OGR_ST_GetUnit(OGRStyleToolH hST)
Get Style Tool units.
Definition: ogrfeaturestyle.cpp:1666
OGRFieldDefn::GetWidth
int GetWidth() const
Get the formatting width for this field.
Definition: ogr_feature.h:127
OGR_FD_GetGeomFieldCount
int OGR_FD_GetGeomFieldCount(OGRFeatureDefnH hFDefn)
Fetch number of geometry fields on the passed feature definition.
Definition: ogrfeaturedefn.cpp:652
CSLT_HONOURSTRINGS
#define CSLT_HONOURSTRINGS
Definition: cpl_string.h:83
cpl_vsi.h
CSLFetchNameValueDef
const char * CSLFetchNameValueDef(CSLConstList papszStrList, const char *pszName, const char *pszDefault)
Definition: cpl_string.cpp:1646
OGRSpatialReference
Definition: ogr_spatialref.h:156
OGRSTLabelItalic
@ OGRSTLabelItalic
Definition: ogr_core.h:900
OGRStyleTool::SetParamStr
void SetParamStr(const OGRStyleParamId &sStyleParam, OGRStyleValue &sStyleValue, const char *pszParamString)
Definition: ogrfeaturestyle.cpp:2161
OGRGeometryCollection::getGeometryRef
OGRGeometry * getGeometryRef(int)
Fetch geometry from container.
Definition: ogrgeometrycollection.cpp:276
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:6669
OGRSpatialReference::SetACEA
OGRErr SetACEA(double dfStdP1, double dfStdP2, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5265
OGR_Fld_SetIgnored
void OGR_Fld_SetIgnored(OGRFieldDefnH hDefn, int)
Set whether this field should be omitted when fetching features.
Definition: ogrfielddefn.cpp:1105
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:281
CPLsnprintf
int CPLsnprintf(char *str, size_t size, const char *fmt,...)
Definition: cpl_string.cpp:1337
OGR_F_SetFieldBinary
void OGR_F_SetFieldBinary(OGRFeatureH, int, int, const void *)
Set field to binary data.
Definition: ogrfeature.cpp:4799
OGRSTPenWidth
@ OGRSTPenWidth
Definition: ogr_core.h:830
OGRFeature::FieldValue::GetIndex
int GetIndex() const
Definition: ogrfeature.cpp:7280
OGR_F_GetFieldAsInteger64List
const GIntBig * OGR_F_GetFieldAsInteger64List(OGRFeatureH, int, int *)
Fetch field value as a list of 64 bit integers.
Definition: ogrfeature.cpp:2821
OGRSTLabelParam
enum ogr_style_tool_param_label_id OGRSTLabelParam
OGRFeature::GetFieldAsString
const char * GetFieldAsString(int i) const
Fetch field value as a string.
Definition: ogrfeature.cpp:2297
OGR_F_GetFieldAsBinary
GByte * OGR_F_GetFieldAsBinary(OGRFeatureH, int, int *)
Fetch field value as binary.
Definition: ogrfeature.cpp:3062
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:600
CPLAtoGIntBig
GIntBig CPLAtoGIntBig(const char *pszString)
Definition: cpl_conv.cpp:998
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:3193
OFTDateTime
@ OFTDateTime
Definition: ogr_core.h:607
OGR_RawField_SetNull
void OGR_RawField_SetNull(OGRField *)
Mark a raw field as null.
Definition: ogrfeature.cpp:7011
OGR_F_GetGeomFieldDefnRef
OGRGeomFieldDefnH OGR_F_GetGeomFieldDefnRef(OGRFeatureH hFeat, int iField)
Fetch definition for this geometry field.
Definition: ogrfeature.cpp:1294
OGRGeometry
Definition: ogr_geometry.h:286
OGR_F_GetFieldAsString
const char * OGR_F_GetFieldAsString(OGRFeatureH, int)
Fetch field value as a string.
Definition: ogrfeature.cpp:2650
OGRMultiPoint
Definition: ogr_geometry.h:2591
OGRLayer::GetFIDColumn
virtual const char * GetFIDColumn()
This method returns the name of the underlying database column being used as the FID column,...
Definition: ogrlayer.cpp:1597
OGRFeature::Validate
int Validate(int nValidateFlags, int bEmitError) const
Validate that a feature meets constraints of its schema.
Definition: ogrfeature.cpp:6563
OGRFeatureDefn::GetName
virtual const char * GetName() const
Get name of this OGRFeatureDefn.
Definition: ogrfeaturedefn.cpp:249
OGR_F_GetFieldAsInteger
int OGR_F_GetFieldAsInteger(OGRFeatureH, int)
Fetch field value as integer.
Definition: ogrfeature.cpp:1956
OGRFeature::FieldValue::SetDateTime
void SetDateTime(int nYear, int nMonth, int nDay, int nHour=0, int nMinute=0, float fSecond=0.f, int nTZFlag=0)
Definition: ogrfeature.cpp:7255
OGRGeometry::getGeometryName
virtual const char * getGeometryName() const =0
Fetch WKT name for geometry type.
OGR_G_ExportToJson
char * OGR_G_ExportToJson(OGRGeometryH) CPL_WARN_UNUSED_RESULT
Convert a geometry into GeoJSON format.
Definition: ogrgeojsonwriter.cpp:1412
ograpispy.h
CSLCount
int CSLCount(CSLConstList papszStrList)
Definition: cpl_string.cpp:147
OGRSTLabelTextString
@ OGRSTLabelTextString
Definition: ogr_core.h:890
OGRStyleMgr::InitFromFeature
const char * InitFromFeature(OGRFeature *)
Initialize style manager from the style string of a feature.
Definition: ogrfeaturestyle.cpp:251
OGRFeature::GetGeomFieldDefnRef
OGRGeomFieldDefn * GetGeomFieldDefnRef(int iField)
Fetch definition for this geometry field.
Definition: ogr_feature.h:582
OGRLayer
Definition: ogrsf_frmts.h:70
OGR_F_SetGeometryDirectly
OGRErr OGR_F_SetGeometryDirectly(OGRFeatureH, OGRGeometryH)
Set feature geometry.
Definition: ogrfeature.cpp:401
OGR_F_SetFromWithMap
OGRErr OGR_F_SetFromWithMap(OGRFeatureH, OGRFeatureH, int, const int *)
Set one feature from another.
Definition: ogrfeature.cpp:5918
OGRFeature::FieldValue::GetAsStringList
const std::vector< std::string > & GetAsStringList() const
Definition: ogrfeature.cpp:7367
CPLString
Convenient string class based on std::string.
Definition: cpl_string.h:329
OGRFeatureDefn::ReorderFieldDefns
virtual OGRErr ReorderFieldDefns(int *panMap)
Reorder the field definitions in the array of the feature definition.
Definition: ogrfeaturedefn.cpp:563
OGRGeomFieldDefn::ToHandle
static OGRGeomFieldDefnH ToHandle(OGRGeomFieldDefn *poGeomFieldDefn)
Definition: ogr_feature.h:223
OGR_F_Clone
OGRFeatureH OGR_F_Clone(OGRFeatureH) CPL_WARN_UNUSED_RESULT
Duplicate feature.
Definition: ogrfeature.cpp:980
OGR_FD_GetReferenceCount
int OGR_FD_GetReferenceCount(OGRFeatureDefnH)
Fetch current reference count.
Definition: ogrfeaturedefn.cpp:1195
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:892
CPL_LSBPTR64
#define CPL_LSBPTR64(x)
Definition: cpl_port.h:838
OGRPoint
Definition: ogr_geometry.h:810
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:2446
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:130
OGR_F_SetGeomFieldDirectly
OGRErr OGR_F_SetGeomFieldDirectly(OGRFeatureH hFeat, int iField, OGRGeometryH hGeom)
Set feature geometry of a specified geometry field.
Definition: ogrfeature.cpp:845
ogr_geometry.h
OGRFeatureDefn::DeleteFieldDefn
virtual OGRErr DeleteFieldDefn(int iField)
Delete an existing field definition.
Definition: ogrfeaturedefn.cpp:492
OGRSimpleCurve::getY
double getY(int i) const
Get Y at vertex.
Definition: ogr_geometry.h:1162
OGRSTLabelPlacement
@ OGRSTLabelPlacement
Definition: ogr_core.h:894
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:319
OGRSTCSymbol
@ OGRSTCSymbol
Definition: ogr_core.h:806
OGR_STBL_GetLastStyleName
const char * OGR_STBL_GetLastStyleName(OGRStyleTableH hStyleTable)
Definition: ogrfeaturestyle.cpp:1334
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:1087
OGR_F_GetFID
GIntBig OGR_F_GetFID(OGRFeatureH)
Get feature identifier.
Definition: ogrfeature.cpp:5413
OGRFeature::SetNativeData
void SetNativeData(const char *pszNativeData)
Sets the native data for the feature.
Definition: ogrfeature.cpp:6834
OGRSTCLabel
@ OGRSTCLabel
Definition: ogr_core.h:807
CPLRealloc
void * CPLRealloc(void *, size_t)
Definition: cpl_conv.cpp:225
OGR_F_SetStyleString
void OGR_F_SetStyleString(OGRFeatureH, const char *)
Set feature style string.
Definition: ogrfeature.cpp:6198
OGRGeomFieldDefn::GetNameRef
const char * GetNameRef() const
Fetch name of this field.
Definition: ogr_feature.h:203
OGRGeomFieldDefn::IsIgnored
int IsIgnored() const
Return whether this field should be omitted when fetching features.
Definition: ogr_feature.h:211
OGRStyleTable::Clear
void Clear()
Clear a style table.
Definition: ogrfeaturestyle.cpp:801
OGRStyleTool::SetUnit
void SetUnit(OGRSTUnitId, double dfScale=1.0)
Set Style Tool units.
Definition: ogrfeaturestyle.cpp:1684
OGR_F_GetFieldAsIntegerList
const int * OGR_F_GetFieldAsIntegerList(OGRFeatureH, int, int *)
Fetch field value as a list of integers.
Definition: ogrfeature.cpp:2735
OGR_F_SetFieldIntegerList
void OGR_F_SetFieldIntegerList(OGRFeatureH, int, int, const int *)
Set field to list of integers value.
Definition: ogrfeature.cpp:4284
OGRFeatureH
void * OGRFeatureH
Definition: ogr_api.h:302
CPL_FRMT_GIB
#define CPL_FRMT_GIB
Definition: cpl_port.h:316
OGR_FD_GetFieldIndex
int OGR_FD_GetFieldIndex(OGRFeatureDefnH, const char *)
Find field by name.
Definition: ogrfeaturedefn.cpp:1280
EQUAL
#define EQUAL(a, b)
Definition: cpl_port.h:569
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:6683
OGRStyleTableH
void * OGRStyleTableH
Definition: ogr_api.h:304
wkbHasZ
#define wkbHasZ(x)
Definition: ogr_core.h:446
OGRFeature::GetGeomFieldIndex
int GetGeomFieldIndex(const char *pszName) const
Fetch the geometry field index given geometry field name.
Definition: ogr_feature.h:586
OGRFeature::SetFieldsFrom
OGRErr SetFieldsFrom(const OGRFeature *, const int *, int=TRUE)
Set fields from another feature.
Definition: ogrfeature.cpp:5962
OGRFieldDefn::GetNameRef
const char * GetNameRef() const
Fetch name of this field.
Definition: ogr_feature.h:113
OGRBoolean
int OGRBoolean
Definition: ogr_core.h:306
OGR_F_SetFrom
OGRErr OGR_F_SetFrom(OGRFeatureH, OGRFeatureH, int)
Set one feature from another.
Definition: ogrfeature.cpp:5777
OGRFeature::FieldValue::Private
Definition: ogrfeature.cpp:7033
OGRFeatureDefnH
void * OGRFeatureDefnH
Definition: ogr_api.h:300
OGR_ST_GetStyleString
const char * OGR_ST_GetStyleString(OGRStyleToolH hST)
Get the style string for this Style Tool.
Definition: ogrfeaturestyle.cpp:2583
OGR_RawField_SetUnset
void OGR_RawField_SetUnset(OGRField *)
Mark a raw field as unset.
Definition: ogrfeature.cpp:6987
OGR_F_VAL_GEOM_TYPE
#define OGR_F_VAL_GEOM_TYPE
Definition: ogr_core.h:553
OGRSTCNone
@ OGRSTCNone
Definition: ogr_core.h:803
OGRFieldDefn::SetPrecision
void SetPrecision(int nPrecisionIn)
Set the formatting precision for this field in characters.
Definition: ogr_feature.h:131
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:330
OGRSTUPixel
@ OGRSTUPixel
Definition: ogr_core.h:817
OGRSTPenPriority
@ OGRSTPenPriority
Definition: ogr_core.h:836
OGRFeature::FieldValue::GetAsIntegerList
const std::vector< int > & GetAsIntegerList() const
Definition: ogrfeature.cpp:7340
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:2631
OGRFeature::FieldValue
Definition: ogr_feature.h:381
OGR_F_GetFieldAsDouble
double OGR_F_GetFieldAsDouble(OGRFeatureH, int)
Fetch field value as a double.
Definition: ogrfeature.cpp:2190
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:333
OGRGeomFieldDefnH
struct OGRGeomFieldDefnHS * OGRGeomFieldDefnH
Definition: ogr_api.h:307
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:6527
OGRFeature::Equal
virtual OGRBoolean Equal(const OGRFeature *poFeature) const
Test if two features are the same.
Definition: ogrfeature.cpp:5494
OGRFeature::begin
ConstFieldIterator begin() const
Definition: ogrfeature.cpp:7091
wkbFlatten
#define wkbFlatten(x)
Definition: ogr_core.h:440
OGRSTSymbolDx
@ OGRSTSymbolDx
Definition: ogr_core.h:870
CSLGetField
const char * CSLGetField(CSLConstList, int)
Definition: cpl_string.cpp:173
OGR_RawField_IsUnset
int OGR_RawField_IsUnset(const OGRField *)
Returns whether a raw field is unset.
Definition: ogrfeature.cpp:6942
OGRGeometryFactory::forceTo
static OGRGeometry * forceTo(OGRGeometry *poGeom, OGRwkbGeometryType eTargetType, const char *const *papszOptions=nullptr)
Convert to another geometry type.
Definition: ogrgeometryfactory.cpp:4250
OGRFeature::SetFrom
OGRErr SetFrom(const OGRFeature *, int=TRUE)
Set one feature from another.
Definition: ogrfeature.cpp:5737
CPLAssert
#define CPLAssert(expr)
Definition: cpl_error.h:186
CPLAtoGIntBigEx
GIntBig CPLAtoGIntBigEx(const char *pszString, int bWarn, int *pbOverflow)
Definition: cpl_conv.cpp:1050
OGRMultiLineString
Definition: ogr_geometry.h:2748
OGRFeature::GetFieldAsInteger64List
const GIntBig * GetFieldAsInteger64List(int i, int *pnCount) const
Fetch field value as a list of 64 bit integers.
Definition: ogrfeature.cpp:2779
OGR_F_GetNativeMediaType
const char * OGR_F_GetNativeMediaType(OGRFeatureH)
Returns the native media type for the feature.
Definition: ogrfeature.cpp:6806
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:3415
OGR_Fld_SetPrecision
void OGR_Fld_SetPrecision(OGRFieldDefnH, int)
Set the formatting precision for this field in characters.
Definition: ogrfielddefn.cpp:980
CPLES_SQL
#define CPLES_SQL
Definition: cpl_string.h:173
OGRStyleTable::GetLastStyleName
const char * GetLastStyleName()
Definition: ogrfeaturestyle.cpp:1314
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:765
OGR_F_SetFieldDouble
void OGR_F_SetFieldDouble(OGRFeatureH, int, double)
Set field to double value.
Definition: ogrfeature.cpp:3816
OGR_F_GetFieldDefnRef
OGRFieldDefnH OGR_F_GetFieldDefnRef(OGRFeatureH, int)
Fetch definition for this field.
Definition: ogrfeature.cpp:1145
OGRSTLabelOColor
@ OGRSTLabelOColor
Definition: ogr_core.h:908
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:556
OGR_ST_SetUnit
void OGR_ST_SetUnit(OGRStyleToolH hST, OGRSTUnitId eUnit, double dfGroundPaperScale)
Set Style Tool units.
Definition: ogrfeaturestyle.cpp:1704
CPLTestBool
bool CPLTestBool(const char *pszValue)
Definition: cpl_string.cpp:1526
OGRStyleTool::GetType
OGRSTClassId GetType()
Determine type of Style Tool.
Definition: ogrfeaturestyle.cpp:1622
OGRField
Definition: ogr_core.h:683
OGR_G_ExportToJsonEx
char * OGR_G_ExportToJsonEx(OGRGeometryH, char **papszOptions) CPL_WARN_UNUSED_RESULT
Convert a geometry into GeoJSON format.
Definition: ogrgeojsonwriter.cpp:1445
OGRFeature::GetDefnRef
OGRFeatureDefn * GetDefnRef()
Fetch feature definition.
Definition: ogr_feature.h:571
OGRFeatureDefn::GetGeomFieldDefn
virtual OGRGeomFieldDefn * GetGeomFieldDefn(int i)
Fetch geometry field definition.
Definition: ogrfeaturedefn.cpp:681
OGRPolygon::getExteriorRing
OGRLinearRing * getExteriorRing()
Fetch reference to external polygon ring.
Definition: ogrpolygon.cpp:145
OGRSTSymbolAngle
@ OGRSTSymbolAngle
Definition: ogr_core.h:867
OGR_STBL_LoadStyleTable
int OGR_STBL_LoadStyleTable(OGRStyleTableH hStyleTable, const char *pszFilename)
Load a style table from a file.
Definition: ogrfeaturestyle.cpp:1075
OGRFeature::FieldValue::GetAsDoubleList
const std::vector< double > & GetAsDoubleList() const
Definition: ogrfeature.cpp:7358
OGR_F_SetFieldStringList
void OGR_F_SetFieldStringList(OGRFeatureH, int, CSLConstList)
Set field to list of strings value.
Definition: ogrfeature.cpp:4714
OGRSTSymbolFontName
@ OGRSTSymbolFontName
Definition: ogr_core.h:876
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:1233
OGR_F_GetNativeData
const char * OGR_F_GetNativeData(OGRFeatureH)
Returns the native data for the feature.
Definition: ogrfeature.cpp:6755
OGRFeature::GetStyleString
virtual const char * GetStyleString() const
Fetch style string for this feature.
Definition: ogrfeature.cpp:6117
OGR_FD_GetGeomFieldIndex
int OGR_FD_GetGeomFieldIndex(OGRFeatureDefnH hFDefn, const char *pszName)
Find geometry field by name.
Definition: ogrfeaturedefn.cpp:949
OGR_Fld_GetWidth
int OGR_Fld_GetWidth(OGRFieldDefnH)
Get the formatting width for this field.
Definition: ogrfielddefn.cpp:876
OGRFeature::GetFieldIndex
int GetFieldIndex(const char *pszName) const
Fetch the field index given field name.
Definition: ogr_feature.h:606
OGR_STBL_GetNextStyle
const char * OGR_STBL_GetNextStyle(OGRStyleTableH hStyleTable)
Get the next style string from the table.
Definition: ogrfeaturestyle.cpp:1296
CSLConstList
char ** CSLConstList
Definition: cpl_port.h:1194
OGRFeatureDefn::GetFieldCount
virtual int GetFieldCount() const
Fetch number of fields on this feature.
Definition: ogrfeaturedefn.cpp:286
OGRSTPenColor
@ OGRSTPenColor
Definition: ogr_core.h:829
OGRGeometry::toPoint
OGRPoint * toPoint()
Definition: ogr_geometry.h:524
VALIDATE_POINTER1
#define VALIDATE_POINTER1(ptr, func, rc)
Definition: cpl_error.h:276
OGRSTLabelDy
@ OGRSTLabelDy
Definition: ogr_core.h:897
OGR_F_GetStyleTable
OGRStyleTableH OGR_F_GetStyleTable(OGRFeatureH)
Definition: ogrfeature.cpp:6395
OGR_ST_Destroy
void OGR_ST_Destroy(OGRStyleToolH hST)
Destroy Style Tool.
Definition: ogrfeaturestyle.cpp:1403
OGRFeature::GetFieldAsSerializedJSon
char * GetFieldAsSerializedJSon(int i) const
Fetch field value as a serialized JSon object.
Definition: ogrfeature.cpp:3301
wkbSetZ
#define wkbSetZ(x)
Definition: ogr_core.h:451
OGRERR_FAILURE
#define OGRERR_FAILURE
Definition: ogr_core.h:298
OGR_FD_AddFieldDefn
void OGR_FD_AddFieldDefn(OGRFeatureDefnH, OGRFieldDefnH)
Add a new field definition to the passed feature definition.
Definition: ogrfeaturedefn.cpp:465
OGRSTUMM
@ OGRSTUMM
Definition: ogr_core.h:819
OGRFeatureDefn::Clone
virtual OGRFeatureDefn * Clone() const
Create a copy of this feature definition.
Definition: ogrfeaturedefn.cpp:201
OFTString
@ OFTString
Definition: ogr_core.h:600
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:580
OGRFeature::DumpReadable
void DumpReadable(FILE *, char **papszOptions=nullptr) const
Dump this feature in a human readable form.
Definition: ogrfeature.cpp:5282
OGRFeatureDefn::OGRFeatureDefn
OGRFeatureDefn(const char *pszName=nullptr)
Constructor.
Definition: ogrfeaturedefn.cpp:64
OGR_ST_Create
OGRStyleToolH OGR_ST_Create(OGRSTClassId eClassId) CPL_WARN_UNUSED_RESULT
OGRStyleTool factory.
Definition: ogrfeaturestyle.cpp:1367
OFTIntegerList
@ OFTIntegerList
Definition: ogr_core.h:597
OGR_FD_AddGeomFieldDefn
void OGR_FD_AddGeomFieldDefn(OGRFeatureDefnH hFDefn, OGRGeomFieldDefnH hGFldDefn)
Add a new field definition to the passed feature definition.
Definition: ogrfeaturedefn.cpp:818
OGRStyleMgr::GetPart
OGRStyleTool * GetPart(int hPartId, const char *pszStyleString=nullptr)
Fetch a part (style tool) from the current style.
Definition: ogrfeaturestyle.cpp:661
OGR_FD_GetFieldCount
int OGR_FD_GetFieldCount(OGRFeatureDefnH)
Fetch number of fields on the passed feature definition.
Definition: ogrfeaturedefn.cpp:304
OGRSTCBrush
@ OGRSTCBrush
Definition: ogr_core.h:805
OGRSTLabelFontName
@ OGRSTLabelFontName
Definition: ogr_core.h:888
OGRSTLabelPriority
@ OGRSTLabelPriority
Definition: ogr_core.h:902
OGR_F_UnsetField
void OGR_F_UnsetField(OGRFeatureH, int)
Clear a field, marking it as unset.
Definition: ogrfeature.cpp:1495
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:1023
OGR_F_VAL_NULL
#define OGR_F_VAL_NULL
Definition: ogr_core.h:547
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:1550
OGRFieldDefn::FromHandle
static OGRFieldDefn * FromHandle(OGRFieldDefnH hFieldDefn)
Definition: ogr_feature.h:158
CSLPrint
int CSLPrint(CSLConstList papszStrList, FILE *fpOut)
Definition: cpl_string.cpp:461
OGRFeature::GetFieldAsBinary
GByte * GetFieldAsBinary(int i, int *pnCount) const
Fetch field value as binary data.
Definition: ogrfeature.cpp:3015
OGRSTLabelUnderline
@ OGRSTLabelUnderline
Definition: ogr_core.h:901
CPLDebug
void CPLDebug(const char *, const char *,...)
Definition: cpl_error.cpp:602
OGRFeatureDefn::IsSame
virtual int IsSame(const OGRFeatureDefn *poOtherFeatureDefn) const
Test if the feature definition is identical to the other one.
Definition: ogrfeaturedefn.cpp:1496
OGRStyleTool::GetStyleString
virtual const char * GetStyleString()=0
Get the style string for this Style Tool.
OGRStyleMgr::AddStyle
GBool AddStyle(const char *pszStyleName, const char *pszStyleString=nullptr)
Add a style to the current style table.
Definition: ogrfeaturestyle.cpp:412
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:293
OGRFieldDefn
Definition: ogr_feature.h:92
OGRSTLabelAnchor
@ OGRSTLabelAnchor
Definition: ogr_core.h:895
OGRFeature::SetStyleString
virtual void SetStyleString(const char *)
Set feature style string.
Definition: ogrfeature.cpp:6169
OFTInteger
@ OFTInteger
Definition: ogr_core.h:596
OGRFeature::GetFieldAsDouble
double GetFieldAsDouble(int i) const
Fetch field value as a double.
Definition: ogrfeature.cpp:2116
OGRGeomFieldDefn::IsNullable
int IsNullable() const
Return whether this geometry field can receive null values.
Definition: ogr_feature.h:214
OGRFeature::SetStyleTable
virtual void SetStyleTable(OGRStyleTable *poStyleTable)
Definition: ogrfeature.cpp:6259
OLMD_FID64
#define OLMD_FID64
Definition: ogr_core.h:791
CPLMalloc
void * CPLMalloc(size_t)
Definition: cpl_conv.cpp:168
CPL_LSBPTR32
#define CPL_LSBPTR32(x)
Definition: cpl_port.h:834
ogr_featurestyle.h
OGRFeatureDefn::SetStyleIgnored
virtual void SetStyleIgnored(int bIgnore)
Set whether the style can be omitted when fetching features.
Definition: ogr_feature.h:315
OGRSTLabelAngle
@ OGRSTLabelAngle
Definition: ogr_core.h:891
OGRSimpleCurve::addSubLineString
void addSubLineString(const OGRLineString *, int nStartVertex=0, int nEndVertex=-1)
Add a segment of another linestring to this one.
Definition: ogrlinestring.cpp:1428
CPLStringList::List
char ** List()
Definition: cpl_string.h:516
CSLFindString
int CSLFindString(CSLConstList papszList, const char *pszTarget)
Definition: cpl_string.cpp:670
OGRSTSymbolDy
@ OGRSTSymbolDy
Definition: ogr_core.h:871
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:944
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:1818
OGRSTBrushDx
@ OGRSTBrushDx
Definition: ogr_core.h:852
OGRFieldDefn::OGRFieldDefn
OGRFieldDefn(const char *, OGRFieldType)
Constructor.
Definition: ogrfielddefn.cpp:59
CPLString::toupper
CPLSTRING_METHOD_DLL CPLString & toupper(void)
Definition: cplstring.cpp:316
cpl_conv.h
wkbNone
@ wkbNone
Definition: ogr_core.h:349
OGR_F_SetFieldRaw
void OGR_F_SetFieldRaw(OGRFeatureH, int, OGRField *)
Set field.
Definition: ogrfeature.cpp:5248
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:609
OGRFeature::CreateFeature
static OGRFeature * CreateFeature(OGRFeatureDefn *)
Feature factory.
Definition: ogrfeature.cpp:246
OGRFeature::SetFieldNull
void SetFieldNull(int iField)
Clear a field, marking it as null.
Definition: ogrfeature.cpp:1645
wkbPolygon
@ wkbPolygon
Definition: ogr_core.h:324
cpl_string.h
OGR_Fld_SetNullable
void OGR_Fld_SetNullable(OGRFieldDefnH hDefn, int)
Set whether this field can receive null values.
Definition: ogrfielddefn.cpp:1221
OGRStyleMgr::OGRStyleMgr
OGRStyleMgr(OGRStyleTable *poDataSetStyleTable=nullptr)
Constructor.
Definition: ogrfeaturestyle.cpp:137
OGRFeature::UnsetField
void UnsetField(int iField)
Clear a field, marking it as unset.
Definition: ogrfeature.cpp:1444
OGRUnsetMarker
#define OGRUnsetMarker
Definition: ogr_core.h:665
OGRGeometry::toLineString
OGRLineString * toLineString()
Definition: ogr_geometry.h:566
OGR_F_SetStyleTableDirectly
void OGR_F_SetStyleTableDirectly(OGRFeatureH, OGRStyleTableH)
Definition: ogrfeature.cpp:6408
OGRFeature::SetGeomFieldDirectly
OGRErr SetGeomFieldDirectly(int iField, OGRGeometry *)
Set feature geometry of a specified geometry field.
Definition: ogrfeature.cpp:802
OGRGeometry::dumpReadable
virtual void dumpReadable(FILE *, const char *=nullptr, char **papszOptions=nullptr) const
Dump geometry in well known text format to indicated output file.
Definition: ogrgeometry.cpp:168
OGRGeometryCollection::getEnvelope
virtual void getEnvelope(OGREnvelope *psEnvelope) const override
Computes and returns the bounding envelope for this geometry in the passed psEnvelope structure.
Definition: ogrgeometrycollection.cpp:977
OGR_F_GetFieldAsStringList
char ** OGR_F_GetFieldAsStringList(OGRFeatureH, int)
Fetch field value as a list of strings.
Definition: ogrfeature.cpp:2989
VSI_CALLOC_VERBOSE
#define VSI_CALLOC_VERBOSE(nCount, nSize)
Definition: cpl_vsi.h:283
OGRJustification
OGRJustification
Definition: ogr_core.h:642
OGRSTSymbolParam
enum ogr_style_tool_param_symbol_id OGRSTSymbolParam
OGR_F_GetDefnRef
OGRFeatureDefnH OGR_F_GetDefnRef(OGRFeatureH)
Fetch feature definition.
Definition: ogrfeature.cpp:328
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:1036
CPLSPrintf
const char * CPLSPrintf(const char *fmt,...)
Definition: cpl_string.cpp:977
OFSTNone
@ OFSTNone
Definition: ogr_core.h:624
OGR_GetFieldSubTypeName
const char * OGR_GetFieldSubTypeName(OGRFieldSubType)
Fetch human readable name for a field subtype.
Definition: ogrfielddefn.cpp:746
OFTStringList
@ OFTStringList
Definition: ogr_core.h:601
OGRFieldDefn::SetDefault
void SetDefault(const char *)
Set default field value.
Definition: ogrfielddefn.cpp:431
OGRSTBrushFColor
@ OGRSTBrushFColor
Definition: ogr_core.h:847
OGRFeature::SetStyleStringDirectly
virtual void SetStyleStringDirectly(char *)
Set feature style string.
Definition: ogrfeature.cpp:6221
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:441
OGRFieldDefnH
void * OGRFieldDefnH
Definition: ogr_api.h:298
OGRFeatureDefn::GetGeomType
virtual OGRwkbGeometryType GetGeomType() const
Fetch the geometry base type.
Definition: ogrfeaturedefn.cpp:984
OGR_FD_Destroy
void OGR_FD_Destroy(OGRFeatureDefnH)
Destroy a feature definition object and release all memory associated with it.
Definition: ogrfeaturedefn.cpp:146
OGRFeature::FieldValue::IsNull
bool IsNull() const
Definition: ogrfeature.cpp:7300
OGRSTBrushDy
@ OGRSTBrushDy
Definition: ogr_core.h:853
OGR_SM_Destroy
void OGR_SM_Destroy(OGRStyleMgrH hSM)
Destroy Style Manager.
Definition: ogrfeaturestyle.cpp:188
OGRLinearRing::isClockwise
virtual int isClockwise() const
Returns TRUE if the ring has clockwise winding (or less than 2 points)
Definition: ogrlinearring.cpp:445
CPLStrlenUTF8
int CPLStrlenUTF8(const char *pszUTF8Str)
Definition: cpl_recode.cpp:363
OGRGeometryH
void * OGRGeometryH
Definition: ogr_api.h:60
CPLError
void CPLError(CPLErr eErrClass, CPLErrorNum err_no, const char *fmt,...)
Definition: cpl_error.cpp:308
OGRGeomFieldDefn
Definition: ogr_feature.h:182
OGRFeature::FieldValue::GetAsInteger64List
const std::vector< GIntBig > & GetAsInteger64List() const
Definition: ogrfeature.cpp:7349
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
OGRFeature::FromHandle
static OGRFeature * FromHandle(OGRFeatureH hFeature)
Definition: ogr_feature.h:763
VSIFree
void VSIFree(void *)
Definition: cpl_vsisimple.cpp:827
OGRFeatureDefn::Dereference
int Dereference()
Decrements the reference count by one.
Definition: ogr_feature.h:308
OGR_FD_Dereference
int OGR_FD_Dereference(OGRFeatureDefnH)
Decrements the reference count by one.
Definition: ogrfeaturedefn.cpp:1160
CPLE_NotSupported
#define CPLE_NotSupported
Definition: cpl_error.h:109
OGRSTSymbolId
@ OGRSTSymbolId
Definition: ogr_core.h:866
OGR_SM_InitStyleString
int OGR_SM_InitStyleString(OGRStyleMgrH hSM, const char *pszStyleString)
Initialize style manager from the style string.
Definition: ogrfeaturestyle.cpp:336
CPLUnescapeString
char * CPLUnescapeString(const char *pszString, int *pnLength, int nScheme)
Definition: cpl_string.cpp:2248
OGRFeature::FieldValue::GetRawValue
const OGRField * GetRawValue() const
Definition: ogrfeature.cpp:7290
OGRERR_CORRUPT_DATA
#define OGRERR_CORRUPT_DATA
Definition: ogr_core.h:297
OGRPoint::IsEmpty
virtual OGRBoolean IsEmpty() const override
Returns TRUE (non-zero) if the object has no points.
Definition: ogr_geometry.h:848
OGRSTBrushBColor
@ OGRSTBrushBColor
Definition: ogr_core.h:848
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:710
OGR_F_SetFieldInteger
void OGR_F_SetFieldInteger(OGRFeatureH, int, int)
Set field to integer value.
Definition: ogrfeature.cpp:3506
OFTTime
@ OFTTime
Definition: ogr_core.h:606
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:1587
OGRFeature::Clone
OGRFeature * Clone() const CPL_WARN_UNUSED_RESULT
Duplicate feature.
Definition: ogrfeature.cpp:948
OGRFieldDefn::GetType
OGRFieldType GetType() const
Fetch type of this field.
Definition: ogr_feature.h:115
OGR_STBL_Find
const char * OGR_STBL_Find(OGRStyleTableH hStyleTable, const char *pszName)
Get a style string by name.
Definition: ogrfeaturestyle.cpp:1131
OGRStyleMgr
Definition: ogr_featurestyle.h:119
OGR_F_SetStyleTable
void OGR_F_SetStyleTable(OGRFeatureH, OGRStyleTableH)
Definition: ogrfeature.cpp:6422
CSLSave
int CSLSave(CSLConstList papszStrList, const char *pszFname)
Definition: cpl_string.cpp:412
OGRFeatureDefn::GetFieldIndex
virtual int GetFieldIndex(const char *) const
Find field by name.
Definition: ogrfeaturedefn.cpp:1218
CSLDuplicate
char ** CSLDuplicate(CSLConstList papszStrList)
Definition: cpl_string.cpp:228
OGR_F_SetFieldDateTime
void OGR_F_SetFieldDateTime(OGRFeatureH, int, int, int, int, int, int, int, int)
Set field to datetime.
Definition: ogrfeature.cpp:4932
OGR_F_Destroy
void OGR_F_Destroy(OGRFeatureH)
Destroy feature.
Definition: ogrfeature.cpp:220
OGRSimpleCurve::getZ
double getZ(int i) const
Get Z at vertex.
Definition: ogrlinestring.cpp:381
OGR_F_SetStyleStringDirectly
void OGR_F_SetStyleStringDirectly(OGRFeatureH, char *)
Set feature style string.
Definition: ogrfeature.cpp:6244
OGRSTUGround
@ OGRSTUGround
Definition: ogr_core.h:816
OGR_F_SetFieldInteger64
void OGR_F_SetFieldInteger64(OGRFeatureH, int, GIntBig)
Set field to 64 bit integer value.
Definition: ogrfeature.cpp:3663
OGRFeature::IsFieldSetAndNotNull
bool IsFieldSetAndNotNull(int iField) const
Test if a field is set and not null.
Definition: ogrfeature.cpp:1583
OGRSTSymbolSize
@ OGRSTSymbolSize
Definition: ogr_core.h:869
OGRSTLabelHColor
@ OGRSTLabelHColor
Definition: ogr_core.h:907
OGRErr
int OGRErr
Definition: ogr_core.h:290
OGRStyleMgr::InitStyleString
GBool InitStyleString(const char *pszStyleString=nullptr)
Initialize style manager from the style string.
Definition: ogrfeaturestyle.cpp:305
OGR_FD_GetGeomFieldDefn
OGRGeomFieldDefnH OGR_FD_GetGeomFieldDefn(OGRFeatureDefnH hFDefn, int i)
Fetch geometry field definition of the passed feature definition.
Definition: ogrfeaturedefn.cpp:739
OGRFeature::ConstFieldIterator::Private
Definition: ogrfeature.cpp:7052
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:1151
OGRSTSymbolOffset
@ OGRSTSymbolOffset
Definition: ogr_core.h:874
OGRFeature::IsFieldSet
int IsFieldSet(int iField) const
Test if a field has ever been assigned a value or not.
Definition: ogrfeature.cpp:1366
CSLDestroy
void CSLDestroy(char **papszStrList)
Definition: cpl_string.cpp:200
OGRStyleTool::GetParamNum
int GetParamNum(const OGRStyleParamId &sStyleParam, OGRStyleValue &sStyleValue, GBool &bValueIsNull)
Definition: ogrfeaturestyle.cpp:2083
GIntBig
long long GIntBig
Definition: cpl_port.h:248
OGRSTBrushId
@ OGRSTBrushId
Definition: ogr_core.h:849
OGRGeometry::toPolygon
OGRPolygon * toPolygon()
Definition: ogr_geometry.h:636
OGRFeature::GetFieldDefnRef
const OGRFieldDefn * GetFieldDefnRef(int iField) const
Fetch definition for this field.
Definition: ogr_feature.h:602
OGRGeometry::toGeometryCollection
OGRGeometryCollection * toGeometryCollection()
Definition: ogr_geometry.h:678
OGRCurvePolygon::getNumInteriorRings
int getNumInteriorRings() const
Fetch the number of internal rings.
Definition: ogrcurvepolygon.cpp:238
OGRFeature::FieldValue::clear
void clear()
Definition: ogrfeature.cpp:7270
VSI_MALLOC_VERBOSE
#define VSI_MALLOC_VERBOSE(size)
Definition: cpl_vsi.h:268
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:612
OGRFeatureDefn::SetName
void SetName(const char *pszName)
Change name of this OGRFeatureDefn.
Definition: ogrfeaturedefn.cpp:229
OGRwkbGeometryType
OGRwkbGeometryType
Definition: ogr_core.h:317
OGR_FD_Reference
int OGR_FD_Reference(OGRFeatureDefnH)
Increments the reference count by one.
Definition: ogrfeaturedefn.cpp:1126
OGRFieldDefn::IsIgnored
int IsIgnored() const
Return whether this field should be omitted when fetching features.
Definition: ogr_feature.h:141
OGRFeature::GetFieldAsDateTime
int GetFieldAsDateTime(int i, int *pnYear, int *pnMonth, int *pnDay, int *pnHour, int *pnMinute, int *pnSecond, int *pnTZFlag) const
Fetch field value as date and time.
Definition: ogrfeature.cpp:3153
OGRSTPenCap
@ OGRSTPenCap
Definition: ogr_core.h:834
CPL_UNUSED
#define CPL_UNUSED
Definition: cpl_port.h:948
OGRStyleMgr::~OGRStyleMgr
~OGRStyleMgr()
Destructor.
Definition: ogrfeaturestyle.cpp:172
OGRStyleTool::GetParamDbl
double GetParamDbl(const OGRStyleParamId &sStyleParam, OGRStyleValue &sStyleValue, GBool &bValueIsNull)
Definition: ogrfeaturestyle.cpp:2104
OGR_F_GetStyleString
const char * OGR_F_GetStyleString(OGRFeatureH)
Fetch style string for this feature.
Definition: ogrfeature.cpp:6146
OGR_F_SetFID
OGRErr OGR_F_SetFID(OGRFeatureH, GIntBig)
Set the feature identifier.
Definition: ogrfeature.cpp:5468
OGRSTCPen
@ OGRSTCPen
Definition: ogr_core.h:804
OGRFeature::FieldValue::GetAsInteger
int GetAsInteger() const
Definition: ogrfeature.cpp:7305
OGRFeature::GetRawFieldRef
OGRField * GetRawFieldRef(int i)
Fetch a pointer to the internal field value given the index.
Definition: ogr_feature.h:619
OGRFeatureDefn::Reference
int Reference()
Increments the reference count by one.
Definition: ogr_feature.h:307
OGR_Fld_SetJustify
void OGR_Fld_SetJustify(OGRFieldDefnH, OGRJustification)
Set the justification for this field.
Definition: ogrfielddefn.cpp:844
OGR_ST_SetParamDbl
void OGR_ST_SetParamDbl(OGRStyleToolH hST, int eParam, double dfValue)
Set Style Tool parameter value from a double.
Definition: ogrfeaturestyle.cpp:2533
OGRStyleTable::RemoveStyle
GBool RemoveStyle(const char *pszName)
Remove a style in the table by its name.
Definition: ogrfeaturestyle.cpp:944
OGRGeometryTypeToName
const char * OGRGeometryTypeToName(OGRwkbGeometryType eType)
Fetch a human readable name corresponding to an OGRwkbGeometryType value. The returned value should n...
Definition: ogrgeometry.cpp:2422
OFTDate
@ OFTDate
Definition: ogr_core.h:605
OGRFeatureDefn::CreateFeatureDefn
static OGRFeatureDefn * CreateFeatureDefn(const char *pszName=nullptr)
Definition: ogrfeaturedefn.cpp:1466
OGRFeature
Definition: ogr_feature.h:354
OGRFeature::end
ConstFieldIterator end() const
Definition: ogrfeature.cpp:7096
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:972
OGRStyleTable::Clone
OGRStyleTable * Clone()
Duplicate style table.
Definition: ogrfeaturestyle.cpp:1208
OGR_F_SetFieldDateTimeEx
void OGR_F_SetFieldDateTimeEx(OGRFeatureH, int, int, int, int, int, int, float, int)
Set field to datetime.
Definition: ogrfeature.cpp:4973
OGRFeature::FieldValue::GetDateTime
bool GetDateTime(int *pnYear, int *pnMonth, int *pnDay, int *pnHour, int *pnMinute, float *pfSecond, int *pnTZFlag) const
Definition: ogrfeature.cpp:7329
OGR_STBL_Create
OGRStyleTableH OGR_STBL_Create(void) CPL_WARN_UNUSED_RESULT
OGRStyleTable factory.
Definition: ogrfeaturestyle.cpp:785
OGRGeomFieldDefn::GetType
OGRwkbGeometryType GetType() const
Fetch geometry type of this field.
Definition: ogr_feature.h:205
OGRFeature::OGRFeature
OGRFeature(OGRFeatureDefn *)
Constructor.
Definition: ogrfeature.cpp:79
OGRFeatureDefn::IsGeometryIgnored
virtual int IsGeometryIgnored() const
Determine whether the geometry can be omitted when fetching features.
Definition: ogrfeaturedefn.cpp:1309
OGRSTPenPerOffset
@ OGRSTPenPerOffset
Definition: ogr_core.h:833
OGR_F_GetFieldAsDoubleList
const double * OGR_F_GetFieldAsDoubleList(OGRFeatureH, int, int *)
Fetch field value as a list of doubles.
Definition: ogrfeature.cpp:2904
OGR_F_SetNativeData
void OGR_F_SetNativeData(OGRFeatureH, const char *)
Sets the native data for the feature.
Definition: ogrfeature.cpp:6862
OGRFeature::GetNativeMediaType
const char * GetNativeMediaType() const
Returns the native media type for the feature.
Definition: ogr_feature.h:746
OGRFieldSubType
OGRFieldSubType
Definition: ogr_core.h:622
OGRFeature::GetGeometryRef
OGRGeometry * GetGeometryRef()
Fetch pointer to feature geometry.
Definition: ogrfeature.cpp:583
OGR_ST_SetParamNum
void OGR_ST_SetParamNum(OGRStyleToolH hST, int eParam, int nValue)
Set Style Tool parameter value from an integer.
Definition: ogrfeaturestyle.cpp:2490
ogr_api.h
OGRFeature::SetGeomField
OGRErr SetGeomField(int iField, const OGRGeometry *)
Set feature geometry of a specified geometry field.
Definition: ogrfeature.cpp:880
OGRPoint::getZ
double getZ() const
Fetch Z coordinate.
Definition: ogr_geometry.h:857
OGRFieldDefn::SetNullable
void SetNullable(int bNullableIn)
Set whether this field can receive null values.
Definition: ogr_feature.h:145
OGRCurvePolygon::addRing
virtual OGRErr addRing(OGRCurve *)
Add a ring to a polygon.
Definition: ogrcurvepolygon.cpp:362
OGRSTBrushPriority
@ OGRSTBrushPriority
Definition: ogr_core.h:854
OFTRealList
@ OFTRealList
Definition: ogr_core.h:599
OGRFeature::GetFieldAsStringList
char ** GetFieldAsStringList(int i) const
Fetch field value as a list of strings.
Definition: ogrfeature.cpp:2948
OGR_F_IsFieldSetAndNotNull
int OGR_F_IsFieldSetAndNotNull(OGRFeatureH, int)
Test if a field is set and not null.
Definition: ogrfeature.cpp:1615
OFSTJSON
@ OFSTJSON
Definition: ogr_core.h:634
OGR_Fld_IsIgnored
int OGR_Fld_IsIgnored(OGRFieldDefnH hDefn)
Return whether this field should be omitted when fetching features.
Definition: ogrfielddefn.cpp:1073
OGR_ST_GetType
OGRSTClassId OGR_ST_GetType(OGRStyleToolH hST)
Determine type of Style Tool.
Definition: ogrfeaturestyle.cpp:1640
OGRPoint::getY
double getY() const
Fetch Y coordinate.
Definition: ogr_geometry.h:855
OGRFeatureDefn::SetGeometryIgnored
virtual void SetGeometryIgnored(int bIgnore)
Set whether the geometry can be omitted when fetching features.
Definition: ogrfeaturedefn.cpp:1358
OGRFieldDefn::GetFieldTypeName
static const char * GetFieldTypeName(OGRFieldType)
Fetch human readable name for a field type.
Definition: ogrfielddefn.cpp:624
OGRGeomFieldDefn::FromHandle
static OGRGeomFieldDefn * FromHandle(OGRGeomFieldDefnH hGeomFieldDefn)
Definition: ogr_feature.h:229
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:330
OGRFeatureDefn::ToHandle
static OGRFeatureDefnH ToHandle(OGRFeatureDefn *poFeatureDefn)
Definition: ogr_feature.h:333
OGRFieldDefn::IsNullable
int IsNullable() const
Return whether this field can receive null values.
Definition: ogr_feature.h:144
OGRFieldType
OGRFieldType
Definition: ogr_core.h:594
OGRFeatureDefn::GetGeomFieldCount
virtual int GetGeomFieldCount() const
Fetch number of geometry fields on this feature.
Definition: ogrfeaturedefn.cpp:632
CSLFetchNameValue
const char * CSLFetchNameValue(CSLConstList papszStrList, const char *pszName)
Definition: cpl_string.cpp:1674
CPLErr
CPLErr
Definition: cpl_error.h:52
OGR_F_SetFieldDoubleList
void OGR_F_SetFieldDoubleList(OGRFeatureH, int, int, const double *)
Set field to list of doubles value.
Definition: ogrfeature.cpp:4563
CSLRemoveStrings
char ** CSLRemoveStrings(char **papszStrList, int nFirstLineToDelete, int nNumToRemove, char ***ppapszRetStrings)
Definition: cpl_string.cpp:588
OGRSTPenJoin
@ OGRSTPenJoin
Definition: ogr_core.h:835
OGRStyleTool::GetUnit
OGRSTUnitId GetUnit()
Get Style Tool units.
Definition: ogr_featurestyle.h:220
OGR_FD_GetFieldDefn
OGRFieldDefnH OGR_FD_GetFieldDefn(OGRFeatureDefnH, int)
Fetch field definition of the passed feature definition.
Definition: ogrfeaturedefn.cpp:385
OGR_F_VAL_ALLOW_DIFFERENT_GEOM_DIM
#define OGR_F_VAL_ALLOW_DIFFERENT_GEOM_DIM
Definition: ogr_core.h:576
OGRFeatureDefn::AddGeomFieldDefn
virtual void AddGeomFieldDefn(OGRGeomFieldDefn *, int bCopy=TRUE)
Add a new geometry field definition.
Definition: ogrfeaturedefn.cpp:782
OGRStyleTable::LoadStyleTable
GBool LoadStyleTable(const char *pszFilename)
Load a style table from a file.
Definition: ogrfeaturestyle.cpp:1048
GBool
int GBool
Definition: cpl_port.h:223
OGRStyleTable::ResetStyleStringReading
void ResetStyleStringReading()
Definition: ogrfeaturestyle.cpp:1223
OGR_Fld_IsNullable
int OGR_Fld_IsNullable(OGRFieldDefnH hDefn)
Return whether this field can receive null values.
Definition: ogrfielddefn.cpp:1175
OGR_FD_SetGeometryIgnored
void OGR_FD_SetGeometryIgnored(OGRFeatureDefnH, int)
Set whether the geometry can be omitted when fetching features.
Definition: ogrfeaturedefn.cpp:1385
OGRSTSymbolColor
@ OGRSTSymbolColor
Definition: ogr_core.h:868
CSLAddString
char ** CSLAddString(char **papszStrList, const char *pszNewString)
Definition: cpl_string.cpp:83
OGRFeature::FieldValue::GetDefn
const OGRFieldDefn * GetDefn() const
Definition: ogrfeature.cpp:7285
OGR_F_GetGeomFieldIndex
int OGR_F_GetGeomFieldIndex(OGRFeatureH hFeat, const char *pszName)
Fetch the geometry field index given geometry field name.
Definition: ogrfeature.cpp:1344
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:128
OFTInteger64
@ OFTInteger64
Definition: ogr_core.h:608
OGRLinearRing
Definition: ogr_geometry.h:1314
OGRStyleTable::GetNextStyle
const char * GetNextStyle()
Get the next style string from the table.
Definition: ogrfeaturestyle.cpp:1260
OGRFeature::CopySelfTo
bool CopySelfTo(OGRFeature *poNew) const
Copies the innards of this OGRFeature into the supplied object.
Definition: ogrfeature.cpp:1003
OGR_FD_GetGeomType
OGRwkbGeometryType OGR_FD_GetGeomType(OGRFeatureDefnH)
Fetch the geometry base type of the passed feature definition.
Definition: ogrfeaturedefn.cpp:1012
OGRFeature::GetFieldAsInteger64
GIntBig GetFieldAsInteger64(int i) const
Fetch field value as integer 64 bit.
Definition: ogrfeature.cpp:1998
OGRSTUPoints
@ OGRSTUPoints
Definition: ogr_core.h:818
OGRFeature::GetFieldAsInteger
int GetFieldAsInteger(int i) const
Fetch field value as integer.
Definition: ogrfeature.cpp:1859
OGRERR_NONE
#define OGRERR_NONE
Definition: ogr_core.h:292
OGRFeature::FieldValue::GetAsString
const char * GetAsString() const
Definition: ogrfeature.cpp:7323
CPLStrdup
char * CPLStrdup(const char *)
Definition: cpl_conv.cpp:293
OGRStyleMgr::GetPartCount
int GetPartCount(const char *pszStyleString=nullptr)
Get the number of parts in a style.
Definition: ogrfeaturestyle.cpp:593
OGRFeatureDefn::DestroyFeatureDefn
static void DestroyFeatureDefn(OGRFeatureDefn *)
Definition: ogrfeaturedefn.cpp:1479
CPLAtof
double CPLAtof(const char *)
Definition: cpl_strtod.cpp:117
OGRFeatureDefn
Definition: ogr_feature.h:259
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:1552
OGR_STBL_Destroy
void OGR_STBL_Destroy(OGRStyleTableH hSTBL)
Destroy Style Table.
Definition: ogrfeaturestyle.cpp:826
OGR_F_SetFieldInteger64List
void OGR_F_SetFieldInteger64List(OGRFeatureH, int, int, const GIntBig *)
Set field to list of 64 bit integers value.
Definition: ogrfeature.cpp:4431
OGRFeature::GetFieldAsIntegerList
const int * GetFieldAsIntegerList(int i, int *pnCount) const
Fetch field value as a list of integers.
Definition: ogrfeature.cpp:2694
OGRSTSymbolOColor
@ OGRSTSymbolOColor
Definition: ogr_core.h:877
OGRGetNonLinearGeometriesEnabledFlag
int OGRGetNonLinearGeometriesEnabledFlag(void)
Get flag to enable/disable returning non-linear geometries in the C API.
Definition: ogr_api.cpp:1851
OGRGeometry::toMultiPoint
OGRMultiPoint * toMultiPoint()
Definition: ogr_geometry.h:692
OGR_ST_GetParamNum
int OGR_ST_GetParamNum(OGRStyleToolH hST, int eParam, int *bValueIsNull)
Get Style Tool parameter value as an integer.
Definition: ogrfeaturestyle.cpp:2344
OGR_F_SetGeometry
OGRErr OGR_F_SetGeometry(OGRFeatureH, OGRGeometryH)
Set feature geometry.
Definition: ogrfeature.cpp:472
CPLBinaryToHex
char * CPLBinaryToHex(int nBytes, const GByte *pabyData)
Definition: cpl_string.cpp:2475
OGRStyleTool::SetParamNum
void SetParamNum(const OGRStyleParamId &sStyleParam, OGRStyleValue &sStyleValue, int nParam)
Definition: ogrfeaturestyle.cpp:2202
OGRSTLabelDx
@ OGRSTLabelDx
Definition: ogr_core.h:896
OGRStyleTable::Find
const char * Find(const char *pszStyleString)
Get a style string by name.
Definition: ogrfeaturestyle.cpp:1100
OGR_ST_GetParamDbl
double OGR_ST_GetParamDbl(OGRStyleToolH hST, int eParam, int *bValueIsNull)
Get Style Tool parameter value as a double.
Definition: ogrfeaturestyle.cpp:2396
wkbLineString
@ wkbLineString
Definition: ogr_core.h:322
OGR_Fld_GetJustify
OGRJustification OGR_Fld_GetJustify(OGRFieldDefnH)
Get the justification for this field.
Definition: ogrfielddefn.cpp:808
OGRStyleToolH
void * OGRStyleToolH
Definition: ogr_api.h:706
OGRFeature::FieldValue::IsUnset
bool IsUnset() const
Definition: ogrfeature.cpp:7295
OGR_FD_IsGeometryIgnored
int OGR_FD_IsGeometryIgnored(OGRFeatureDefnH)
Determine whether the geometry can be omitted when fetching features.
Definition: ogrfeaturedefn.cpp:1337
OGRFeature::DestroyFeature
static void DestroyFeature(OGRFeature *)
Destroy feature.
Definition: ogrfeature.cpp:282
OGRSTPenId
@ OGRSTPenId
Definition: ogr_core.h:832
OGRFeature::GetGeomFieldRef
OGRGeometry * GetGeomFieldRef(int iField)
Fetch pointer to feature geometry.
Definition: ogrfeature.cpp:666
OGRPolygon
Definition: ogr_geometry.h:1913
OGR_FD_GetName
const char * OGR_FD_GetName(OGRFeatureDefnH)
Get name of the OGRFeatureDefn passed as an argument.
Definition: ogrfeaturedefn.cpp:267
wkbMultiLineString
@ wkbMultiLineString
Definition: ogr_core.h:328
OGRGeometry::getEnvelope
virtual void getEnvelope(OGREnvelope *psEnvelope) const =0
Computes and returns the bounding envelope for this geometry in the passed psEnvelope structure.
OGRFeatureDefn::GetFieldIndexCaseSensitive
int GetFieldIndexCaseSensitive(const char *) const
Find field by name, in a case sensitive way.
Definition: ogrfeaturedefn.cpp:1246
OGRGeometry::Equals
virtual OGRBoolean Equals(const OGRGeometry *) const =0
Returns TRUE if two geometries are equivalent.
CSLT_ALLOWEMPTYTOKENS
#define CSLT_ALLOWEMPTYTOKENS
Definition: cpl_string.h:85
OGRStyleTable::SaveStyleTable
GBool SaveStyleTable(const char *pszFilename)
Save a style table to a file.
Definition: ogrfeaturestyle.cpp:997
OGR_GET_MS
int OGR_GET_MS(float fSec)
Definition: ogr_core.h:737
OFTReal
@ OFTReal
Definition: ogr_core.h:598
OGRSTSymbolPerp
@ OGRSTSymbolPerp
Definition: ogr_core.h:873
ogr_core.h
OGRFeatureDefn::DeleteGeomFieldDefn
virtual OGRErr DeleteGeomFieldDefn(int iGeomField)
Delete an existing geometry field definition.
Definition: ogrfeaturedefn.cpp:847
OGRFeatureDefn::GetReferenceCount
int GetReferenceCount() const
Fetch current reference count.
Definition: ogr_feature.h:309
OGRFieldDefn::GetSubType
OGRFieldSubType GetSubType() const
Fetch subtype of this field.
Definition: ogr_feature.h:119
OGRSTBrushAngle
@ OGRSTBrushAngle
Definition: ogr_core.h:850
OGRStyleTable::IsExist
GBool IsExist(const char *pszName)
Get the index of a style in the table by its name.
Definition: ogrfeaturestyle.cpp:1176
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:96
OGR_SM_GetPartCount
int OGR_SM_GetPartCount(OGRStyleMgrH hSM, const char *pszStyleString)
Get the number of parts in a style.
Definition: ogrfeaturestyle.cpp:631
OGRStyleMgrH
void * OGRStyleMgrH
Definition: ogr_api.h:704
OGRSTPenPattern
@ OGRSTPenPattern
Definition: ogr_core.h:831
OGRNullFID
#define OGRNullFID
Definition: ogr_core.h:650
OGRGeometry::toMultiLineString
OGRMultiLineString * toMultiLineString()
Definition: ogr_geometry.h:706
CSLT_STRIPENDSPACES
#define CSLT_STRIPENDSPACES
Definition: cpl_string.h:93
OGRStyleMgr::GetStyleName
const char * GetStyleName(const char *pszStyleString=nullptr)
Get the name of a style from the style table.
Definition: ogrfeaturestyle.cpp:358
OGRStyleTable::GetStyleName
const char * GetStyleName(const char *pszName)
Get style name by style string.
Definition: ogrfeaturestyle.cpp:846
CPLFree
#define CPLFree
Definition: cpl_conv.h:81
wkbUnknown
@ wkbUnknown
Definition: ogr_core.h:319
OGR_FD_IsStyleIgnored
int OGR_FD_IsStyleIgnored(OGRFeatureDefnH)
Determine whether the style can be omitted when fetching features.
Definition: ogrfeaturedefn.cpp:1419
OGR_F_GetFieldIndex
int OGR_F_GetFieldIndex(OGRFeatureH, const char *)
Fetch the field index given field name.
Definition: ogrfeature.cpp:1190
OGRPoint::getGeometryType
virtual OGRwkbGeometryType getGeometryType() const override
Fetch geometry type.
Definition: ogrpoint.cpp:214
CSLT_STRIPLEADSPACES
#define CSLT_STRIPLEADSPACES
Definition: cpl_string.h:91
OGRGeometryCollection::getGeometryType
virtual OGRwkbGeometryType getGeometryType() const override
Fetch geometry type.
Definition: ogrgeometrycollection.cpp:176
OGRSTLabelSize
@ OGRSTLabelSize
Definition: ogr_core.h:889
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:899
CPL_DISALLOW_COPY_ASSIGN
#define CPL_DISALLOW_COPY_ASSIGN(ClassName)
Definition: cpl_port.h:997
OGRFieldDefn::GetJustify
OGRJustification GetJustify() const
Get the justification for this field.
Definition: ogr_feature.h:123
OGR_FD_DeleteFieldDefn
OGRErr OGR_FD_DeleteFieldDefn(OGRFeatureDefnH hDefn, int iField)
Delete an existing field definition.
Definition: ogrfeaturedefn.cpp:534
OGRFeature::GetNativeData
const char * GetNativeData() const
Returns the native data for the feature.
Definition: ogr_feature.h:745
OGRFeature::IsFieldNull
bool IsFieldNull(int iField) const
Test if a field is null.
Definition: ogrfeature.cpp:1520
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:712
OGRFeature::GetFieldAsDoubleList
const double * GetFieldAsDoubleList(int i, int *pnCount) const
Fetch field value as a list of doubles.
Definition: ogrfeature.cpp:2863
OGRStyleMgr::GetStyleString
const char * GetStyleString(OGRFeature *=nullptr)
Get the style string from the style manager.
Definition: ogrfeaturestyle.cpp:469
wkbMultiPoint
@ wkbMultiPoint
Definition: ogr_core.h:327
OGRFeature::SetStyleTableDirectly
virtual void SetStyleTableDirectly(OGRStyleTable *poStyleTable)
Definition: ogrfeature.cpp:6273
OGRPoint::getX
double getX() const
Fetch X coordinate.
Definition: ogr_geometry.h:853
CPLStrtod
double CPLStrtod(const char *, char **)
Definition: cpl_strtod.cpp:321
CPLGetConfigOption
const char * CPLGetConfigOption(const char *, const char *)
Definition: cpl_conv.cpp:1692
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:1090
OGR_ST_GetParamStr
const char * OGR_ST_GetParamStr(OGRStyleToolH hST, int eParam, int *bValueIsNull)
Get Style Tool parameter value as string.
Definition: ogrfeaturestyle.cpp:2291
OGRGeometry::ToHandle
static OGRGeometryH ToHandle(OGRGeometry *poGeom)
Definition: ogr_geometry.h:511
OGR_F_Create
OGRFeatureH OGR_F_Create(OGRFeatureDefnH) CPL_WARN_UNUSED_RESULT
Feature factory.
Definition: ogrfeature.cpp:129
STARTS_WITH_CI
#define STARTS_WITH_CI(a, b)
Definition: cpl_port.h:580
OGRFieldDefn::ToHandle
static OGRFieldDefnH ToHandle(OGRFieldDefn *poFieldDefn)
Definition: ogr_feature.h:152
CPLE_AppDefined
#define CPLE_AppDefined
Definition: cpl_error.h:99
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

Generated for GDAL by doxygen 1.8.17.