OGR
ogr_p.h
1 /******************************************************************************
2  * $Id: ogr_p.h 205ab0157961d02098fa1955ed353d617b0a73bc 2017-05-15 10:29:33Z Even Rouault $
3  *
4  * Project: OpenGIS Simple Features Reference Implementation
5  * Purpose: Some private helper functions and stuff for OGR implementation.
6  * Author: Frank Warmerdam, warmerdam@pobox.com
7  *
8  ******************************************************************************
9  * Copyright (c) 1999, Frank Warmerdam
10  * Copyright (c) 2008-2014, Even Rouault <even dot rouault at mines-paris dot org>
11  *
12  * Permission is hereby granted, free of charge, to any person obtaining a
13  * copy of this software and associated documentation files (the "Software"),
14  * to deal in the Software without restriction, including without limitation
15  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
16  * and/or sell copies of the Software, and to permit persons to whom the
17  * Software is furnished to do so, subject to the following conditions:
18  *
19  * The above copyright notice and this permission notice shall be included
20  * in all copies or substantial portions of the Software.
21  *
22  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
23  * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
24  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
25  * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
26  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
27  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
28  * DEALINGS IN THE SOFTWARE.
29  ****************************************************************************/
30 
31 #ifndef OGR_P_H_INCLUDED
32 #define OGR_P_H_INCLUDED
33 
34 /* -------------------------------------------------------------------- */
35 /* Include the common portability library ... lets us do lots */
36 /* of stuff easily. */
37 /* -------------------------------------------------------------------- */
38 
39 #include "cpl_string.h"
40 #include "cpl_conv.h"
41 #include "cpl_minixml.h"
42 
43 #include "ogr_core.h"
44 #include "ogr_geometry.h"
45 #include "ogr_feature.h"
46 
47 /* A default name for the default geometry column, instead of '' */
48 #define OGR_GEOMETRY_DEFAULT_NON_EMPTY_NAME "_ogr_geometry_"
49 
50 #ifdef CPL_MSB
51 # define OGR_SWAP(x) (x == wkbNDR)
52 #else
53 # define OGR_SWAP(x) (x == wkbXDR)
54 #endif
55 
56 /* PostGIS 1.X has non standard codes for the following geometry types */
57 #define POSTGIS15_CURVEPOLYGON 13 /* instead of 10 */
58 #define POSTGIS15_MULTICURVE 14 /* instead of 11 */
59 #define POSTGIS15_MULTISURFACE 15 /* instead of 12 */
60 
61 /* Has been deprecated. Can only be used in very specific circumstances */
62 #ifdef GDAL_COMPILATION
63 #define wkb25DBitInternalUse 0x80000000
64 #endif
65 
66 /* -------------------------------------------------------------------- */
67 /* helper function for parsing well known text format vector objects.*/
68 /* -------------------------------------------------------------------- */
69 
70 #ifdef OGR_GEOMETRY_H_INCLUDED
71 #define OGR_WKT_TOKEN_MAX 64
72 
73 const char CPL_DLL * OGRWktReadToken( const char * pszInput, char * pszToken );
74 
75 const char CPL_DLL * OGRWktReadPoints( const char * pszInput,
76  OGRRawPoint **ppaoPoints,
77  double **ppadfZ,
78  int * pnMaxPoints,
79  int * pnReadPoints );
80 
81 const char CPL_DLL * OGRWktReadPointsM( const char * pszInput,
82  OGRRawPoint **ppaoPoints,
83  double **ppadfZ,
84  double **ppadfM,
85  int * flags, /* geometry flags, are we expecting Z, M, or both; may change due to input */
86  int * pnMaxPoints,
87  int * pnReadPoints );
88 
89 void CPL_DLL OGRMakeWktCoordinate( char *, double, double, double, int );
90 void CPL_DLL OGRMakeWktCoordinateM( char *, double, double, double, double, OGRBoolean, OGRBoolean );
91 
92 #endif
93 
94 void OGRFormatDouble( char *pszBuffer, int nBufferLen, double dfVal,
95  char chDecimalSep, int nPrecision = 15, char chConversionSpecifier = 'f' );
96 
97 /* -------------------------------------------------------------------- */
98 /* Date-time parsing and processing functions */
99 /* -------------------------------------------------------------------- */
100 
101 /* Internal use by OGR drivers only, CPL_DLL is just there in case */
102 /* they are compiled as plugins */
103 int CPL_DLL OGRGetDayOfWeek(int day, int month, int year);
104 int CPL_DLL OGRParseXMLDateTime( const char* pszXMLDateTime,
105  OGRField* psField );
106 int CPL_DLL OGRParseRFC822DateTime( const char* pszRFC822DateTime,
107  OGRField* psField );
108 char CPL_DLL * OGRGetRFC822DateTime(const OGRField* psField);
109 char CPL_DLL * OGRGetXMLDateTime(const OGRField* psField);
110 char CPL_DLL * OGRGetXML_UTF8_EscapedString(const char* pszString);
111 
112 int OGRCompareDate(const OGRField *psFirstTuple,
113  const OGRField *psSecondTuple ); /* used by ogr_gensql.cpp and ogrfeaturequery.cpp */
114 
115 /* General utility option processing. */
116 int CPL_DLL OGRGeneralCmdLineProcessor( int nArgc, char ***ppapszArgv, int nOptions );
117 
118 /************************************************************************/
119 /* Support for special attributes (feature query and selection) */
120 /************************************************************************/
121 #define SPF_FID 0
122 #define SPF_OGR_GEOMETRY 1
123 #define SPF_OGR_STYLE 2
124 #define SPF_OGR_GEOM_WKT 3
125 #define SPF_OGR_GEOM_AREA 4
126 #define SPECIAL_FIELD_COUNT 5
127 
128 extern const char* const SpecialFieldNames[SPECIAL_FIELD_COUNT];
129 
130 #ifdef SWQ_H_INCLUDED_
131 extern const swq_field_type SpecialFieldTypes[SPECIAL_FIELD_COUNT];
132 #endif
133 
134 /************************************************************************/
135 /* Some SRS related stuff, search in SRS data files. */
136 /************************************************************************/
137 
138 OGRErr CPL_DLL OSRGetEllipsoidInfo( int, char **, double *, double *);
139 
140 /* Fast atof function */
141 double OGRFastAtof(const char* pszStr);
142 
143 OGRErr CPL_DLL OGRCheckPermutation(int* panPermutation, int nSize);
144 
145 /* GML related */
146 
147 OGRGeometry *GML2OGRGeometry_XMLNode( const CPLXMLNode *psNode,
148  int nPseudoBoolGetSecondaryGeometryOption,
149  int nRecLevel = 0,
150  int nSRSDimension = 0,
151  bool bIgnoreGSG = false,
152  bool bOrientation = true,
153  bool bFaceHoleNegative = false);
154 
155 /************************************************************************/
156 /* PostGIS EWKB encoding */
157 /************************************************************************/
158 
159 OGRGeometry CPL_DLL *OGRGeometryFromEWKB( GByte *pabyWKB, int nLength, int* pnSRID,
160  int bIsPostGIS1_EWKB );
161 OGRGeometry CPL_DLL *OGRGeometryFromHexEWKB( const char *pszBytea, int* pnSRID,
162  int bIsPostGIS1_EWKB );
163 char CPL_DLL * OGRGeometryToHexEWKB( OGRGeometry * poGeometry, int nSRSId,
164  int nPostGISMajor, int nPostGISMinor );
165 
166 /************************************************************************/
167 /* WKB Type Handling encoding */
168 /************************************************************************/
169 
170 OGRErr OGRReadWKBGeometryType( const unsigned char * pabyData,
171  OGRwkbVariant wkbVariant,
172  OGRwkbGeometryType *eGeometryType );
173 
174 /************************************************************************/
175 /* Other */
176 /************************************************************************/
177 
178 void CPL_DLL OGRUpdateFieldType( OGRFieldDefn* poFDefn,
179  OGRFieldType eNewType,
180  OGRFieldSubType eNewSubType );
181 
182 #endif /* ndef OGR_P_H_INCLUDED */
SRS_PP_CENTRAL_MERIDIAN
#define SRS_PP_CENTRAL_MERIDIAN
Definition: ogr_srs_api.h:269
CXT_Element
@ CXT_Element
Definition: cpl_minixml.h:46
SRS_PT_MILLER_CYLINDRICAL
#define SRS_PT_MILLER_CYLINDRICAL
Definition: ogr_srs_api.h:174
GByte
unsigned char GByte
Definition: cpl_port.h:213
SRS_PT_WAGNER_II
#define SRS_PT_WAGNER_II
Definition: ogr_srs_api.h:238
SRS_PT_MERCATOR_1SP
#define SRS_PT_MERCATOR_1SP
Definition: ogr_srs_api.h:167
SRS_PT_GAUSSSCHREIBERTMERCATOR
#define SRS_PT_GAUSSSCHREIBERTMERCATOR
Definition: ogr_srs_api.h:131
VSIFReadL
size_t VSIFReadL(void *, size_t, size_t, VSILFILE *) EXPERIMENTAL_CPL_WARN_UNUSED_RESULT
Read bytes from file.
Definition: cpl_vsil.cpp:1146
SRS_PT_HOTINE_OBLIQUE_MERCATOR
#define SRS_PT_HOTINE_OBLIQUE_MERCATOR
Definition: ogr_srs_api.h:146
SRS_PT_GALL_STEREOGRAPHIC
#define SRS_PT_GALL_STEREOGRAPHIC
Definition: ogr_srs_api.h:128
SRS_PT_MOLLWEIDE
#define SRS_PT_MOLLWEIDE
Definition: ogr_srs_api.h:176
SRS_PP_RECTIFIED_GRID_ANGLE
#define SRS_PP_RECTIFIED_GRID_ANGLE
Definition: ogr_srs_api.h:305
SRS_PT_ROBINSON
#define SRS_PT_ROBINSON
Definition: ogr_srs_api.h:191
SRS_PP_LATITUDE_OF_POINT_1
#define SRS_PP_LATITUDE_OF_POINT_1
Definition: ogr_srs_api.h:295
SRS_PT_ALBERS_CONIC_EQUAL_AREA
#define SRS_PT_ALBERS_CONIC_EQUAL_AREA
Definition: ogr_srs_api.h:100
SRS_PT_POLYCONIC
#define SRS_PT_POLYCONIC
Definition: ogr_srs_api.h:189
SRS_PT_EQUIRECTANGULAR
#define SRS_PT_EQUIRECTANGULAR
Definition: ogr_srs_api.h:126
CPLCalloc
void * CPLCalloc(size_t, size_t)
Definition: cpl_conv.cpp:138
cpl_minixml.h
OGRFieldDefn::GetWidth
int GetWidth() const
Get the formatting width for this field.
Definition: ogr_feature.h:127
SRS_PP_LONGITUDE_OF_POINT_2
#define SRS_PP_LONGITUDE_OF_POINT_2
Definition: ogr_srs_api.h:297
SRS_PT_TRANSVERSE_MERCATOR
#define SRS_PT_TRANSVERSE_MERCATOR
Definition: ogr_srs_api.h:200
SRS_PT_IMW_POLYCONIC
#define SRS_PT_IMW_POLYCONIC
Definition: ogr_srs_api.h:234
OGRGeometry
Definition: ogr_geometry.h:286
CPLResetExtension
const char * CPLResetExtension(const char *, const char *)
Definition: cpl_path.cpp:431
SRS_PT_CASSINI_SOLDNER
#define SRS_PT_CASSINI_SOLDNER
Definition: ogr_srs_api.h:105
OGRLayer
Definition: ogrsf_frmts.h:70
OGRMIAttrIndex
Definition: ogr_miattrind.cpp:46
SRS_PT_WAGNER_VI
#define SRS_PT_WAGNER_VI
Definition: ogr_srs_api.h:246
SRS_PT_WAGNER_I
#define SRS_PT_WAGNER_I
Definition: ogr_srs_api.h:236
CPLParseXMLString
CPLXMLNode * CPLParseXMLString(const char *)
Parse an XML string into tree form.
Definition: cpl_minixml.cpp:614
ogr_geometry.h
SRS_PT_LAMBERT_CONFORMAL_CONIC_2SP
#define SRS_PT_LAMBERT_CONFORMAL_CONIC_2SP
Definition: ogr_srs_api.h:158
SRS_PP_LATITUDE_OF_1ST_POINT
#define SRS_PP_LATITUDE_OF_1ST_POINT
Definition: ogr_srs_api.h:319
SRS_PP_PEG_POINT_LONGITUDE
#define SRS_PP_PEG_POINT_LONGITUDE
Definition: ogr_srs_api.h:329
OGRMILayerAttrIndex
Definition: ogr_miattrind.cpp:79
CPLRealloc
void * CPLRealloc(void *, size_t)
Definition: cpl_conv.cpp:225
CPLXMLNode
Definition: cpl_minixml.h:66
SRS_PT_EQUIDISTANT_CONIC
#define SRS_PT_EQUIDISTANT_CONIC
Definition: ogr_srs_api.h:123
EQUAL
#define EQUAL(a, b)
Definition: cpl_port.h:559
SRS_PT_BONNE
#define SRS_PT_BONNE
Definition: ogr_srs_api.h:109
VSIFCloseL
int VSIFCloseL(VSILFILE *) EXPERIMENTAL_CPL_WARN_UNUSED_RESULT
Close file.
Definition: cpl_vsil.cpp:928
OGRFieldDefn::GetNameRef
const char * GetNameRef() const
Fetch name of this field.
Definition: ogr_feature.h:113
OGRBoolean
int OGRBoolean
Definition: ogr_core.h:306
SRS_PP_LATITUDE_OF_CENTER
#define SRS_PP_LATITUDE_OF_CENTER
Definition: ogr_srs_api.h:281
SRS_PT_STEREOGRAPHIC
#define SRS_PT_STEREOGRAPHIC
Definition: ogr_srs_api.h:195
CPLAssert
#define CPLAssert(expr)
Definition: cpl_error.h:182
SRS_PT_QSC
#define SRS_PT_QSC
Definition: ogr_srs_api.h:250
OGRRawPoint
Definition: ogr_geometry.h:63
SRS_PP_SCALE_FACTOR
#define SRS_PP_SCALE_FACTOR
Definition: ogr_srs_api.h:271
SRS_PT_AZIMUTHAL_EQUIDISTANT
#define SRS_PT_AZIMUTHAL_EQUIDISTANT
Definition: ogr_srs_api.h:103
CPLSerializeXMLTree
char * CPLSerializeXMLTree(const CPLXMLNode *psNode)
Convert tree into string document.
Definition: cpl_minixml.cpp:1252
SRS_PT_ECKERT_III
#define SRS_PT_ECKERT_III
Definition: ogr_srs_api.h:115
SRS_PT_ECKERT_IV
#define SRS_PT_ECKERT_IV
Definition: ogr_srs_api.h:117
OPTGetProjectionMethods
char ** OPTGetProjectionMethods(void)
Definition: ogr_opt.cpp:511
SRS_PP_LONGITUDE_OF_2ND_POINT
#define SRS_PP_LONGITUDE_OF_2ND_POINT
Definition: ogr_srs_api.h:325
OGRField
Definition: ogr_core.h:679
OGRERR_UNSUPPORTED_OPERATION
#define OGRERR_UNSUPPORTED_OPERATION
Definition: ogr_core.h:296
SRS_PP_LATITUDE_OF_POINT_3
#define SRS_PP_LATITUDE_OF_POINT_3
Definition: ogr_srs_api.h:303
VSIFTellL
vsi_l_offset VSIFTellL(VSILFILE *)
Tell current file offset.
Definition: cpl_vsil.cpp:1031
SRS_PP_LATITUDE_OF_ORIGIN
#define SRS_PP_LATITUDE_OF_ORIGIN
Definition: ogr_srs_api.h:285
CPLE_OpenFailed
#define CPLE_OpenFailed
Definition: cpl_error.h:105
SRS_PP_LONGITUDE_OF_1ST_POINT
#define SRS_PP_LONGITUDE_OF_1ST_POINT
Definition: ogr_srs_api.h:321
OGRERR_FAILURE
#define OGRERR_FAILURE
Definition: ogr_core.h:298
OFTString
@ OFTString
Definition: ogr_core.h:600
SRS_PP_LONGITUDE_OF_CENTER
#define SRS_PP_LONGITUDE_OF_CENTER
Definition: ogr_srs_api.h:279
CPLDestroyXMLNode
void CPLDestroyXMLNode(CPLXMLNode *)
Destroy a tree.
Definition: cpl_minixml.cpp:1412
CPLDebug
void CPLDebug(const char *, const char *,...)
Definition: cpl_error.cpp:544
SRS_PP_PEG_POINT_HEIGHT
#define SRS_PP_PEG_POINT_HEIGHT
Definition: ogr_srs_api.h:333
SRS_PT_GOODE_HOMOLOSINE
#define SRS_PT_GOODE_HOMOLOSINE
Definition: ogr_srs_api.h:137
OGRFieldDefn
Definition: ogr_feature.h:92
SRS_PP_LONGITUDE_OF_POINT_1
#define SRS_PP_LONGITUDE_OF_POINT_1
Definition: ogr_srs_api.h:293
ogr_srs_api.h
SRS_PP_STANDARD_PARALLEL_2
#define SRS_PP_STANDARD_PARALLEL_2
Definition: ogr_srs_api.h:275
SRS_PT_TUNISIA_MINING_GRID
#define SRS_PT_TUNISIA_MINING_GRID
Definition: ogr_srs_api.h:224
OFTInteger
@ OFTInteger
Definition: ogr_core.h:596
VSIUnlink
int VSIUnlink(const char *pszFilename)
Delete a file.
Definition: cpl_vsil.cpp:408
CPLMalloc
void * CPLMalloc(size_t)
Definition: cpl_conv.cpp:168
SRS_PP_STANDARD_PARALLEL_1
#define SRS_PP_STANDARD_PARALLEL_1
Definition: ogr_srs_api.h:273
SRS_PT_GEOSTATIONARY_SATELLITE
#define SRS_PT_GEOSTATIONARY_SATELLITE
Definition: ogr_srs_api.h:134
SRS_PT_POLAR_STEREOGRAPHIC
#define SRS_PT_POLAR_STEREOGRAPHIC
Definition: ogr_srs_api.h:186
ogr_feature.h
cpl_conv.h
cpl_string.h
SRS_PT_ORTHOGRAPHIC
#define SRS_PT_ORTHOGRAPHIC
Definition: ogr_srs_api.h:184
SRS_PT_GNOMONIC
#define SRS_PT_GNOMONIC
Definition: ogr_srs_api.h:141
VSIFSeekL
int VSIFSeekL(VSILFILE *, vsi_l_offset, int) EXPERIMENTAL_CPL_WARN_UNUSED_RESULT
Seek to requested offset.
Definition: cpl_vsil.cpp:988
CPLSPrintf
const char * CPLSPrintf(const char *fmt,...)
Definition: cpl_string.cpp:977
CPLGetXMLValue
const char * CPLGetXMLValue(const CPLXMLNode *poRoot, const char *pszPath, const char *pszDefault)
Fetch element/attribute value.
Definition: cpl_minixml.cpp:1645
SRS_PT_NEW_ZEALAND_MAP_GRID
#define SRS_PT_NEW_ZEALAND_MAP_GRID
Definition: ogr_srs_api.h:178
SRS_PP_LONGITUDE_OF_ORIGIN
#define SRS_PP_LONGITUDE_OF_ORIGIN
Definition: ogr_srs_api.h:283
CPLError
void CPLError(CPLErr eErrClass, CPLErrorNum err_no, const char *fmt,...)
Definition: cpl_error.cpp:232
SRS_PT_LAMBERT_CONFORMAL_CONIC_1SP
#define SRS_PT_LAMBERT_CONFORMAL_CONIC_1SP
Definition: ogr_srs_api.h:155
vsi_l_offset
GUIntBig vsi_l_offset
Definition: cpl_vsi.h:139
SRS_PP_LATITUDE_OF_POINT_2
#define SRS_PP_LATITUDE_OF_POINT_2
Definition: ogr_srs_api.h:299
SRS_PT_HOTINE_OBLIQUE_MERCATOR_TWO_POINT_NATURAL_ORIGIN
#define SRS_PT_HOTINE_OBLIQUE_MERCATOR_TWO_POINT_NATURAL_ORIGIN
Definition: ogr_srs_api.h:149
CPLE_NotSupported
#define CPLE_NotSupported
Definition: cpl_error.h:109
SRS_PT_VANDERGRINTEN
#define SRS_PT_VANDERGRINTEN
Definition: ogr_srs_api.h:230
SRS_PP_SATELLITE_HEIGHT
#define SRS_PP_SATELLITE_HEIGHT
Definition: ogr_srs_api.h:313
OGRFieldDefn::GetType
OGRFieldType GetType() const
Fetch type of this field.
Definition: ogr_feature.h:115
SRS_PT_OBLIQUE_STEREOGRAPHIC
#define SRS_PT_OBLIQUE_STEREOGRAPHIC
Definition: ogr_srs_api.h:181
CPLCreateXMLNode
CPLXMLNode * CPLCreateXMLNode(CPLXMLNode *poParent, CPLXMLNodeType eType, const char *pszText)
Create an document tree item.
Definition: cpl_minixml.cpp:1297
OGRFeature::IsFieldSetAndNotNull
bool IsFieldSetAndNotNull(int iField) const
Test if a field is set and not null.
Definition: ogrfeature.cpp:1583
SRS_PT_WAGNER_III
#define SRS_PT_WAGNER_III
Definition: ogr_srs_api.h:240
OGRErr
int OGRErr
Definition: ogr_core.h:290
SRS_PT_ECKERT_VI
#define SRS_PT_ECKERT_VI
Definition: ogr_srs_api.h:121
GIntBig
long long GIntBig
Definition: cpl_port.h:246
SRS_PT_WAGNER_V
#define SRS_PT_WAGNER_V
Definition: ogr_srs_api.h:244
SRS_PT_MERCATOR_2SP
#define SRS_PT_MERCATOR_2SP
Definition: ogr_srs_api.h:169
OGRwkbGeometryType
OGRwkbGeometryType
Definition: ogr_core.h:317
CPL_UNUSED
#define CPL_UNUSED
Definition: cpl_port.h:938
SRS_PP_FALSE_EASTING
#define SRS_PP_FALSE_EASTING
Definition: ogr_srs_api.h:287
CPLXMLNode::psNext
struct CPLXMLNode * psNext
Next sibling.
Definition: cpl_minixml.h:106
OGRFeature::GetRawFieldRef
OGRField * GetRawFieldRef(int i)
Fetch a pointer to the internal field value given the index.
Definition: ogr_feature.h:618
SRS_PT_CYLINDRICAL_EQUAL_AREA
#define SRS_PT_CYLINDRICAL_EQUAL_AREA
Definition: ogr_srs_api.h:107
OGRFeature
Definition: ogr_feature.h:353
cpl_port.h
SRS_PT_IGH
#define SRS_PT_IGH
Definition: ogr_srs_api.h:139
OGRFieldSubType
OGRFieldSubType
Definition: ogr_core.h:622
SRS_PT_TRANSVERSE_MERCATOR_SOUTH_ORIENTED
#define SRS_PT_TRANSVERSE_MERCATOR_SOUTH_ORIENTED
Definition: ogr_srs_api.h:203
VSIFOpenL
VSILFILE * VSIFOpenL(const char *, const char *)
Open file.
Definition: cpl_vsil.cpp:818
OPTGetParameterList
char ** OPTGetParameterList(const char *pszProjectionMethod, char **ppszUserName)
Definition: ogr_opt.cpp:545
OGRFieldType
OGRFieldType
Definition: ogr_core.h:594
SRS_PP_PEG_POINT_HEADING
#define SRS_PP_PEG_POINT_HEADING
Definition: ogr_srs_api.h:331
SRS_PT_ECKERT_I
#define SRS_PT_ECKERT_I
Definition: ogr_srs_api.h:111
CSLAddString
char ** CSLAddString(char **papszStrList, const char *pszNewString)
Definition: cpl_string.cpp:83
SRS_PT_ECKERT_II
#define SRS_PT_ECKERT_II
Definition: ogr_srs_api.h:113
SRS_PT_KROVAK
#define SRS_PT_KROVAK
Definition: ogr_srs_api.h:232
OFTInteger64
@ OFTInteger64
Definition: ogr_core.h:608
SRS_PT_WAGNER_IV
#define SRS_PT_WAGNER_IV
Definition: ogr_srs_api.h:242
CPLCreateXMLElementAndValue
CPLXMLNode * CPLCreateXMLElementAndValue(CPLXMLNode *psParent, const char *pszName, const char *pszValue)
Create an element and text value.
Definition: cpl_minixml.cpp:1851
SRS_PT_SCH
#define SRS_PT_SCH
Definition: ogr_srs_api.h:266
SRS_PT_LAMBERT_AZIMUTHAL_EQUAL_AREA
#define SRS_PT_LAMBERT_AZIMUTHAL_EQUAL_AREA
Definition: ogr_srs_api.h:164
OGRERR_NONE
#define OGRERR_NONE
Definition: ogr_core.h:292
CPLStrdup
char * CPLStrdup(const char *)
Definition: cpl_conv.cpp:293
CPLAtof
double CPLAtof(const char *)
Definition: cpl_strtod.cpp:117
SRS_PT_WAGNER_VII
#define SRS_PT_WAGNER_VII
Definition: ogr_srs_api.h:248
CPLXMLNode::psChild
struct CPLXMLNode * psChild
Child node.
Definition: cpl_minixml.h:118
SRS_PP_FALSE_NORTHING
#define SRS_PP_FALSE_NORTHING
Definition: ogr_srs_api.h:289
OFTReal
@ OFTReal
Definition: ogr_core.h:598
SRS_PP_PEG_POINT_LATITUDE
#define SRS_PP_PEG_POINT_LATITUDE
Definition: ogr_srs_api.h:327
SRS_PT_ECKERT_V
#define SRS_PT_ECKERT_V
Definition: ogr_srs_api.h:119
ogr_core.h
SRS_PT_SINUSOIDAL
#define SRS_PT_SINUSOIDAL
Definition: ogr_srs_api.h:193
OGRNullFID
#define OGRNullFID
Definition: ogr_core.h:646
CPLFree
#define CPLFree
Definition: cpl_conv.h:81
SRS_PP_PSEUDO_STD_PARALLEL_1
#define SRS_PP_PSEUDO_STD_PARALLEL_1
Definition: ogr_srs_api.h:277
CPLGetFilename
const char * CPLGetFilename(const char *)
Definition: cpl_path.cpp:260
SRS_PP_LATITUDE_OF_2ND_POINT
#define SRS_PP_LATITUDE_OF_2ND_POINT
Definition: ogr_srs_api.h:323
OGRwkbVariant
OGRwkbVariant
Definition: ogr_core.h:423
OGRFeature::GetFID
GIntBig GetFID() const
Get feature identifier.
Definition: ogr_feature.h:711
SRS_PP_AZIMUTH
#define SRS_PP_AZIMUTH
Definition: ogr_srs_api.h:291
VSILFILE
FILE VSILFILE
Definition: cpl_vsi.h:155
SRS_PT_TWO_POINT_EQUIDISTANT
#define SRS_PT_TWO_POINT_EQUIDISTANT
Definition: ogr_srs_api.h:227
SRS_PT_LAMBERT_CONFORMAL_CONIC_2SP_BELGIUM
#define SRS_PT_LAMBERT_CONFORMAL_CONIC_2SP_BELGIUM
Definition: ogr_srs_api.h:161
STARTS_WITH_CI
#define STARTS_WITH_CI(a, b)
Definition: cpl_port.h:570
CPLE_AppDefined
#define CPLE_AppDefined
Definition: cpl_error.h:99
SRS_PP_LONGITUDE_OF_POINT_3
#define SRS_PP_LONGITUDE_OF_POINT_3
Definition: ogr_srs_api.h:301

Generated for GDAL by doxygen 1.8.17.