OGR
ogrunionlayer.h
1 /******************************************************************************
2  * $Id: ogrunionlayer.h 2c3d60220a2d6b41496ded571e231b96435bffa0 2016-11-25 14:09:24Z Even Rouault $
3  *
4  * Project: OpenGIS Simple Features Reference Implementation
5  * Purpose: Defines OGRUnionLayer class
6  * Author: Even Rouault, even dot rouault at mines dash paris dot org
7  *
8  ******************************************************************************
9  * Copyright (c) 2012-2014, 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 OGRUNIONLAYER_H_INCLUDED
31 #define OGRUNIONLAYER_H_INCLUDED
32 
33 #ifndef DOXYGEN_SKIP
34 
35 #include "ogrsf_frmts.h"
36 
37 /************************************************************************/
38 /* OGRUnionLayerGeomFieldDefn */
39 /************************************************************************/
40 
41 class OGRUnionLayerGeomFieldDefn: public OGRGeomFieldDefn
42 {
43  public:
44 
45  int bGeomTypeSet;
46  int bSRSSet;
47  OGREnvelope sStaticEnvelope;
48 
49  OGRUnionLayerGeomFieldDefn(const char* pszName, OGRwkbGeometryType eType);
50  explicit OGRUnionLayerGeomFieldDefn(OGRGeomFieldDefn* poSrc);
51  explicit OGRUnionLayerGeomFieldDefn(OGRUnionLayerGeomFieldDefn* poSrc);
52  ~OGRUnionLayerGeomFieldDefn();
53 };
54 
55 /************************************************************************/
56 /* OGRUnionLayer */
57 /************************************************************************/
58 
59 typedef enum
60 {
61  FIELD_FROM_FIRST_LAYER,
62  FIELD_UNION_ALL_LAYERS,
63  FIELD_INTERSECTION_ALL_LAYERS,
64  FIELD_SPECIFIED,
65 } FieldUnionStrategy;
66 
67 class OGRUnionLayer : public OGRLayer
68 {
69  protected:
70  CPLString osName;
71  int nSrcLayers;
72  OGRLayer **papoSrcLayers;
73  int bHasLayerOwnership;
74 
75  OGRFeatureDefn *poFeatureDefn;
76  int nFields;
77  OGRFieldDefn **papoFields;
78  int nGeomFields;
79  OGRUnionLayerGeomFieldDefn **papoGeomFields;
80  FieldUnionStrategy eFieldStrategy;
81  CPLString osSourceLayerFieldName;
82 
83  int bPreserveSrcFID;
84 
85  GIntBig nFeatureCount;
86 
87  int iCurLayer;
88  char *pszAttributeFilter;
89  int nNextFID;
90  int *panMap;
91  char **papszIgnoredFields;
92  int bAttrFilterPassThroughValue;
93  int *pabModifiedLayers;
94  int *pabCheckIfAutoWrap;
95  OGRSpatialReference *poGlobalSRS;
96 
97  void AutoWarpLayerIfNecessary(int iSubLayer);
98  OGRFeature *TranslateFromSrcLayer(OGRFeature* poSrcFeature);
99  void ApplyAttributeFilterToSrcLayer(int iSubLayer);
100  int GetAttrFilterPassThroughValue();
101  void ConfigureActiveLayer();
102  void SetSpatialFilterToSourceLayer(OGRLayer* poSrcLayer);
103 
104  public:
105  OGRUnionLayer( const char* pszName,
106  int nSrcLayers, /* must be >= 1 */
107  OGRLayer** papoSrcLayers, /* array itself ownership always transferred, layer ownership depending on bTakeLayerOwnership */
108  int bTakeLayerOwnership);
109 
110  virtual ~OGRUnionLayer();
111 
112  /* All the following non virtual methods must be called just after the constructor */
113  /* and before any virtual method */
114  void SetFields(FieldUnionStrategy eFieldStrategy,
115  int nFields,
116  OGRFieldDefn** papoFields, /* duplicated by the method */
117  int nGeomFields, /* maybe -1 to explicitly disable geometry fields */
118  OGRUnionLayerGeomFieldDefn** papoGeomFields /* duplicated by the method */);
119  void SetSourceLayerFieldName(const char* pszSourceLayerFieldName);
120  void SetPreserveSrcFID(int bPreserveSrcFID);
121  void SetFeatureCount(int nFeatureCount);
122  virtual const char *GetName() override { return osName.c_str(); }
123  virtual OGRwkbGeometryType GetGeomType() override;
124 
125  virtual void ResetReading() override;
126  virtual OGRFeature *GetNextFeature() override;
127 
128  virtual OGRFeature *GetFeature( GIntBig nFeatureId ) override;
129 
130  virtual OGRErr ICreateFeature( OGRFeature* poFeature ) override;
131 
132  virtual OGRErr ISetFeature( OGRFeature* poFeature ) override;
133 
134  virtual OGRFeatureDefn *GetLayerDefn() override;
135 
136  virtual OGRSpatialReference *GetSpatialRef() override;
137 
138  virtual GIntBig GetFeatureCount( int ) override;
139 
140  virtual OGRErr SetAttributeFilter( const char * ) override;
141 
142  virtual int TestCapability( const char * ) override;
143 
144  virtual OGRErr GetExtent(int iGeomField, OGREnvelope *psExtent, int bForce = TRUE) override;
145  virtual OGRErr GetExtent( OGREnvelope *psExtent, int bForce ) override;
146 
147  virtual void SetSpatialFilter( OGRGeometry * poGeomIn ) override;
148  virtual void SetSpatialFilter( int iGeomField, OGRGeometry * ) override;
149 
150  virtual OGRErr SetIgnoredFields( const char **papszFields ) override;
151 
152  virtual OGRErr SyncToDisk() override;
153 };
154 
155 #endif /* #ifndef DOXYGEN_SKIP */
156 
157 #endif // OGRUNIONLAYER_H_INCLUDED
OGRSpatialReference::GetRoot
OGR_SRSNode * GetRoot()
Return root node.
Definition: ogr_spatialref.h:266
OGRLayer::GetName
virtual const char * GetName()
Return the layer name.
Definition: ogrlayer.cpp:1727
OGRSpatialReference::exportToPrettyWkt
OGRErr exportToPrettyWkt(char **, int=FALSE) const
Definition: ogrspatialreference.cpp:658
OGRSpatialReference::GetPrimeMeridian
double GetPrimeMeridian(char **) const CPL_WARN_DEPRECATED("Use GetPrimeMeridian( const char**) instead")
Fetch prime meridian info.
Definition: ogrspatialreference.cpp:1698
OGRSpatialReference::SetEC
OGRErr SetEC(double dfStdP1, double dfStdP2, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4411
OGR_SRSNode::DestroyChild
void DestroyChild(int)
Definition: ogr_srsnode.cpp:291
SRS_PP_CENTRAL_MERIDIAN
#define SRS_PP_CENTRAL_MERIDIAN
Definition: ogr_srs_api.h:269
SRS_UA_DEGREE_CONV
#define SRS_UA_DEGREE_CONV
Definition: ogr_srs_api.h:446
OGR_SRSNode::GetChildCount
int GetChildCount() const
Definition: ogr_spatialref.h:86
OLCFastSpatialFilter
#define OLCFastSpatialFilter
Definition: ogr_core.h:751
OGRSpatialReference::importFromCRSURL
OGRErr importFromCRSURL(const char *)
Initialize from OGC URL.
Definition: ogrspatialreference.cpp:2766
OGRGeometry::Is3D
OGRBoolean Is3D() const
Definition: ogr_geometry.h:362
OSRSetEC
OGRErr OSRSetEC(OGRSpatialReferenceH hSRS, double dfStdP1, double dfStdP2, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4432
OLCIgnoreFields
#define OLCIgnoreFields
Definition: ogr_core.h:762
OSRSetMercator
OGRErr OSRSetMercator(OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfScale, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5361
OGRSpatialReference::SetAngularUnits
OGRErr SetAngularUnits(const char *pszName, double dfInRadians)
Set the angular units for the geographic coordinate system.
Definition: ogrspatialreference.cpp:1050
OGR_SRSNode::FixupOrdering
OGRErr FixupOrdering()
Definition: ogr_srsnode.cpp:947
wkbTINM
@ wkbTINM
Definition: ogr_core.h:378
CPLHTTPFetch
CPLHTTPResult * CPLHTTPFetch(const char *pszURL, CSLConstList papszOptions)
Fetch a document from an url and return in a string.
Definition: cpl_http.cpp:620
OGRGeometryCollection::addGeometryDirectly
virtual OGRErr addGeometryDirectly(OGRGeometry *)
Add a geometry directly to the container.
Definition: ogrgeometrycollection.cpp:381
OSRSetUTM
OGRErr OSRSetUTM(OGRSpatialReferenceH hSRS, int nZone, int bNorth)
Set UTM projection definition.
Definition: ogrspatialreference.cpp:5879
ogr_spatialref.h
OGRSpatialReference::SetVertCS
OGRErr SetVertCS(const char *pszVertCSName, const char *pszVertDatumName, int nVertDatumClass=2005)
Set the user visible VERT_CS name.
Definition: ogrspatialreference.cpp:3391
OGRSpatialReference::SetMercator2SP
OGRErr SetMercator2SP(double dfStdP1, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5379
SRS_PT_MILLER_CYLINDRICAL
#define SRS_PT_MILLER_CYLINDRICAL
Definition: ogr_srs_api.h:174
OAO_North
@ OAO_North
Definition: ogr_srs_api.h:50
OSRSetStereographic
OGRErr OSRSetStereographic(OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfScale, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5722
OGRMultiPolygon
Definition: ogr_geometry.h:2307
OGRSpatialReference::SetNode
OGRErr SetNode(const char *, const char *)
Set attribute value in spatial reference.
Definition: ogrspatialreference.cpp:920
SRS_PT_WAGNER_II
#define SRS_PT_WAGNER_II
Definition: ogr_srs_api.h:238
OGRPolyhedralSurface::addGeometryDirectly
OGRErr addGeometryDirectly(OGRGeometry *poNewGeom)
Add a geometry directly to the container.
Definition: ogrpolyhedralsurface.cpp:882
OGRFeature::SetFID
virtual OGRErr SetFID(GIntBig nFIDIn)
Set the feature identifier.
Definition: ogrfeature.cpp:5436
SRS_PT_MERCATOR_1SP
#define SRS_PT_MERCATOR_1SP
Definition: ogr_srs_api.h:167
OSRGetInvFlattening
double OSRGetInvFlattening(OGRSpatialReferenceH, OGRErr *)
Get spheroid inverse flattening.
Definition: ogrspatialreference.cpp:3130
OSRSetMercator2SP
OGRErr OSRSetMercator2SP(OGRSpatialReferenceH hSRS, double dfStdP1, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5403
OGRERR_UNSUPPORTED_GEOMETRY_TYPE
#define OGRERR_UNSUPPORTED_GEOMETRY_TYPE
Definition: ogr_core.h:295
OSRSetHOM2PNO
OGRErr OSRSetHOM2PNO(OGRSpatialReferenceH hSRS, double dfCenterLat, double dfLat1, double dfLong1, double dfLat2, double dfLong2, double dfScale, double dfFalseEasting, double dfFalseNorthing)
Set a Hotine Oblique Mercator projection using two points on projection centerline.
Definition: ogrspatialreference.cpp:5045
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
VALIDATE_POINTER0
#define VALIDATE_POINTER0(ptr, func)
Definition: cpl_error.h:251
SRS_PT_HOTINE_OBLIQUE_MERCATOR
#define SRS_PT_HOTINE_OBLIQUE_MERCATOR
Definition: ogr_srs_api.h:146
OSRSetTMG
OGRErr OSRSetTMG(OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4216
SRS_PT_GALL_STEREOGRAPHIC
#define SRS_PT_GALL_STEREOGRAPHIC
Definition: ogr_srs_api.h:128
OSRExportToWkt
OGRErr CPL_STDCALL OSRExportToWkt(OGRSpatialReferenceH, char **)
Convert this SRS into WKT format.
Definition: ogrspatialreference.cpp:753
SRS_PT_MOLLWEIDE
#define SRS_PT_MOLLWEIDE
Definition: ogr_srs_api.h:176
OAO_Down
@ OAO_Down
Definition: ogr_srs_api.h:55
cpl_error.h
OGRSpatialReference::SetMercator
OGRErr SetMercator(double dfCenterLat, double dfCenterLong, double dfScale, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5338
OSRImportFromMICoordSys
OGRErr OSRImportFromMICoordSys(OGRSpatialReferenceH, const char *)
Import Mapinfo style CoordSys definition.
Definition: ogrspatialreference.cpp:8513
OGRSpatialReference::GetSemiMinor
double GetSemiMinor(OGRErr *=nullptr) const
Get spheroid semi minor axis.
Definition: ogrspatialreference.cpp:3209
OGRFeatureDefn::AddFieldDefn
virtual void AddFieldDefn(OGRFieldDefn *)
Add a new field definition.
Definition: ogrfeaturedefn.cpp:432
OGRSpatialReference::~OGRSpatialReference
virtual ~OGRSpatialReference()
OGRSpatialReference destructor.
Definition: ogrspatialreference.cpp:200
OSRConvertToOtherProjection
OGRSpatialReferenceH OSRConvertToOtherProjection(OGRSpatialReferenceH hSRS, const char *pszTargetProjection, const char *const *papszOptions)
Convert to another equivalent projection.
Definition: ogrspatialreference.cpp:7615
OGRSpatialReference::Release
void Release()
Decrements the reference count by one, and destroy if zero.
Definition: ogrspatialreference.cpp:398
OGRSpatialReference::SetWellKnownGeogCS
OGRErr SetWellKnownGeogCS(const char *)
Set a GeogCS based on well known name.
Definition: ogrspatialreference.cpp:1954
OSRSetIWMPolyconic
OGRErr OSRSetIWMPolyconic(OGRSpatialReferenceH hSRS, double dfLat1, double dfLat2, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5087
SRS_PP_RECTIFIED_GRID_ANGLE
#define SRS_PP_RECTIFIED_GRID_ANGLE
Definition: ogr_srs_api.h:305
OGRSpatialReference::SetTOWGS84
OGRErr SetTOWGS84(double, double, double, double=0.0, double=0.0, double=0.0, double=0.0)
Set the Bursa-Wolf conversion to WGS84.
Definition: ogrspatialreference.cpp:7736
SRS_PT_HOTINE_OBLIQUE_MERCATOR_AZIMUTH_CENTER
#define SRS_PT_HOTINE_OBLIQUE_MERCATOR_AZIMUTH_CENTER
Definition: ogr_srs_api.h:143
OGRTriangle::~OGRTriangle
~OGRTriangle() override
Destructor.
Definition: ogrtriangle.cpp:126
OGRLayer::GetNextFeature
virtual OGRFeature * GetNextFeature() CPL_WARN_UNUSED_RESULT=0
Fetch the next available feature from this layer.
OGRLayer::ResetReading
virtual void ResetReading()=0
Reset feature reading to start on the first feature.
SRS_PT_ROBINSON
#define SRS_PT_ROBINSON
Definition: ogr_srs_api.h:191
OGRSpatialReference::SetTMG
OGRErr SetTMG(double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4199
OSRSetProjParm
OGRErr OSRSetProjParm(OGRSpatialReferenceH, const char *, double)
Set a projection parameter value.
Definition: ogrspatialreference.cpp:3760
OGRSpatialReference::IsLongitudeParameter
static int IsLongitudeParameter(const char *)
Definition: ogrspatialreference.cpp:7889
CPLHTTPDestroyResult
void CPLHTTPDestroyResult(CPLHTTPResult *psResult)
Clean the memory associated with the return value of CPLHTTPFetch()
Definition: cpl_http.cpp:1932
SRS_PP_LATITUDE_OF_POINT_1
#define SRS_PP_LATITUDE_OF_POINT_1
Definition: ogr_srs_api.h:295
CPLString::Printf
CPLSTRING_DLL CPLString & Printf(const char *pszFormat,...)
Definition: cplstring.cpp:67
OGRSpatialReference::SetEckert
OGRErr SetEckert(int nVariation, double dfCentralMeridian, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4451
OGRSpatialReference::SetEquirectangular
OGRErr SetEquirectangular(double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4578
OGR_SRSNode::GetNode
OGR_SRSNode * GetNode(const char *)
Definition: ogr_srsnode.cpp:171
OGRSpatialReference::StripVertical
OGRErr StripVertical()
Convert a compound cs into a horizontal CS.
Definition: ogrspatialreference.cpp:6323
OGRSpatialReference::importFromMICoordSys
OGRErr importFromMICoordSys(const char *)
Import Mapinfo style CoordSys definition.
Definition: ogrspatialreference.cpp:8539
OGRSpatialReference::GetAuthorityCode
const char * GetAuthorityCode(const char *pszTargetKey) const
Get the authority code for a node.
Definition: ogrspatialreference.cpp:6183
OAO_West
@ OAO_West
Definition: ogr_srs_api.h:53
wkbTriangleZ
@ wkbTriangleZ
Definition: ogr_core.h:361
OSRGetNormProjParm
double OSRGetNormProjParm(OGRSpatialReferenceH hSRS, const char *pszParmName, double dfDefault, OGRErr *)
This function is the same as OGRSpatialReference::
Definition: ogrspatialreference.cpp:3962
OGRSpatialReference::SetLCC1SP
OGRErr SetLCC1SP(double dfCenterLat, double dfCenterLong, double dfScale, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5227
OSRFixup
OGRErr OSRFixup(OGRSpatialReferenceH)
Fixup as needed.
Definition: ogrspatialreference.cpp:8052
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
OGRSpatialReference::morphFromESRI
OGRErr morphFromESRI()
Convert in place from ESRI WKT format.
Definition: ogr_srs_esri.cpp:1971
OGRSpatialReference::GetAttrValue
const char * GetAttrValue(const char *, int=0) const
Fetch indicated attribute of named node.
Definition: ogrspatialreference.cpp:545
OSRSetOrthographic
OGRErr OSRSetOrthographic(OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5544
CPLCalloc
void * CPLCalloc(size_t, size_t)
Definition: cpl_conv.cpp:138
OGRPolygon::importFromWkb
virtual OGRErr importFromWkb(const unsigned char *, int, OGRwkbVariant, int &nBytesConsumedOut) override
Assign geometry from well known binary data.
Definition: ogrpolygon.cpp:320
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
OGRSpatialReference::SetExtension
OGRErr SetExtension(const char *pszTargetKey, const char *pszName, const char *pszValue)
Set extension value.
Definition: ogrspatialreference.cpp:8126
OGRLayer::GetSpatialRef
virtual OGRSpatialReference * GetSpatialRef()
Fetch the spatial reference system for this layer.
Definition: ogrlayer.cpp:1036
OGRSpatialReference::FindMatches
OGRSpatialReferenceH * FindMatches(char **papszOptions, int *pnEntries, int **ppanMatchConfidence) const
Try to identify a match between the passed SRS and a related SRS in a catalog (currently EPSG only)
Definition: ogr_fromepsg.cpp:3411
OGRFeatureDefn::GetGeomFieldIndex
virtual int GetGeomFieldIndex(const char *) const
Find geometry field by name.
Definition: ogrfeaturedefn.cpp:915
OSRSetEquirectangular2
OGRErr OSRSetEquirectangular2(OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfPseudoStdParallel1, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4636
OGRSpatialReference::SetAE
OGRErr SetAE(double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4273
OGRFieldDefn::GetWidth
int GetWidth() const
Get the formatting width for this field.
Definition: ogr_feature.h:127
OGR_SRSNode::ClearChildren
void ClearChildren()
Definition: ogr_srsnode.cpp:82
OGR_Dr_TestCapability
int OGR_Dr_TestCapability(OGRSFDriverH, const char *)
Test if capability is available.
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:145
OGRSpatialReference::StripCTParms
OGRErr StripCTParms(OGR_SRSNode *=nullptr)
Strip OGC CT Parameters.
Definition: ogrspatialreference.cpp:6357
OGRSpatialReference::SetACEA
OGRErr SetACEA(double dfStdP1, double dfStdP2, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4233
SRS_PP_LONGITUDE_OF_POINT_2
#define SRS_PP_LONGITUDE_OF_POINT_2
Definition: ogr_srs_api.h:297
OGRCreateCoordinateTransformation
OGRCoordinateTransformation * OGRCreateCoordinateTransformation(OGRSpatialReference *poSource, OGRSpatialReference *poTarget)
Definition: ogrct.cpp:493
OGRPolyhedralSurface
Definition: ogr_geometry.h:2392
OGRLayer::GetFeatureCount
virtual GIntBig GetFeatureCount(int bForce=TRUE)
Fetch the feature count in this layer.
Definition: ogrlayer.cpp:172
SRS_PT_TRANSVERSE_MERCATOR
#define SRS_PT_TRANSVERSE_MERCATOR
Definition: ogr_srs_api.h:200
CPLsnprintf
int CPLsnprintf(char *str, size_t size, const char *fmt,...)
Definition: cpl_string.cpp:1337
OSRSetGnomonic
OGRErr OSRSetGnomonic(OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4842
OGRFeature::GetFieldAsString
const char * GetFieldAsString(int i) const
Fetch field value as a string.
Definition: ogrfeature.cpp:2297
OGRSpatialReference::Clone
OGRSpatialReference * Clone() const
Make a duplicate of this OGRSpatialReference.
Definition: ogrspatialreference.cpp:590
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:599
OGRSpatialReference::GetNormProjParm
double GetNormProjParm(const char *, double=0.0, OGRErr *=nullptr) const
Fetch a normalized projection parameter value.
Definition: ogrspatialreference.cpp:3924
SRS_PT_IMW_POLYCONIC
#define SRS_PT_IMW_POLYCONIC
Definition: ogr_srs_api.h:234
OGRSpatialReference::IsLocal
int IsLocal() const
Check if local coordinate system.
Definition: ogrspatialreference.cpp:6587
OLCSequentialWrite
#define OLCSequentialWrite
Definition: ogr_core.h:749
OGRTriangulatedSurface::CastToPolyhedralSurface
static OGRPolyhedralSurface * CastToPolyhedralSurface(OGRTriangulatedSurface *poTS)
Casts the OGRTriangulatedSurface to an OGRPolyhedralSurface.
Definition: ogrtriangulatedsurface.cpp:259
OGRGeometry
Definition: ogr_geometry.h:286
OGRSpatialReference::IsSame
int IsSame(const OGRSpatialReference *) const
Do these two spatial references describe the same system ?
Definition: ogrspatialreference.cpp:6997
wkbTriangleM
@ wkbTriangleM
Definition: ogr_core.h:379
OGRFeatureDefn::GetName
virtual const char * GetName() const
Get name of this OGRFeatureDefn.
Definition: ogrfeaturedefn.cpp:248
OGRSpatialReference::SetSinusoidal
OGRErr SetSinusoidal(double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5668
OGRSpatialReference::SetLinearUnits
OGRErr SetLinearUnits(const char *pszName, double dfInMeters)
Set the linear units for the projection.
Definition: ogrspatialreference.cpp:1304
SRS_PT_CASSINI_SOLDNER
#define SRS_PT_CASSINI_SOLDNER
Definition: ogr_srs_api.h:105
OGRGeometry::getGeometryName
virtual const char * getGeometryName() const =0
Fetch WKT name for geometry type.
OGRSFDriverH
void * OGRSFDriverH
Definition: ogr_api.h:512
ograpispy.h
CSLCount
int CSLCount(CSLConstList papszStrList)
Definition: cpl_string.cpp:147
OSRSetTPED
OGRErr OSRSetTPED(OGRSpatialReferenceH hSRS, double dfLat1, double dfLong1, double dfLat2, double dfLong2, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4162
OGRSpatialReference::importFromURN
OGRErr importFromURN(const char *)
Initialize from OGC URN.
Definition: ogrspatialreference.cpp:2620
OGRSpatialReference::FromHandle
static OGRSpatialReference * FromHandle(OGRSpatialReferenceH hSRS)
Definition: ogr_spatialref.h:652
OGRLayer
Definition: ogrsf_frmts.h:70
CPLString
Convenient string class based on std::string.
Definition: cpl_string.h:336
OGROpen
OGRDataSourceH OGROpen(const char *, int, OGRSFDriverH *) CPL_WARN_UNUSED_RESULT
Open a file / data source with one of the registered drivers.
OSRSetAuthority
OGRErr OSRSetAuthority(OGRSpatialReferenceH hSRS, const char *pszTargetKey, const char *pszAuthority, int nCode)
Set the authority for a node.
Definition: ogrspatialreference.cpp:6146
OGRSpatialReference::SetProjParm
OGRErr SetProjParm(const char *, double)
Set a projection parameter value.
Definition: ogrspatialreference.cpp:3710
OGRSpatialReference::SetPS
OGRErr SetPS(double dfCenterLat, double dfCenterLong, double dfScale, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5597
OGRSpatialReference::IsProjected
int IsProjected() const
Check if projected coordinate system.
Definition: ogrspatialreference.cpp:6453
OGRSpatialReference::GetWGS84SRS
static OGRSpatialReference * GetWGS84SRS()
Returns an instance of a SRS object with WGS84 WKT.
Definition: ogrspatialreference.cpp:8632
OGR_SRSNode::SetValue
void SetValue(const char *)
Definition: ogr_srsnode.cpp:358
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
OGRSpatialReference::CopyGeogCSFrom
OGRErr CopyGeogCSFrom(const OGRSpatialReference *poSrcSRS)
Copy GEOGCS from another OGRSpatialReference.
Definition: ogrspatialreference.cpp:2078
OGRPoint
Definition: ogr_geometry.h:809
OGRSpatialReference::ToHandle
static OGRSpatialReferenceH ToHandle(OGRSpatialReference *poSRS)
Definition: ogr_spatialref.h:646
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
OGRSpatialReference::Reference
int Reference()
Increments the reference count by one.
Definition: ogrspatialreference.cpp:313
ogr_geometry.h
OSRCleanup
void OSRCleanup(void)
Cleanup cached SRS related memory.
Definition: ogrspatialreference.cpp:8190
OGRTriangulatedSurface::addGeometry
virtual OGRErr addGeometry(const OGRGeometry *) override
Add a new geometry to a collection.
Definition: ogrtriangulatedsurface.cpp:184
OSRSetLinearUnits
OGRErr OSRSetLinearUnits(OGRSpatialReferenceH, const char *, double)
Set the linear units for the projection.
Definition: ogrspatialreference.cpp:1320
SRS_PT_LAMBERT_CONFORMAL_CONIC_2SP
#define SRS_PT_LAMBERT_CONFORMAL_CONIC_2SP
Definition: ogr_srs_api.h:158
OGRCleanupAll
void OGRCleanupAll(void)
OGRSpatialReference::importFromWMSAUTO
OGRErr importFromWMSAUTO(const char *pszAutoDef)
Initialize from WMSAUTO string.
Definition: ogrspatialreference.cpp:2909
OGRGeomFieldDefn::SetType
void SetType(OGRwkbGeometryType eTypeIn)
Set the geometry type of this field. This should never be done to an OGRGeomFieldDefn that is already...
Definition: ogrgeomfielddefn.cpp:316
SRS_PP_LATITUDE_OF_1ST_POINT
#define SRS_PP_LATITUDE_OF_1ST_POINT
Definition: ogr_srs_api.h:319
OGRCurvePolygon::empty
virtual void empty() override
Clear geometry information. This restores the geometry to its initial state after construction,...
Definition: ogrcurvepolygon.cpp:131
OGRSpatialReference::SetGEOS
OGRErr SetGEOS(double dfCentralMeridian, double dfSatelliteHeight, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4747
SRS_PP_PEG_POINT_LONGITUDE
#define SRS_PP_PEG_POINT_LONGITUDE
Definition: ogr_srs_api.h:329
OAO_East
@ OAO_East
Definition: ogr_srs_api.h:52
OGRGeometry::operator=
OGRGeometry & operator=(const OGRGeometry &other)
Assignment operator.
Definition: ogrgeometry.cpp:142
OGRLayer::SetSpatialFilter
virtual void SetSpatialFilter(OGRGeometry *)
Set a new spatial filter.
Definition: ogrlayer.cpp:1112
OGRSpatialReference::IsSameGeogCS
int IsSameGeogCS(const OGRSpatialReference *) const
Do the GeogCS'es match?
Definition: ogrspatialreference.cpp:6753
OGRSpatialReference::SetPolyconic
OGRErr SetPolyconic(double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5560
OGRSpatialReference::SetLCCB
OGRErr SetLCCB(double dfStdP1, double dfStdP2, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5265
OGRGeomFieldDefn::GetNameRef
const char * GetNameRef() const
Fetch name of this field.
Definition: ogr_feature.h:203
OLCFastFeatureCount
#define OLCFastFeatureCount
Definition: ogr_core.h:752
OGRGeometry::importFromWkt
virtual OGRErr importFromWkt(const char **ppszInput)=0
Assign geometry from well known text data.
OGRSpatialReference::GetTargetLinearUnits
double GetTargetLinearUnits(const char *pszTargetKey, char **ppszRetName) const CPL_WARN_DEPRECATED("Use GetTargetLinearUnits( const char*
Fetch linear units for target.
Definition: ogrspatialreference.cpp:1601
OGRPolygon::operator=
OGRPolygon & operator=(const OGRPolygon &other)
Assignment operator.
Definition: ogrpolygon.cpp:93
SRS_PT_EQUIDISTANT_CONIC
#define SRS_PT_EQUIDISTANT_CONIC
Definition: ogr_srs_api.h:123
OGRSpatialReference::GetUTMZone
int GetUTMZone(int *pbNorth=nullptr) const
Get utm zone information.
Definition: ogrspatialreference.cpp:5908
OSRFixupOrdering
OGRErr OSRFixupOrdering(OGRSpatialReferenceH)
Correct parameter ordering to match CT Specification.
Definition: ogrspatialreference.cpp:7979
EQUAL
#define EQUAL(a, b)
Definition: cpl_port.h:559
OGRSpatialReference::SetProjCS
OGRErr SetProjCS(const char *)
Set the user visible PROJCS name.
Definition: ogrspatialreference.cpp:3581
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
OSRSetHOMAC
OGRErr OSRSetHOMAC(OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfAzimuth, double dfRectToSkew, double dfScale, double dfFalseEasting, double dfFalseNorthing)
Set an Oblique Mercator projection using azimuth angle.
Definition: ogrspatialreference.cpp:4908
OGRFieldDefn::GetNameRef
const char * GetNameRef() const
Fetch name of this field.
Definition: ogr_feature.h:113
OGRBoolean
int OGRBoolean
Definition: ogr_core.h:306
OGRSpatialReference::FixupOrdering
OGRErr FixupOrdering()
Correct parameter ordering to match CT Specification.
Definition: ogrspatialreference.cpp:7961
OGRSFDriverRegistrar
Definition: ogrsf_frmts.h:383
OGRSpatialReference::IsCompound
int IsCompound() const
Check if coordinate system is compound.
Definition: ogrspatialreference.cpp:6414
OSRSetLinearUnitsAndUpdateParameters
OGRErr OSRSetLinearUnitsAndUpdateParameters(OGRSpatialReferenceH, const char *, double)
Set the linear units for the projection.
Definition: ogrspatialreference.cpp:1269
OSRSetGEOS
OGRErr OSRSetGEOS(OGRSpatialReferenceH hSRS, double dfCentralMeridian, double dfSatelliteHeight, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4766
OGR_SRSNode::GetValue
const char * GetValue() const
Definition: ogr_spatialref.h:100
OSRSetSOC
OGRErr OSRSetSOC(OGRSpatialReferenceH hSRS, double dfLatitudeOfOrigin, double dfCentralMeridian, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5765
OGRSpatialReference::SetTargetLinearUnits
OGRErr SetTargetLinearUnits(const char *pszTargetKey, const char *pszName, double dfInMeters)
Set the linear units for the projection.
Definition: ogrspatialreference.cpp:1358
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:329
OGRSpatialReference::GetSemiMajor
double GetSemiMajor(OGRErr *=nullptr) const
Get spheroid semi major axis.
Definition: ogrspatialreference.cpp:3051
cpl_http.h
wkbTINZM
@ wkbTINZM
Definition: ogr_core.h:396
OSRDereference
int OSRDereference(OGRSpatialReferenceH)
Decrements the reference count by one.
Definition: ogrspatialreference.cpp:368
OGRSpatialReference::SetEquirectangular2
OGRErr SetEquirectangular2(double dfCenterLat, double dfCenterLong, double dfPseudoStdParallel1, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4615
OGRSpatialReference::SetQSC
OGRErr SetQSC(double dfCenterLat, double dfCenterLong)
Definition: ogrspatialreference.cpp:6025
SRS_PP_LATITUDE_OF_CENTER
#define SRS_PP_LATITUDE_OF_CENTER
Definition: ogr_srs_api.h:281
OSRSetEckertIV
OGRErr OSRSetEckertIV(OGRSpatialReferenceH hSRS, double dfCentralMeridian, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4525
OLCCurveGeometries
#define OLCCurveGeometries
Definition: ogr_core.h:764
OSRClone
OGRSpatialReferenceH CPL_STDCALL OSRClone(OGRSpatialReferenceH)
Make a duplicate of this OGRSpatialReference.
Definition: ogrspatialreference.cpp:610
SRS_PT_STEREOGRAPHIC
#define SRS_PT_STEREOGRAPHIC
Definition: ogr_srs_api.h:195
wkbFlatten
#define wkbFlatten(x)
Definition: ogr_core.h:440
OGRSpatialReference::GetAuthorityName
const char * GetAuthorityName(const char *pszTargetKey) const
Get the authority name for a node.
Definition: ogrspatialreference.cpp:6255
OGRTriangle::getGeometryName
virtual const char * getGeometryName() const override
Fetch WKT name for geometry type.
Definition: ogrtriangle.cpp:156
OGRFeature::SetFrom
OGRErr SetFrom(const OGRFeature *, int=TRUE)
Set one feature from another.
Definition: ogrfeature.cpp:5733
OGRSpatialReference::GetSquaredEccentricity
double GetSquaredEccentricity() const
Get spheroid squared eccentricity.
Definition: ogrspatialreference.cpp:3177
CPLAssert
#define CPLAssert(expr)
Definition: cpl_error.h:182
SRS_PT_QSC
#define SRS_PT_QSC
Definition: ogr_srs_api.h:250
OSRSetVDG
OGRErr OSRSetVDG(OGRSpatialReferenceH hSRS, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5798
OGRRawPoint
Definition: ogr_geometry.h:63
CPL_C_START
#define CPL_C_START
Definition: cpl_port.h:335
OSRIsLocal
int OSRIsLocal(OGRSpatialReferenceH)
Check if local coordinate system.
Definition: ogrspatialreference.cpp:6604
OGRFeature::SetField
void SetField(int i, int nValue)
Set field to integer value.
Definition: ogrfeature.cpp:3415
OSRSetGaussSchreiberTMercator
OGRErr OSRSetGaussSchreiberTMercator(OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfScale, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4805
OGRERR_UNSUPPORTED_SRS
#define OGRERR_UNSUPPORTED_SRS
Definition: ogr_core.h:299
OGRSpatialReference::SetHOMAC
OGRErr SetHOMAC(double dfCenterLat, double dfCenterLong, double dfAzimuth, double dfRectToSkew, double dfScale, double dfFalseEasting, double dfFalseNorthing)
Set an Hotine Oblique Mercator Azimuth Center projection using azimuth angle.
Definition: ogrspatialreference.cpp:4880
OSRSetAttrValue
OGRErr CPL_STDCALL OSRSetAttrValue(OGRSpatialReferenceH hSRS, const char *pszNodePath, const char *pszNewNodeValue)
Set attribute value in spatial reference.
Definition: ogrspatialreference.cpp:983
OSRGetAxis
const char * OSRGetAxis(OGRSpatialReferenceH hSRS, const char *pszTargetKey, int iAxis, OGRAxisOrientation *peOrientation)
Fetch the orientation of one axis.
Definition: ogrspatialreference.cpp:8310
SRS_PP_SCALE_FACTOR
#define SRS_PP_SCALE_FACTOR
Definition: ogr_srs_api.h:271
OGROpenShared
OGRDataSourceH OGROpenShared(const char *, int, OGRSFDriverH *) CPL_WARN_UNUSED_RESULT
Open a file / data source with one of the registered drivers if not already opened,...
OGRSpatialReference::SetBonne
OGRErr SetBonne(double dfStdP1, double dfCentralMeridian, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4308
OGRSpatialReferenceH
void * OGRSpatialReferenceH
Definition: ogr_api.h:74
OSRReference
int OSRReference(OGRSpatialReferenceH)
Increments the reference count by one.
Definition: ogrspatialreference.cpp:328
SRS_PT_AZIMUTHAL_EQUIDISTANT
#define SRS_PT_AZIMUTHAL_EQUIDISTANT
Definition: ogr_srs_api.h:103
OGRGeomFieldDefn::GetSpatialRef
virtual OGRSpatialReference * GetSpatialRef() const
Fetch spatial reference system of this field.
Definition: ogrgeomfielddefn.cpp:435
OSRSetProjCS
OGRErr OSRSetProjCS(OGRSpatialReferenceH hSRS, const char *pszName)
Set the user visible PROJCS name.
Definition: ogrspatialreference.cpp:3619
SRS_PT_ECKERT_III
#define SRS_PT_ECKERT_III
Definition: ogr_srs_api.h:115
OGRGeometryCollection::assignSpatialReference
virtual void assignSpatialReference(OGRSpatialReference *poSR) override
Assign spatial reference to this object.
Definition: ogrgeometrycollection.cpp:1244
SRS_WKT_WGS84
#define SRS_WKT_WGS84
Definition: ogr_srs_api.h:93
OGRPolyhedralSurface::addGeometry
virtual OGRErr addGeometry(const OGRGeometry *)
Add a new geometry to a collection.
Definition: ogrpolyhedralsurface.cpp:846
SRS_PT_ECKERT_IV
#define SRS_PT_ECKERT_IV
Definition: ogr_srs_api.h:117
OGRSurface
Definition: ogr_geometry.h:1724
OSRSetPS
OGRErr OSRSetPS(OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfScale, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5617
OGRLayer::GetFeature
virtual OGRFeature * GetFeature(GIntBig nFID) CPL_WARN_UNUSED_RESULT
Fetch a feature by its identifier.
Definition: ogrlayer.cpp:446
OGRCurve::getNumPoints
virtual int getNumPoints() const =0
Return the number of points of a curve geometry.
SRS_PP_LONGITUDE_OF_2ND_POINT
#define SRS_PP_LONGITUDE_OF_2ND_POINT
Definition: ogr_srs_api.h:325
OGRSpatialReference::SetKrovak
OGRErr SetKrovak(double dfCenterLat, double dfCenterLong, double dfAzimuth, double dfPseudoStdParallelLat, double dfScale, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5109
OGRFeatureDefn::GetGeomFieldDefn
virtual OGRGeomFieldDefn * GetGeomFieldDefn(int i)
Fetch geometry field definition.
Definition: ogrfeaturedefn.cpp:680
OSRGetTargetLinearUnits
double OSRGetTargetLinearUnits(OGRSpatialReferenceH, const char *, char **)
Fetch linear projection units.
Definition: ogrspatialreference.cpp:1620
OSRFindMatches
OGRSpatialReferenceH * OSRFindMatches(OGRSpatialReferenceH hSRS, char **papszOptions, int *pnEntries, int **ppanMatchConfidence)
Try to identify a match between the passed SRS and a related SRS in a catalog (currently EPSG only)
Definition: ogrspatialreference.cpp:7670
OGRSpatialReference::SetGaussSchreiberTMercator
OGRErr SetGaussSchreiberTMercator(double dfCenterLat, double dfCenterLong, double dfScale, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4784
OGRTriangle::operator=
OGRTriangle & operator=(const OGRTriangle &other)
Assignment operator.
Definition: ogrtriangle.cpp:143
OGRERR_UNSUPPORTED_OPERATION
#define OGRERR_UNSUPPORTED_OPERATION
Definition: ogr_core.h:296
OSRStripCTParms
OGRErr OSRStripCTParms(OGRSpatialReferenceH)
Strip OGC CT Parameters.
Definition: ogrspatialreference.cpp:6394
CPLGetLastErrorNo
CPLErrorNum CPLGetLastErrorNo(void)
Definition: cpl_error.cpp:799
OGRSpatialReference::FindProjParm
int FindProjParm(const char *pszParameter, const OGR_SRSNode *poPROJCS=nullptr) const
Return the child index of the named projection parameter on its parent PROJCS node.
Definition: ogrspatialreference.cpp:3784
OGRGeometry::toTriangle
OGRTriangle * toTriangle()
Definition: ogr_geometry.h:649
OGRGetDriverByName
OGRSFDriverH OGRGetDriverByName(const char *)
Fetch the indicated driver.
OGRFeatureDefn::GetFieldCount
virtual int GetFieldCount() const
Fetch number of fields on this feature.
Definition: ogrfeaturedefn.cpp:285
OGRSpatialReference::importFromXML
OGRErr importFromXML(const char *)
Import coordinate system from XML format (GML only currently).
Definition: ogr_srs_xml.cpp:1263
OSRSetIGH
OGRErr OSRSetIGH(OGRSpatialReferenceH hSRS)
Definition: ogrspatialreference.cpp:4735
SRS_PP_LATITUDE_OF_ORIGIN
#define SRS_PP_LATITUDE_OF_ORIGIN
Definition: ogr_srs_api.h:285
CPLHTTPResult
Definition: cpl_http.h:61
OGRSpatialReference::SetIWMPolyconic
OGRErr SetIWMPolyconic(double dfLat1, double dfLat2, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5067
OSRSetMC
OGRErr OSRSetMC(OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5322
VALIDATE_POINTER1
#define VALIDATE_POINTER1(ptr, func, rc)
Definition: cpl_error.h:260
SRS_PP_LONGITUDE_OF_1ST_POINT
#define SRS_PP_LONGITUDE_OF_1ST_POINT
Definition: ogr_srs_api.h:321
OGRSpatialReference::importFromUrl
OGRErr importFromUrl(const char *)
Set spatial reference from a URL.
Definition: ogrspatialreference.cpp:2437
OLCStringsAsUTF8
#define OLCStringsAsUTF8
Definition: ogr_core.h:761
CPLHTTPResult::pabyData
GByte * pabyData
Definition: cpl_http.h:77
OGRERR_FAILURE
#define OGRERR_FAILURE
Definition: ogr_core.h:298
OGRSpatialReference::SetProjection
OGRErr SetProjection(const char *)
Set a projection name.
Definition: ogrspatialreference.cpp:3642
OGR_SRSNode::GetChild
OGR_SRSNode * GetChild(int)
Definition: ogr_srsnode.cpp:122
OGRSpatialReference::SetRobinson
OGRErr SetRobinson(double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5635
OSRSetLAEA
OGRErr OSRSetLAEA(OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5172
OGRSpatialReference::SetIGH
OGRErr SetIGH()
Definition: ogrspatialreference.cpp:4723
OFTString
@ OFTString
Definition: ogr_core.h:600
OAO_Other
@ OAO_Other
Definition: ogr_srs_api.h:49
OGR_Dr_CopyDataSource
OGRDataSourceH OGR_Dr_CopyDataSource(OGRSFDriverH, OGRDataSourceH, const char *, char **) CPL_WARN_UNUSED_RESULT
This function creates a new datasource by copying all the layers from the source datasource.
OGRSpatialReference::importFromDict
OGRErr importFromDict(const char *pszDict, const char *pszCode)
Definition: ogr_srs_dict.cpp:70
OGRSpatialReference::SetTMSO
OGRErr SetTMSO(double dfCenterLat, double dfCenterLong, double dfScale, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4121
OSRGetAuthorityName
const char * OSRGetAuthorityName(OGRSpatialReferenceH hSRS, const char *pszTargetKey)
Get the authority name for a node.
Definition: ogrspatialreference.cpp:6297
SRS_PP_LONGITUDE_OF_CENTER
#define SRS_PP_LONGITUDE_OF_CENTER
Definition: ogr_srs_api.h:279
ODrCDeleteDataSource
#define ODrCDeleteDataSource
Definition: ogr_core.h:778
OGRSpatialReference::SetGeogCS
OGRErr SetGeogCS(const char *pszGeogName, const char *pszDatumName, const char *pszEllipsoidName, double dfSemiMajor, double dfInvFlattening, const char *pszPMName=nullptr, double dfPMOffset=0.0, const char *pszUnits=nullptr, double dfConvertToRadians=0.0)
Set geographic coordinate system.
Definition: ogrspatialreference.cpp:1769
OGRSpatialReference::SetOrthographic
OGRErr SetOrthographic(double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5526
ogrsf_frmts.h
OGRSpatialReference::exportToMICoordSys
OGRErr exportToMICoordSys(char **) const
Export coordinate system in Mapinfo style CoordSys format.
Definition: ogrspatialreference.cpp:8487
OSRSetProjection
OGRErr OSRSetProjection(OGRSpatialReferenceH, const char *)
Set a projection name.
Definition: ogrspatialreference.cpp:3677
OSRSetPolyconic
OGRErr OSRSetPolyconic(OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5581
CPL_C_END
#define CPL_C_END
Definition: cpl_port.h:337
OGRSpatialReference::Clear
void Clear()
Wipe current definition.
Definition: ogrspatialreference.cpp:259
OSRSetGeocCS
OGRErr OSRSetGeocCS(OGRSpatialReferenceH hSRS, const char *pszName)
Set the user visible PROJCS name.
Definition: ogrspatialreference.cpp:3357
OGRSpatialReference::Dereference
int Dereference()
Decrements the reference count by one.
Definition: ogrspatialreference.cpp:348
OGRSpatialReference::SetGeocCS
OGRErr SetGeocCS(const char *pszGeocName)
Set the user visible GEOCCS name.
Definition: ogrspatialreference.cpp:3308
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
OSRSetKrovak
OGRErr OSRSetKrovak(OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfAzimuth, double dfPseudoStdParallelLat, double dfScale, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5133
OGR_Dr_Open
OGRDataSourceH OGR_Dr_Open(OGRSFDriverH, const char *, int) CPL_WARN_UNUSED_RESULT
Attempt to open file with this driver.
OSRCloneGeogCS
OGRSpatialReferenceH CPL_STDCALL OSRCloneGeogCS(OGRSpatialReferenceH)
Make a duplicate of the GEOGCS node of this OGRSpatialReference object.
Definition: ogrspatialreference.cpp:6721
OGRLayer::GetExtent
virtual OGRErr GetExtent(OGREnvelope *psExtent, int bForce=TRUE) CPL_WARN_UNUSED_RESULT
Fetch the extent of this layer.
Definition: ogrlayer.cpp:210
OSRSetMollweide
OGRErr OSRSetMollweide(OGRSpatialReferenceH hSRS, double dfCentralMeridian, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5438
SRS_PT_GOODE_HOMOLOSINE
#define SRS_PT_GOODE_HOMOLOSINE
Definition: ogr_srs_api.h:137
OGR_SRSNode::exportToWkt
OGRErr exportToWkt(char **) const
Definition: ogr_srsnode.cpp:447
OGRDataSourceH
void * OGRDataSourceH
Definition: ogr_api.h:510
OGRFieldDefn
Definition: ogr_feature.h:92
OGRSpatialReference::IsSameVertCS
int IsSameVertCS(const OGRSpatialReference *) const
Do the VertCS'es match?
Definition: ogrspatialreference.cpp:6924
SRS_PP_LONGITUDE_OF_POINT_1
#define SRS_PP_LONGITUDE_OF_POINT_1
Definition: ogr_srs_api.h:293
ogr_srs_api.h
OSRSetEquirectangular
OGRErr OSRSetEquirectangular(OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4597
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
OSRIsGeocentric
int OSRIsGeocentric(OGRSpatialReferenceH)
Check if geocentric coordinate system.
Definition: ogrspatialreference.cpp:6521
OFTInteger
@ OFTInteger
Definition: ogr_core.h:596
OGR_SRSNode::exportToPrettyWkt
OGRErr exportToPrettyWkt(char **, int=1) const
Definition: ogr_srsnode.cpp:521
STARTS_WITH
#define STARTS_WITH(a, b)
Definition: cpl_port.h:568
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
OSRGetProjParm
double OSRGetProjParm(OGRSpatialReferenceH hSRS, const char *pszParmName, double dfDefault, OGRErr *)
Fetch a projection parameter value.
Definition: ogrspatialreference.cpp:3891
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
OGRSpatialReference::SetMC
OGRErr SetMC(double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5304
OGRSimpleCurve::addPoint
void addPoint(const OGRPoint *)
Add a point to a line string.
Definition: ogrlinestring.cpp:783
OGRGeometry::assignSpatialReference
virtual void assignSpatialReference(OGRSpatialReference *poSR)
Assign spatial reference to this object.
Definition: ogrgeometry.cpp:421
OAO_Up
@ OAO_Up
Definition: ogr_srs_api.h:54
CSLFindString
int CSLFindString(CSLConstList papszList, const char *pszTarget)
Definition: cpl_string.cpp:670
cpl_conv.h
wkbNone
@ wkbNone
Definition: ogr_core.h:349
OSRGetTOWGS84
OGRErr OSRGetTOWGS84(OGRSpatialReferenceH hSRS, double *, int)
Fetch TOWGS84 parameters, if available.
Definition: ogrspatialreference.cpp:7846
OSRGetSemiMinor
double OSRGetSemiMinor(OGRSpatialReferenceH, OGRErr *)
Get spheroid semi minor axis.
Definition: ogrspatialreference.cpp:3227
OGRCurvePolygon::CastToPolygon
static OGRPolygon * CastToPolygon(OGRCurvePolygon *poCP)
Convert to polygon.
Definition: ogrcurvepolygon.cpp:833
SRS_UA_DEGREE
#define SRS_UA_DEGREE
Definition: ogr_srs_api.h:444
OGRSpatialReference::importFromWkt
OGRErr importFromWkt(char **)
Import from WKT string.
Definition: ogrspatialreference.cpp:845
OSRSetAngularUnits
OGRErr OSRSetAngularUnits(OGRSpatialReferenceH, const char *, double)
Set the angular units for the geographic coordinate system.
Definition: ogrspatialreference.cpp:1094
cpl_string.h
OSRSetAxes
OGRErr OSRSetAxes(OGRSpatialReferenceH hSRS, const char *pszTargetKey, const char *pszXAxisName, OGRAxisOrientation eXAxisOrientation, const char *pszYAxisName, OGRAxisOrientation eYAxisOrientation)
Set the axes for a coordinate system.
Definition: ogrspatialreference.cpp:8429
OSRSetGeogCS
OGRErr OSRSetGeogCS(OGRSpatialReferenceH hSRS, const char *pszGeogName, const char *pszDatumName, const char *pszEllipsoidName, double dfSemiMajor, double dfInvFlattening, const char *pszPMName, double dfPMOffset, const char *pszUnits, double dfConvertToRadians)
Set geographic coordinate system.
Definition: ogrspatialreference.cpp:1909
OGRSpatialReference::SetHOM
OGRErr SetHOM(double dfCenterLat, double dfCenterLong, double dfAzimuth, double dfRectToSkew, double dfScale, double dfFalseEasting, double dfFalseNorthing)
Set a Hotine Oblique Mercator projection using azimuth angle.
Definition: ogrspatialreference.cpp:4949
SRS_PT_ORTHOGRAPHIC
#define SRS_PT_ORTHOGRAPHIC
Definition: ogr_srs_api.h:184
OGRSpatialReference::SetAxes
OGRErr SetAxes(const char *pszTargetKey, const char *pszXAxisName, OGRAxisOrientation eXAxisOrientation, const char *pszYAxisName, OGRAxisOrientation eYAxisOrientation)
Set the axes for a coordinate system.
Definition: ogrspatialreference.cpp:8375
OGR_SRSNode::AddChild
void AddChild(OGR_SRSNode *)
Definition: ogr_srsnode.cpp:238
OSRSetTMSO
OGRErr OSRSetTMSO(OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfScale, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4179
SRS_PT_GNOMONIC
#define SRS_PT_GNOMONIC
Definition: ogr_srs_api.h:141
OGRGeometry::getSpatialReference
OGRSpatialReference * getSpatialReference(void) const
Returns spatial reference system for object.
Definition: ogr_geometry.h:434
OGRFeature::SetGeomFieldDirectly
OGRErr SetGeomFieldDirectly(int iField, OGRGeometry *)
Set feature geometry of a specified geometry field.
Definition: ogrfeature.cpp:802
OGRPolyhedralSurface::getGeometryRef
OGRGeometry * getGeometryRef(int i)
Fetch geometry from container.
Definition: ogrpolyhedralsurface.cpp:936
SRS_UL_METER
#define SRS_UL_METER
Definition: ogr_srs_api.h:336
OLCRandomWrite
#define OLCRandomWrite
Definition: ogr_core.h:750
ODrCCreateDataSource
#define ODrCCreateDataSource
Definition: ogr_core.h:777
CPLErrorReset
void CPLErrorReset(void)
Definition: cpl_error.cpp:710
OGRLayer::ICreateFeature
virtual OGRErr ICreateFeature(OGRFeature *poFeature) CPL_WARN_UNUSED_RESULT
Create and write a new feature within a layer.
Definition: ogrlayer.cpp:636
OSRGetLinearUnits
double OSRGetLinearUnits(OGRSpatialReferenceH, char **)
Fetch linear projection units.
Definition: ogrspatialreference.cpp:1503
CPLSPrintf
const char * CPLSPrintf(const char *fmt,...)
Definition: cpl_string.cpp:977
OGRSpatialReference::SetOS
OGRErr SetOS(double dfOriginLat, double dfCMeridian, double dfScale, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5488
OSRSetEckert
OGRErr OSRSetEckert(OGRSpatialReferenceH hSRS, int nVariation, double dfCentralMeridian, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4488
OGRDataSource
Definition: ogrsf_frmts.h:315
OGRSpatialReference::IsGeocentric
int IsGeocentric() const
Check if geocentric coordinate system.
Definition: ogrspatialreference.cpp:6499
OGRSpatialReference::importFromEPSG
OGRErr importFromEPSG(int)
Initialize SRS based on EPSG GCS or PCS code.
Definition: ogr_fromepsg.cpp:2137
OSRSetTM
OGRErr OSRSetTM(OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfScale, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4059
OSRCalcInvFlattening
double OSRCalcInvFlattening(double dfSemiMajor, double dfSemiMinor)
Compute inverse flattening from semi-major and semi-minor axis.
Definition: ogrspatialreference.cpp:8574
OGRSpatialReference::SetEckertVI
OGRErr SetEckertVI(double dfCentralMeridian, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4544
OGRSpatialReference::GetAxis
const char * GetAxis(const char *pszTargetKey, int iAxis, OGRAxisOrientation *peOrientation) const
Fetch the orientation of one axis.
Definition: ogrspatialreference.cpp:8223
OGRSpatialReference::SetTPED
OGRErr SetTPED(double dfLat1, double dfLong1, double dfLat2, double dfLong2, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4141
OSRSetCompoundCS
OGRErr OSRSetCompoundCS(OGRSpatialReferenceH hSRS, const char *pszName, OGRSpatialReferenceH hHorizSRS, OGRSpatialReferenceH hVertSRS)
Setup a compound coordinate system.
Definition: ogrspatialreference.cpp:3547
SRS_PT_NEW_ZEALAND_MAP_GRID
#define SRS_PT_NEW_ZEALAND_MAP_GRID
Definition: ogr_srs_api.h:178
OGRAxisOrientation
OGRAxisOrientation
Definition: ogr_srs_api.h:48
SRS_PP_LONGITUDE_OF_ORIGIN
#define SRS_PP_LONGITUDE_OF_ORIGIN
Definition: ogr_srs_api.h:283
OGRSpatialReference::importFromProj4
OGRErr importFromProj4(const char *)
Import PROJ.4 coordinate string.
Definition: ogr_srs_proj4.cpp:478
CPLError
void CPLError(CPLErr eErrClass, CPLErrorNum err_no, const char *fmt,...)
Definition: cpl_error.cpp:232
OSRIsGeographic
int OSRIsGeographic(OGRSpatialReferenceH)
Check if geographic coordinate system.
Definition: ogrspatialreference.cpp:6566
SRS_PT_LAMBERT_CONFORMAL_CONIC_1SP
#define SRS_PT_LAMBERT_CONFORMAL_CONIC_1SP
Definition: ogr_srs_api.h:155
OGRGeomFieldDefn
Definition: ogr_feature.h:182
OGRSpatialReference::GetAngularUnits
double GetAngularUnits(char **) const CPL_WARN_DEPRECATED("Use GetAngularUnits( const char**) instead")
Fetch angular geographic coordinate system units.
Definition: ogrspatialreference.cpp:1174
OSRNewSpatialReference
OGRSpatialReferenceH CPL_STDCALL OSRNewSpatialReference(const char *)
Constructor.
Definition: ogrspatialreference.cpp:151
OGRPolyhedralSurface::setMeasured
virtual void setMeasured(OGRBoolean bIsMeasured) override
Set the type as Measured.
Definition: ogrpolyhedralsurface.cpp:1001
OSRSetSCH
OGRErr OSRSetSCH(OGRSpatialReferenceH hSRS, double dfPegLat, double dfPegLong, double dfPegHeading, double dfPegHgt)
Definition: ogrspatialreference.cpp:6070
OGRSpatialReference::IsLinearParameter
static int IsLinearParameter(const char *)
Definition: ogrspatialreference.cpp:7908
OGRSpatialReference::SetLAEA
OGRErr SetLAEA(double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5154
SRS_PP_LATITUDE_OF_POINT_2
#define SRS_PP_LATITUDE_OF_POINT_2
Definition: ogr_srs_api.h:299
OSRCalcSemiMinorFromInvFlattening
double OSRCalcSemiMinorFromInvFlattening(double dfSemiMajor, double dfInvFlattening)
Compute semi-minor axis from semi-major axis and inverse flattening.
Definition: ogrspatialreference.cpp:8602
OGRTriangulatedSurface::operator=
OGRTriangulatedSurface & operator=(const OGRTriangulatedSurface &other)
Assignment operator.
Definition: ogrtriangulatedsurface.cpp:88
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
CSLTokenizeStringComplex
char ** CSLTokenizeStringComplex(const char *pszString, const char *pszDelimiter, int bHonourStrings, int bAllowEmptyTokens)
Definition: cpl_string.cpp:769
OGRPolyhedralSurface::empty
virtual void empty() override
Clear geometry information. This restores the geometry to its initial state after construction,...
Definition: ogrpolyhedralsurface.cpp:155
OGRTriangle::addRingDirectly
virtual OGRErr addRingDirectly(OGRCurve *poNewRing) override
Add a ring to a polygon.
Definition: ogrtriangle.cpp:251
CPLE_NotSupported
#define CPLE_NotSupported
Definition: cpl_error.h:109
OGRSpatialReference::GetLinearUnits
double GetLinearUnits(char **) const CPL_WARN_DEPRECATED("Use GetLinearUnits( const char**) instead")
Fetch linear projection units.
Definition: ogrspatialreference.cpp:1463
OGRERR_CORRUPT_DATA
#define OGRERR_CORRUPT_DATA
Definition: ogr_core.h:297
OSRSetVertCS
OGRErr OSRSetVertCS(OGRSpatialReferenceH hSRS, const char *pszVertCSName, const char *pszVertDatumName, int nVertDatumType)
Setup the vertical coordinate system.
Definition: ogrspatialreference.cpp:3468
OSRDestroySpatialReference
void CPL_STDCALL OSRDestroySpatialReference(OGRSpatialReferenceH)
OGRSpatialReference destructor.
Definition: ogrspatialreference.cpp:242
OSRGetAuthorityCode
const char * OSRGetAuthorityCode(OGRSpatialReferenceH hSRS, const char *pszTargetKey)
Get the authority code for a node.
Definition: ogrspatialreference.cpp:6222
SRS_PT_VANDERGRINTEN
#define SRS_PT_VANDERGRINTEN
Definition: ogr_srs_api.h:230
OGRCoordinateTransformation
Definition: ogr_spatialref.h:673
SRS_PP_SATELLITE_HEIGHT
#define SRS_PP_SATELLITE_HEIGHT
Definition: ogr_srs_api.h:313
OSRSetTOWGS84
OGRErr OSRSetTOWGS84(OGRSpatialReferenceH hSRS, double, double, double, double, double, double, double)
Set the Bursa-Wolf conversion to WGS84.
Definition: ogrspatialreference.cpp:7792
OGRSpatialReference::convertToOtherProjection
OGRSpatialReference * convertToOtherProjection(const char *pszTargetProjection, const char *const *papszOptions=nullptr) const
Convert to another equivalent projection.
Definition: ogrspatialreference.cpp:7380
OGRTriangle::getGeometryType
virtual OGRwkbGeometryType getGeometryType() const override
Fetch geometry type.
Definition: ogrtriangle.cpp:165
OGRFieldDefn::GetType
OGRFieldType GetType() const
Fetch type of this field.
Definition: ogr_feature.h:115
OGRSpatialReference::CloneGeogCS
OGRSpatialReference * CloneGeogCS() const
Make a duplicate of the GEOGCS node of this OGRSpatialReference object.
Definition: ogrspatialreference.cpp:6669
SRS_PT_OBLIQUE_STEREOGRAPHIC
#define SRS_PT_OBLIQUE_STEREOGRAPHIC
Definition: ogr_srs_api.h:181
OGRGetDriverCount
int OGRGetDriverCount(void)
Fetch the number of registered drivers.
OGRSpatialReference::GetExtension
const char * GetExtension(const char *pszTargetKey, const char *pszName, const char *pszDefault=nullptr) const
Fetch extension value.
Definition: ogrspatialreference.cpp:8077
OGRFeatureDefn::GetFieldIndex
virtual int GetFieldIndex(const char *) const
Find field by name.
Definition: ogrfeaturedefn.cpp:1217
CSLDuplicate
char ** CSLDuplicate(CSLConstList papszStrList)
Definition: cpl_string.cpp:228
OGRSFDriver
Definition: ogrsf_frmts.h:348
OGRCurve::get_IsClosed
virtual int get_IsClosed() const
Return TRUE if curve is closed.
Definition: ogrcurve.cpp:97
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
OSRIsSame
int OSRIsSame(OGRSpatialReferenceH, OGRSpatialReferenceH)
Do these two spatial references describe the same system ?
Definition: ogrspatialreference.cpp:7261
OGR_SRSNode::InsertChild
void InsertChild(OGR_SRSNode *, int)
Definition: ogr_srsnode.cpp:261
OGRErr
int OGRErr
Definition: ogr_core.h:290
OGRSpatialReference::SetAuthority
OGRErr SetAuthority(const char *pszTargetKey, const char *pszAuthority, int nCode)
Set the authority for a node.
Definition: ogrspatialreference.cpp:6100
CPLHTTPResult::pszErrBuf
char * pszErrBuf
Definition: cpl_http.h:69
OSRRelease
void OSRRelease(OGRSpatialReferenceH)
Decrements the reference count by one, and destroy if zero.
Definition: ogrspatialreference.cpp:414
OSRSetWagner
OGRErr OSRSetWagner(OGRSpatialReferenceH hSRS, int nVariation, double dfCenterLat, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:6009
OSRCopyGeogCSFrom
OGRErr OSRCopyGeogCSFrom(OGRSpatialReferenceH hSRS, const OGRSpatialReferenceH hSrcSRS)
Copy GEOGCS from another OGRSpatialReference.
Definition: ogrspatialreference.cpp:2151
OSRSetNormProjParm
OGRErr OSRSetNormProjParm(OGRSpatialReferenceH, const char *, double)
Set a projection parameter with a normalized value.
Definition: ogrspatialreference.cpp:4025
OGRSpatialReference::GetInvFlattening
double GetInvFlattening(OGRErr *=nullptr) const
Get spheroid inverse flattening.
Definition: ogrspatialreference.cpp:3102
SRS_WGS84_SEMIMAJOR
#define SRS_WGS84_SEMIMAJOR
Definition: ogr_srs_api.h:463
SRS_PT_ECKERT_VI
#define SRS_PT_ECKERT_VI
Definition: ogr_srs_api.h:121
CPLHTTPResult::nStatus
int nStatus
Definition: cpl_http.h:63
OSRSetRobinson
OGRErr OSRSetRobinson(OGRSpatialReferenceH hSRS, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5652
CSLDestroy
void CSLDestroy(char **papszStrList)
Definition: cpl_string.cpp:200
SRS_PT_SWISS_OBLIQUE_CYLINDRICAL
#define SRS_PT_SWISS_OBLIQUE_CYLINDRICAL
Definition: ogr_srs_api.h:197
M_PI
#define M_PI
Definition: cpl_port.h:407
GIntBig
long long GIntBig
Definition: cpl_port.h:246
OSRSetWellKnownGeogCS
OGRErr OSRSetWellKnownGeogCS(OGRSpatialReferenceH hSRS, const char *pszName)
Set a GeogCS based on well known name.
Definition: ogrspatialreference.cpp:2053
OGRGeometry::toPolygon
OGRPolygon * toPolygon()
Definition: ogr_geometry.h:635
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
OGRCurvePolygon::getExteriorRingCurve
OGRCurve * getExteriorRingCurve()
Fetch reference to external polygon ring.
Definition: ogrcurvepolygon.cpp:204
OGRCurvePolygon::getNumInteriorRings
int getNumInteriorRings() const
Fetch the number of internal rings.
Definition: ogrcurvepolygon.cpp:241
CPLHTTPResult::nDataLen
int nDataLen
Definition: cpl_http.h:72
OSRSetLCCB
OGRErr OSRSetLCCB(OGRSpatialReferenceH hSRS, double dfStdP1, double dfStdP2, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5286
OGRReleaseDataSource
OGRErr OGRReleaseDataSource(OGRDataSourceH)
Drop a reference to this datasource, and if the reference count drops to zero close (destroy) the dat...
OSRGetPrimeMeridian
double OSRGetPrimeMeridian(OGRSpatialReferenceH, char **)
Fetch prime meridian info.
Definition: ogrspatialreference.cpp:1713
OSRSetHOM
OGRErr OSRSetHOM(OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfAzimuth, double dfRectToSkew, double dfScale, double dfFalseEasting, double dfFalseNorthing)
Set a Hotine Oblique Mercator projection using azimuth angle.
Definition: ogrspatialreference.cpp:4976
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
wkbTINZ
@ wkbTINZ
Definition: ogr_core.h:360
OSRGetAngularUnits
double OSRGetAngularUnits(OGRSpatialReferenceH, char **)
Fetch angular geographic coordinate system units.
Definition: ogrspatialreference.cpp:1189
SRS_PT_CYLINDRICAL_EQUAL_AREA
#define SRS_PT_CYLINDRICAL_EQUAL_AREA
Definition: ogr_srs_api.h:107
OLCRandomRead
#define OLCRandomRead
Definition: ogr_core.h:748
OGRTriangle
Definition: ogr_geometry.h:2032
OGRSpatialReference::DestroySpatialReference
static void DestroySpatialReference(OGRSpatialReference *poSRS)
OGRSpatialReference destructor.
Definition: ogrspatialreference.cpp:225
OGRFeature
Definition: ogr_feature.h:353
OGRSpatialReference::SetLCC
OGRErr SetLCC(double dfStdP1, double dfStdP2, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5188
OSRAxisEnumToName
const char * OSRAxisEnumToName(OGRAxisOrientation eOrientation)
Return the string representation for the OGRAxisOrientation enumeration.
Definition: ogrspatialreference.cpp:8332
cpl_port.h
SRS_PT_IGH
#define SRS_PT_IGH
Definition: ogr_srs_api.h:139
OGRGeomFieldDefn::GetType
OGRwkbGeometryType GetType() const
Fetch geometry type of this field.
Definition: ogr_feature.h:205
OSRIsSameGeogCS
int OSRIsSameGeogCS(OGRSpatialReferenceH, OGRSpatialReferenceH)
Do the GeogCS'es match?
Definition: ogrspatialreference.cpp:6900
OGRSpatialReference::SetVDG
OGRErr SetVDG(double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5781
OSRExportToMICoordSys
OGRErr OSRExportToMICoordSys(OGRSpatialReferenceH, char **)
Export coordinate system in Mapinfo style CoordSys format.
Definition: ogrspatialreference.cpp:8458
OSRSetQSC
OGRErr OSRSetQSC(OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong)
Definition: ogrspatialreference.cpp:6039
SRS_WGS84_INVFLATTENING
#define SRS_WGS84_INVFLATTENING
Definition: ogr_srs_api.h:465
OGRSpatialReference::GetTOWGS84
OGRErr GetTOWGS84(double *padfCoef, int nCoeff=7) const
Fetch TOWGS84 parameters, if available.
Definition: ogrspatialreference.cpp:7818
ogr_api.h
OGRSpatialReference::SetMollweide
OGRErr SetMollweide(double dfCentralMeridian, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5421
OLCFastGetExtent
#define OLCFastGetExtent
Definition: ogr_core.h:753
SRS_PT_TRANSVERSE_MERCATOR_SOUTH_ORIENTED
#define SRS_PT_TRANSVERSE_MERCATOR_SOUTH_ORIENTED
Definition: ogr_srs_api.h:203
OGRSpatialReference::operator=
OGRSpatialReference & operator=(const OGRSpatialReference &)
Definition: ogrspatialreference.cpp:280
OSRSetTargetLinearUnits
OGRErr OSRSetTargetLinearUnits(OGRSpatialReferenceH, const char *, const char *, double)
Set the linear units for the target node.
Definition: ogrspatialreference.cpp:1429
OSRSetLCC
OGRErr OSRSetLCC(OGRSpatialReferenceH hSRS, double dfStdP1, double dfStdP2, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5209
wkbTriangleZM
@ wkbTriangleZM
Definition: ogr_core.h:397
OGRTriangle::importFromWkb
virtual OGRErr importFromWkb(const unsigned char *, int, OGRwkbVariant, int &nBytesConsumedOut) override
Assign geometry from well known binary data.
Definition: ogrtriangle.cpp:193
OSRSetACEA
OGRErr OSRSetACEA(OGRSpatialReferenceH hSRS, double dfStdP1, double dfStdP2, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4254
OGRCurvePolygon::addRing
virtual OGRErr addRing(OGRCurve *)
Add a ring to a polygon.
Definition: ogrcurvepolygon.cpp:365
OGRSpatialReference::SetTMVariant
OGRErr SetTMVariant(const char *pszVariantName, double dfCenterLat, double dfCenterLong, double dfScale, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4078
OSRSetSinusoidal
OGRErr OSRSetSinusoidal(OGRSpatialReferenceH hSRS, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5685
OGRGeometry::IsMeasured
OGRBoolean IsMeasured() const
Definition: ogr_geometry.h:364
OGRSpatialReference::SetGnomonic
OGRErr SetGnomonic(double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4823
OGR_SRSNode::FindChild
int FindChild(const char *) const
Definition: ogr_srsnode.cpp:322
SRS_UL_US_FOOT_CONV
#define SRS_UL_US_FOOT_CONV
Definition: ogr_srs_api.h:344
OSRIsVertical
int OSRIsVertical(OGRSpatialReferenceH)
Check if vertical coordinate system.
Definition: ogrspatialreference.cpp:6652
OGRCurve
Definition: ogr_geometry.h:925
OGRCurvePolygon::assignSpatialReference
virtual void assignSpatialReference(OGRSpatialReference *poSR) override
Assign spatial reference to this object.
Definition: ogrcurvepolygon.cpp:711
OGR_Dr_DeleteDataSource
OGRErr OGR_Dr_DeleteDataSource(OGRSFDriverH, const char *)
Delete a datasource.
OSRSetAE
OGRErr OSRSetAE(OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4291
VSIFOpenL
VSILFILE * VSIFOpenL(const char *, const char *)
Open file.
Definition: cpl_vsil.cpp:818
OGRSpatialReference::IsVertical
int IsVertical() const
Check if vertical coordinate system.
Definition: ogrspatialreference.cpp:6627
OSRGetUTMZone
int OSRGetUTMZone(OGRSpatialReferenceH hSRS, int *pbNorth)
Get utm zone information.
Definition: ogrspatialreference.cpp:5957
OGRFeatureDefn::GetGeomFieldCount
virtual int GetGeomFieldCount() const
Fetch number of geometry fields on this feature.
Definition: ogrfeaturedefn.cpp:631
OSRSetEckertVI
OGRErr OSRSetEckertVI(OGRSpatialReferenceH hSRS, double dfCentralMeridian, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4561
SRS_PP_PEG_POINT_HEADING
#define SRS_PP_PEG_POINT_HEADING
Definition: ogr_srs_api.h:331
CPLErr
CPLErr
Definition: cpl_error.h:52
OGRSpatialReference::GetAttrNode
OGR_SRSNode * GetAttrNode(const char *)
Find named node in tree.
Definition: ogrspatialreference.cpp:465
OGRSpatialReference::SetEckertIV
OGRErr SetEckertIV(double dfCentralMeridian, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4508
OGRLayer::SetIgnoredFields
virtual OGRErr SetIgnoredFields(const char **papszFields)
Set which fields can be omitted when retrieving features from the layer.
Definition: ogrlayer.cpp:1791
OSRSetGH
OGRErr OSRSetGH(OGRSpatialReferenceH hSRS, double dfCentralMeridian, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4706
OGR_SRSNode::Clone
OGR_SRSNode * Clone() const
Definition: ogr_srsnode.cpp:375
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
OGRPolyhedralSurface::OGRPolyhedralSurface
OGRPolyhedralSurface()
Create an empty PolyhedralSurface.
Definition: ogrpolyhedralsurface.cpp:47
OSRIsSameVertCS
int OSRIsSameVertCS(OGRSpatialReferenceH, OGRSpatialReferenceH)
Do the VertCS'es match?
Definition: ogrspatialreference.cpp:6963
SRS_PT_KROVAK
#define SRS_PT_KROVAK
Definition: ogr_srs_api.h:232
OGRSpatialReference::SetCS
OGRErr SetCS(double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4376
OGRSpatialReference::OGRSpatialReference
OGRSpatialReference(const OGRSpatialReference &)
Definition: ogrspatialreference.cpp:175
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
OSRSetBonne
OGRErr OSRSetBonne(OGRSpatialReferenceH hSRS, double dfStandardParallel, double dfCentralMeridian, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4326
SRS_PT_WAGNER_IV
#define SRS_PT_WAGNER_IV
Definition: ogr_srs_api.h:242
OSRImportFromUrl
OGRErr OSRImportFromUrl(OGRSpatialReferenceH, const char *)
Set spatial reference from a URL.
Definition: ogrspatialreference.cpp:2518
OGRLinearRing
Definition: ogr_geometry.h:1312
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
OSRSetLCC1SP
OGRErr OSRSetLCC1SP(OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfScale, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5247
OGRFeatureDefn
Definition: ogr_feature.h:259
CPLAtof
double CPLAtof(const char *)
Definition: cpl_strtod.cpp:117
OSRSetGS
OGRErr OSRSetGS(OGRSpatialReferenceH hSRS, double dfCentralMeridian, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4672
OGRLayer::GetGeomType
virtual OGRwkbGeometryType GetGeomType()
Return the layer geometry type.
Definition: ogrlayer.cpp:1754
OGRLayer::ISetFeature
virtual OGRErr ISetFeature(OGRFeature *poFeature) CPL_WARN_UNUSED_RESULT
Rewrite an existing feature.
Definition: ogrlayer.cpp:597
SRS_PT_WAGNER_VII
#define SRS_PT_WAGNER_VII
Definition: ogr_srs_api.h:248
OGRTriangulatedSurface::~OGRTriangulatedSurface
~OGRTriangulatedSurface()
Destructor.
Definition: ogrtriangulatedsurface.cpp:75
CPLE_IllegalArg
#define CPLE_IllegalArg
Definition: cpl_error.h:107
OGRSpatialReference::SetRoot
void SetRoot(OGR_SRSNode *)
Set the root SRS node.
Definition: ogrspatialreference.cpp:436
OGR_SRSNode
Definition: ogr_spatialref.h:65
wkbTriangle
@ wkbTriangle
Definition: ogr_core.h:347
OGRLayer::SetAttributeFilter
virtual OGRErr SetAttributeFilter(const char *)
Set a new attribute query.
Definition: ogrlayer.cpp:337
OGRPolygon::OGRPolygon
OGRPolygon()
Create an empty polygon.
Definition: ogrpolygon.cpp:55
OGRFeature::GetGeomFieldRef
OGRGeometry * GetGeomFieldRef(int iField)
Fetch pointer to feature geometry.
Definition: ogrfeature.cpp:666
OGRPolygon
Definition: ogr_geometry.h:1909
OGRTriangulatedSurface
Definition: ogr_geometry.h:2511
OSRSetLocalCS
OGRErr OSRSetLocalCS(OGRSpatialReferenceH hSRS, const char *pszName)
Set the user visible LOCAL_CS name.
Definition: ogrspatialreference.cpp:3279
OGRSpatialReference::importFromEPSGA
OGRErr importFromEPSGA(int)
Initialize SRS based on EPSG GCS or PCS code.
Definition: ogr_fromepsg.cpp:2202
OGRSpatialReference::SetGS
OGRErr SetGS(double dfCentralMeridian, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4655
OGRCurvePolygon
Definition: ogr_geometry.h:1759
OGRSpatialReference::SetTM
OGRErr SetTM(double dfCenterLat, double dfCenterLong, double dfScale, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4039
OGRSpatialReference::SetLinearUnitsAndUpdateParameters
OGRErr SetLinearUnitsAndUpdateParameters(const char *pszName, double dfInMeters)
Set the linear units for the projection.
Definition: ogrspatialreference.cpp:1221
OSRSetCS
OGRErr OSRSetCS(OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4394
OGRSpatialReference::dumpReadable
void dumpReadable()
Definition: ogrspatialreference.cpp:625
OGRLayer::TestCapability
virtual int TestCapability(const char *)=0
Test if this layer supported the named capability.
OGRSpatialReference::SetGH
OGRErr SetGH(double dfCentralMeridian, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4689
OSRExportToPrettyWkt
OGRErr CPL_STDCALL OSRExportToPrettyWkt(OGRSpatialReferenceH, char **, int)
Convert this SRS into a nicely formatted WKT string for display to a person.
Definition: ogrspatialreference.cpp:695
OSRSetFromUserInput
OGRErr CPL_STDCALL OSRSetFromUserInput(OGRSpatialReferenceH hSRS, const char *)
Set spatial reference from various text formats.
Definition: ogrspatialreference.cpp:2410
OGRSpatialReference::exportToWkt
OGRErr exportToWkt(char **) const
Convert this SRS into WKT format.
Definition: ogrspatialreference.cpp:728
OGRPolyhedralSurface::assignSpatialReference
virtual void assignSpatialReference(OGRSpatialReference *poSR) override
Assign spatial reference to this object.
Definition: ogrpolyhedralsurface.cpp:1082
OSRImportFromWkt
OGRErr OSRImportFromWkt(OGRSpatialReferenceH, char **)
Import from WKT string.
Definition: ogrspatialreference.cpp:888
OGRSpatialReference::SetHOM2PNO
OGRErr SetHOM2PNO(double dfCenterLat, double dfLat1, double dfLong1, double dfLat2, double dfLong2, double dfScale, double dfFalseEasting, double dfFalseNorthing)
Set a Hotine Oblique Mercator projection using two points on projection centerline.
Definition: ogrspatialreference.cpp:5015
SRS_PP_FALSE_NORTHING
#define SRS_PP_FALSE_NORTHING
Definition: ogr_srs_api.h:289
OGRSpatialReference::SetCEA
OGRErr SetCEA(double dfStdP1, double dfCentralMeridian, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4342
OFTReal
@ OFTReal
Definition: ogr_core.h:598
OGRSpatialReference::IsAngularParameter
static int IsAngularParameter(const char *)
Definition: ogrspatialreference.cpp:7865
SRS_PP_PEG_POINT_LATITUDE
#define SRS_PP_PEG_POINT_LATITUDE
Definition: ogr_srs_api.h:327
OGRSpatialReference::SetLocalCS
OGRErr SetLocalCS(const char *)
Set the user visible LOCAL_CS name.
Definition: ogrspatialreference.cpp:3252
SRS_PT_ECKERT_V
#define SRS_PT_ECKERT_V
Definition: ogr_srs_api.h:119
ogr_core.h
OGR_Dr_GetName
const char * OGR_Dr_GetName(OGRSFDriverH)
Fetch name of driver (file format). This name should be relatively short (10-40 characters),...
OGRTriangulatedSurface::getGeometryType
virtual OGRwkbGeometryType getGeometryType() const override
Returns the WKB Type of TriangulatedSurface.
Definition: ogrtriangulatedsurface.cpp:134
SRS_PT_SINUSOIDAL
#define SRS_PT_SINUSOIDAL
Definition: ogr_srs_api.h:193
OGRGeometry::exportToWkt
virtual OGRErr exportToWkt(char **ppszDstText, OGRwkbVariant=wkbVariantOldOgc) const =0
Convert a geometry into well known text format.
OGRGetDriver
OGRSFDriverH OGRGetDriver(int)
Fetch the indicated driver.
OSRGetSemiMajor
double OSRGetSemiMajor(OGRSpatialReferenceH, OGRErr *)
Get spheroid semi major axis.
Definition: ogrspatialreference.cpp:3079
OGRSpatialReference::SetStereographic
OGRErr SetStereographic(double dfCenterLat, double dfCenterLong, double dfScale, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5701
OGRSpatialReference::SetWagner
OGRErr SetWagner(int nVariation, double dfCenterLat, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5969
OSRFreeSRSArray
void OSRFreeSRSArray(OGRSpatialReferenceH *pahSRS)
Free return of OSRIdentifyMatches()
Definition: ogrspatialreference.cpp:7696
OGRSpatialReference::SetNZMG
OGRErr SetNZMG(double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5454
OGRSpatialReference::GetProjParm
double GetProjParm(const char *, double=0.0, OGRErr *=nullptr) const
Fetch a projection parameter value.
Definition: ogrspatialreference.cpp:3851
OGRNullFID
#define OGRNullFID
Definition: ogr_core.h:646
OGRERR_INVALID_HANDLE
#define OGRERR_INVALID_HANDLE
Definition: ogr_core.h:300
OGRSpatialReference::GetEccentricity
double GetEccentricity() const
Get spheroid eccentricity.
Definition: ogrspatialreference.cpp:3149
OGRSpatialReference::Fixup
OGRErr Fixup()
Fixup as needed.
Definition: ogrspatialreference.cpp:8015
OGRLayer::SyncToDisk
virtual OGRErr SyncToDisk()
Flush pending changes to disk.
Definition: ogrlayer.cpp:1519
OGRSpatialReference::IsGeographic
int IsGeographic() const
Check if geographic coordinate system.
Definition: ogrspatialreference.cpp:6542
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
OGRSpatialReference::SetCompoundCS
OGRErr SetCompoundCS(const char *pszName, const OGRSpatialReference *poHorizSRS, const OGRSpatialReference *poVertSRS)
Setup a compound coordinate system.
Definition: ogrspatialreference.cpp:3502
wkbTIN
@ wkbTIN
Definition: ogr_core.h:345
OSRIsCompound
int OSRIsCompound(OGRSpatialReferenceH)
Check if the coordinate system is compound.
Definition: ogrspatialreference.cpp:6432
OSRSetTMVariant
OGRErr OSRSetTMVariant(OGRSpatialReferenceH hSRS, const char *pszVariantName, double dfCenterLat, double dfCenterLong, double dfScale, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4100
SRS_PP_LATITUDE_OF_2ND_POINT
#define SRS_PP_LATITUDE_OF_2ND_POINT
Definition: ogr_srs_api.h:323
OGR_Dr_CreateDataSource
OGRDataSourceH OGR_Dr_CreateDataSource(OGRSFDriverH, const char *, char **) CPL_WARN_UNUSED_RESULT
This function attempts to create a new data source based on the passed driver.
OGRSpatialReference::SetSOC
OGRErr SetSOC(double dfLatitudeOfOrigin, double dfCentralMeridian, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5746
OGRSpatialReference::SetNormProjParm
OGRErr SetNormProjParm(const char *, double)
Set a projection parameter with a normalized value.
Definition: ogrspatialreference.cpp:3994
OGRTriangle::OGRTriangle
OGRTriangle()
Constructor.
Definition: ogrtriangle.cpp:46
OGRwkbVariant
OGRwkbVariant
Definition: ogr_core.h:423
OGRFeature::GetFID
GIntBig GetFID() const
Get feature identifier.
Definition: ogr_feature.h:711
OAO_South
@ OAO_South
Definition: ogr_srs_api.h:51
OGRTriangulatedSurface::getGeometryName
virtual const char * getGeometryName() const override
Returns the geometry name of the TriangulatedSurface.
Definition: ogrtriangulatedsurface.cpp:120
SRS_PM_GREENWICH
#define SRS_PM_GREENWICH
Definition: ogr_srs_api.h:451
SRS_PP_AZIMUTH
#define SRS_PP_AZIMUTH
Definition: ogr_srs_api.h:291
VSILFILE
FILE VSILFILE
Definition: cpl_vsi.h:155
OGRPolyhedralSurface::set3D
virtual void set3D(OGRBoolean bIs3D) override
Set the type as 3D geometry.
Definition: ogrpolyhedralsurface.cpp:986
SRS_PT_TWO_POINT_EQUIDISTANT
#define SRS_PT_TWO_POINT_EQUIDISTANT
Definition: ogr_srs_api.h:227
OSRIsProjected
int OSRIsProjected(OGRSpatialReferenceH)
Check if projected coordinate system.
Definition: ogrspatialreference.cpp:6476
OGRSpatialReference::SetSCH
OGRErr SetSCH(double dfPegLat, double dfPegLong, double dfPegHeading, double dfPegHgt)
Definition: ogrspatialreference.cpp:6053
OSRSetOS
OGRErr OSRSetOS(OGRSpatialReferenceH hSRS, double dfOriginLat, double dfCMeridian, double dfScale, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5508
OSRGetAttrValue
const char *CPL_STDCALL OSRGetAttrValue(OGRSpatialReferenceH hSRS, const char *pszName, int iChild)
Fetch indicated attribute of named node.
Definition: ogrspatialreference.cpp:568
OGRTriangulatedSurface::OGRTriangulatedSurface
OGRTriangulatedSurface()
Constructor.
Definition: ogrtriangulatedsurface.cpp:46
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
OGR_SRSNode::StripNodes
void StripNodes(const char *)
Definition: ogr_srsnode.cpp:891
CPLE_AppDefined
#define CPLE_AppDefined
Definition: cpl_error.h:99
OGRSpatialReference::SetFromUserInput
OGRErr SetFromUserInput(const char *)
Set spatial reference from various text formats.
Definition: ogrspatialreference.cpp:2205
OGRSpatialReference::SetUTM
OGRErr SetUTM(int nZone, int bNorth=TRUE)
Set UTM projection definition.
Definition: ogrspatialreference.cpp:5832
OSRSetCEA
OGRErr OSRSetCEA(OGRSpatialReferenceH hSRS, double dfStdP1, double dfCentralMeridian, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4360
OSRSetNZMG
OGRErr OSRSetNZMG(OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5472

Generated for GDAL by doxygen 1.8.17.