OGR
ogrunionlayer.h
1 /******************************************************************************
2  * $Id: ogrunionlayer.h 36501 2016-11-25 14:09:24Z 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:233
OGRLayer::GetName
virtual const char * GetName()
Return the layer name.
Definition: ogrlayer.cpp:1716
OGRFeatureDefn::GetName
virtual const char * GetName()
Get name of this OGRFeatureDefn.
Definition: ogrfeaturedefn.cpp:233
OGRSpatialReference::exportToPrettyWkt
OGRErr exportToPrettyWkt(char **, int=FALSE) const
Definition: ogrspatialreference.cpp:628
OGRSpatialReference::SetEC
OGRErr SetEC(double dfStdP1, double dfStdP2, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4139
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:81
OLCFastSpatialFilter
#define OLCFastSpatialFilter
Definition: ogr_core.h:725
OGRSpatialReference::importFromCRSURL
OGRErr importFromCRSURL(const char *)
Initialize from OGC URL.
Definition: ogrspatialreference.cpp:2556
OGRGeometry::Is3D
OGRBoolean Is3D() const
Definition: ogr_geometry.h:185
OSRSetEC
OGRErr OSRSetEC(OGRSpatialReferenceH hSRS, double dfStdP1, double dfStdP2, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4160
OLCIgnoreFields
#define OLCIgnoreFields
Definition: ogr_core.h:736
OGRGeomFieldDefn::SetSpatialRef
void SetSpatialRef(OGRSpatialReference *poSRSIn)
Set the spatial reference of this field.
Definition: ogrgeomfielddefn.cpp:486
OSRSetMercator
OGRErr OSRSetMercator(OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfScale, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5084
OGRSpatialReference::SetAngularUnits
OGRErr SetAngularUnits(const char *pszName, double dfInRadians)
Set the angular units for the geographic coordinate system.
Definition: ogrspatialreference.cpp:956
OGR_SRSNode::FixupOrdering
OGRErr FixupOrdering()
Definition: ogr_srsnode.cpp:920
wkbTINM
@ wkbTINM
Definition: ogr_core.h:373
OGRGeometryCollection::addGeometryDirectly
virtual OGRErr addGeometryDirectly(OGRGeometry *)
Add a geometry directly to the container.
Definition: ogrgeometrycollection.cpp:373
OSRSetUTM
OGRErr OSRSetUTM(OGRSpatialReferenceH hSRS, int nZone, int bNorth)
Set UTM projection definition.
Definition: ogrspatialreference.cpp:5602
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:3119
OGRSpatialReference::SetMercator2SP
OGRErr SetMercator2SP(double dfStdP1, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5102
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:5445
OGRMultiPolygon
Definition: ogr_geometry.h:1435
OGRSpatialReference::SetNode
OGRErr SetNode(const char *, const char *)
Set attribute value in spatial reference.
Definition: ogrspatialreference.cpp:826
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:872
OGRSpatialReference::SetGeogCS
OGRErr SetGeogCS(const char *pszGeogName, const char *pszDatumName, const char *pszEllipsoidName, double dfSemiMajor, double dfInvFlattening, const char *pszPMName=NULL, double dfPMOffset=0.0, const char *pszUnits=NULL, double dfConvertToRadians=0.0)
Set geographic coordinate system.
Definition: ogrspatialreference.cpp:1560
OGRFeature::SetFID
virtual OGRErr SetFID(GIntBig nFIDIn)
Set the feature identifier.
Definition: ogrfeature.cpp:5214
OGRTriangle::importFromWkb
virtual OGRErr importFromWkb(unsigned char *, int=-1, OGRwkbVariant=wkbVariantOldOgc) CPL_OVERRIDE
Assign geometry from well known binary data.
Definition: ogrtriangle.cpp:193
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:2914
OSRSetMercator2SP
OGRErr OSRSetMercator2SP(OGRSpatialReferenceH hSRS, double dfStdP1, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5126
OGRERR_UNSUPPORTED_GEOMETRY_TYPE
#define OGRERR_UNSUPPORTED_GEOMETRY_TYPE
Definition: ogr_core.h:290
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:4773
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:922
VALIDATE_POINTER0
#define VALIDATE_POINTER0(ptr, func)
Definition: cpl_error.h:199
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:3944
OGRFeature::SetFrom
OGRErr SetFrom(OGRFeature *, int=TRUE)
Set one feature from another.
Definition: ogrfeature.cpp:5511
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:717
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:5061
OSRImportFromMICoordSys
OGRErr OSRImportFromMICoordSys(OGRSpatialReferenceH, const char *)
Import Mapinfo style CoordSys definition.
Definition: ogrspatialreference.cpp:7551
OGRFeatureDefn::AddFieldDefn
virtual void AddFieldDefn(OGRFieldDefn *)
Add a new field definition.
Definition: ogrfeaturedefn.cpp:384
OGRSpatialReference::~OGRSpatialReference
virtual ~OGRSpatialReference()
OGRSpatialReference destructor.
Definition: ogrspatialreference.cpp:180
OGRSpatialReference::Release
void Release()
Decrements the reference count by one, and destroy if zero.
Definition: ogrspatialreference.cpp:378
OGRSpatialReference::SetWellKnownGeogCS
OGRErr SetWellKnownGeogCS(const char *)
Set a GeogCS based on well known name.
Definition: ogrspatialreference.cpp:1745
OSRSetIWMPolyconic
OGRErr OSRSetIWMPolyconic(OGRSpatialReferenceH hSRS, double dfLat1, double dfLat2, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4815
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:6771
SRS_PT_HOTINE_OBLIQUE_MERCATOR_AZIMUTH_CENTER
#define SRS_PT_HOTINE_OBLIQUE_MERCATOR_AZIMUTH_CENTER
Definition: ogr_srs_api.h:143
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:3927
OSRSetProjParm
OGRErr OSRSetProjParm(OGRSpatialReferenceH, const char *, double)
Set a projection parameter value.
Definition: ogrspatialreference.cpp:3488
OGRSpatialReference::IsLongitudeParameter
static int IsLongitudeParameter(const char *)
Definition: ogrspatialreference.cpp:6924
CPLHTTPDestroyResult
void CPLHTTPDestroyResult(CPLHTTPResult *psResult)
Clean the memory associated with the return value of CPLHTTPFetch()
Definition: cpl_http.cpp:927
SRS_PP_LATITUDE_OF_POINT_1
#define SRS_PP_LATITUDE_OF_POINT_1
Definition: ogr_srs_api.h:295
CPLString::Printf
CPLString & Printf(const char *pszFormat,...)
Definition: cplstring.cpp:59
OGRSpatialReference::SetEckert
OGRErr SetEckert(int nVariation, double dfCentralMeridian, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4179
OGRSpatialReference::SetEquirectangular
OGRErr SetEquirectangular(double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4306
OGRFeatureDefn::GetGeomFieldCount
virtual int GetGeomFieldCount()
Fetch number of geometry fields on this feature.
Definition: ogrfeaturedefn.cpp:583
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:6046
OGRSpatialReference::importFromMICoordSys
OGRErr importFromMICoordSys(const char *)
Import Mapinfo style CoordSys definition.
Definition: ogrspatialreference.cpp:7577
OGRSpatialReference::GetAuthorityCode
const char * GetAuthorityCode(const char *pszTargetKey) const
Get the authority code for a node.
Definition: ogrspatialreference.cpp:5905
OAO_West
@ OAO_West
Definition: ogr_srs_api.h:53
wkbTriangleZ
@ wkbTriangleZ
Definition: ogr_core.h:356
OSRGetNormProjParm
double OSRGetNormProjParm(OGRSpatialReferenceH hSRS, const char *pszParmName, double dfDefault, OGRErr *)
This function is the same as OGRSpatialReference::
Definition: ogrspatialreference.cpp:3690
OGRSpatialReference::SetLCC1SP
OGRErr SetLCC1SP(double dfCenterLat, double dfCenterLong, double dfScale, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4950
OSRFixup
OGRErr OSRFixup(OGRSpatialReferenceH)
Fixup as needed.
Definition: ogrspatialreference.cpp:7089
SRS_PT_ALBERS_CONIC_EQUAL_AREA
#define SRS_PT_ALBERS_CONIC_EQUAL_AREA
Definition: ogr_srs_api.h:100
OGRPolyhedralSurface::empty
virtual void empty() CPL_OVERRIDE
Clear geometry information. This restores the geometry to it's initial state after construction,...
Definition: ogrpolyhedralsurface.cpp:153
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:1913
OGRSpatialReference::GetAttrValue
const char * GetAttrValue(const char *, int=0) const
Fetch indicated attribute of named node.
Definition: ogrspatialreference.cpp:518
OSRSetOrthographic
OGRErr OSRSetOrthographic(OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5267
CPLCalloc
void * CPLCalloc(size_t, size_t)
Definition: cpl_conv.cpp:128
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:7163
OGRLayer::GetSpatialRef
virtual OGRSpatialReference * GetSpatialRef()
Fetch the spatial reference system for this layer.
Definition: ogrlayer.cpp:1032
OGRFeatureDefn::GetFieldCount
virtual int GetFieldCount()
Fetch number of fields on this feature.
Definition: ogrfeaturedefn.cpp:270
OSRSetEquirectangular2
OGRErr OSRSetEquirectangular2(OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfPseudoStdParallel1, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4364
OGRSpatialReference::SetAE
OGRErr SetAE(double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4001
OGRFieldDefn::GetWidth
int GetWidth() const
Get the formatting width for this field.
Definition: ogr_feature.h:97
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
OGRSpatialReference
Definition: ogr_spatialref.h:132
OGRSpatialReference::SetACEA
OGRErr SetACEA(double dfStdP1, double dfStdP2, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:3961
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:433
OGRPolyhedralSurface
Definition: ogr_geometry.h:1487
OGRLayer::GetFeatureCount
virtual GIntBig GetFeatureCount(int bForce=TRUE)
Fetch the feature count in this layer.
Definition: ogrlayer.cpp:166
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:1333
OSRSetGnomonic
OGRErr OSRSetGnomonic(OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4570
OGRSpatialReference::Clone
OGRSpatialReference * Clone() const
Make a duplicate of this OGRSpatialReference.
Definition: ogrspatialreference.cpp:563
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:6310
OLCSequentialWrite
#define OLCSequentialWrite
Definition: ogr_core.h:723
OGRTriangulatedSurface::CastToPolyhedralSurface
static OGRPolyhedralSurface * CastToPolyhedralSurface(OGRTriangulatedSurface *poTS)
Casts the OGRTriangulatedSurface to an OGRPolyhedralSurface.
Definition: ogrtriangulatedsurface.cpp:261
OGRGeometry
Definition: ogr_geometry.h:118
OGRSpatialReference::IsSame
int IsSame(const OGRSpatialReference *) const
Do these two spatial references describe the same system ?
Definition: ogrspatialreference.cpp:6639
wkbTriangleM
@ wkbTriangleM
Definition: ogr_core.h:374
OGRSpatialReference::SetSinusoidal
OGRErr SetSinusoidal(double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5391
OGRSpatialReference::SetLinearUnits
OGRErr SetLinearUnits(const char *pszName, double dfInMeters)
Set the linear units for the projection.
Definition: ogrspatialreference.cpp:1185
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:501
ograpispy.h
OSRSetTPED
OGRErr OSRSetTPED(OGRSpatialReferenceH hSRS, double dfLat1, double dfLong1, double dfLat2, double dfLong2, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:3890
OGRSpatialReference::importFromURN
OGRErr importFromURN(const char *)
Initialize from OGC URN.
Definition: ogrspatialreference.cpp:2410
OGRLayer
Definition: ogrsf_frmts.h:68
CPLString
Convenient string class based on std::string.
Definition: cpl_string.h:338
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:5868
OGRSpatialReference::SetProjParm
OGRErr SetProjParm(const char *, double)
Set a projection parameter value.
Definition: ogrspatialreference.cpp:3438
OGRSpatialReference::SetPS
OGRErr SetPS(double dfCenterLat, double dfCenterLong, double dfScale, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5320
OGRSpatialReference::IsProjected
int IsProjected() const
Check if projected coordinate system.
Definition: ogrspatialreference.cpp:6176
OGRSpatialReference::GetWGS84SRS
static OGRSpatialReference * GetWGS84SRS()
Returns an instance of a SRS object with WGS84 WKT.
Definition: ogrspatialreference.cpp:7670
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::GetSemiMajor
double GetSemiMajor(OGRErr *=NULL) const
Get spheroid semi major axis.
Definition: ogrspatialreference.cpp:2835
OGRSpatialReference::CopyGeogCSFrom
OGRErr CopyGeogCSFrom(const OGRSpatialReference *poSrcSRS)
Copy GEOGCS from another OGRSpatialReference.
Definition: ogrspatialreference.cpp:1869
OGRPoint
Definition: ogr_geometry.h:322
OGRFieldDefn::GetPrecision
int GetPrecision() const
Get the formatting precision for this field. This should normally be zero for fields of types other t...
Definition: ogr_feature.h:100
OGRSpatialReference::Reference
int Reference()
Increments the reference count by one.
Definition: ogrspatialreference.cpp:293
ogr_geometry.h
OSRCleanup
void OSRCleanup(void)
Cleanup cached SRS related memory.
Definition: ogrspatialreference.cpp:7227
OSRSetLinearUnits
OGRErr OSRSetLinearUnits(OGRSpatialReferenceH, const char *, double)
Set the linear units for the projection.
Definition: ogrspatialreference.cpp:1201
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:2693
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
OGRSpatialReference::SetGEOS
OGRErr SetGEOS(double dfCentralMeridian, double dfSatelliteHeight, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4475
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:141
OGRLayer::SetSpatialFilter
virtual void SetSpatialFilter(OGRGeometry *)
Set a new spatial filter.
Definition: ogrlayer.cpp:1106
OGRSpatialReference::IsSameGeogCS
int IsSameGeogCS(const OGRSpatialReference *) const
Do the GeogCS'es match?
Definition: ogrspatialreference.cpp:6467
OGRSpatialReference::SetPolyconic
OGRErr SetPolyconic(double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5283
OGRSpatialReference::SetLCCB
OGRErr SetLCCB(double dfStdP1, double dfStdP2, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4988
OLCFastFeatureCount
#define OLCFastFeatureCount
Definition: ogr_core.h:726
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
CSLFindString
int CSLFindString(const char *const *papszList, const char *pszTarget)
Definition: cpl_string.cpp:668
OSRFixupOrdering
OGRErr OSRFixupOrdering(OGRSpatialReferenceH)
Correct parameter ordering to match CT Specification.
Definition: ogrspatialreference.cpp:7016
EQUAL
#define EQUAL(a, b)
Definition: cpl_port.h:622
OGRSpatialReference::SetProjCS
OGRErr SetProjCS(const char *)
Set the user visible PROJCS name.
Definition: ogrspatialreference.cpp:3309
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:712
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:4636
OGRBoolean
int OGRBoolean
Definition: ogr_core.h:301
OGRSpatialReference::FixupOrdering
OGRErr FixupOrdering()
Correct parameter ordering to match CT Specification.
Definition: ogrspatialreference.cpp:6998
OGRSFDriverRegistrar
Definition: ogrsf_frmts.h:315
OGRTriangulatedSurface::getGeometryType
virtual OGRwkbGeometryType getGeometryType() const CPL_OVERRIDE
Returns the WKB Type of TriangulatedSurface.
Definition: ogrtriangulatedsurface.cpp:134
OGRSpatialReference::IsCompound
int IsCompound() const
Check if coordinate system is compound.
Definition: ogrspatialreference.cpp:6137
OSRSetLinearUnitsAndUpdateParameters
OGRErr OSRSetLinearUnitsAndUpdateParameters(OGRSpatialReferenceH, const char *, double)
Set the linear units for the projection.
Definition: ogrspatialreference.cpp:1150
OSRSetGEOS
OGRErr OSRSetGEOS(OGRSpatialReferenceH hSRS, double dfCentralMeridian, double dfSatelliteHeight, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4494
OGR_SRSNode::GetValue
const char * GetValue() const
Definition: ogr_spatialref.h:95
OSRSetSOC
OGRErr OSRSetSOC(OGRSpatialReferenceH hSRS, double dfLatitudeOfOrigin, double dfCentralMeridian, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5488
OGRSpatialReference::SetTargetLinearUnits
OGRErr SetTargetLinearUnits(const char *pszTargetKey, const char *pszName, double dfInMeters)
Set the linear units for the projection.
Definition: ogrspatialreference.cpp:1239
OGRFieldDefn::SetPrecision
void SetPrecision(int nPrecisionIn)
Set the formatting precision for this field in characters.
Definition: ogr_feature.h:101
OGRLayer::GetLayerDefn
virtual OGRFeatureDefn * GetLayerDefn()=0
Fetch the schema information for this layer.
OGRFeatureDefn::GetFieldDefn
virtual OGRFieldDefn * GetFieldDefn(int i)
Fetch field definition.
Definition: ogrfeaturedefn.cpp:317
cpl_http.h
wkbTINZM
@ wkbTINZM
Definition: ogr_core.h:391
OSRDereference
int OSRDereference(OGRSpatialReferenceH)
Decrements the reference count by one.
Definition: ogrspatialreference.cpp:348
OGRSpatialReference::SetEquirectangular2
OGRErr SetEquirectangular2(double dfCenterLat, double dfCenterLong, double dfPseudoStdParallel1, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4343
OGRSpatialReference::SetQSC
OGRErr SetQSC(double dfCenterLat, double dfCenterLong)
Definition: ogrspatialreference.cpp:5747
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:4253
OLCCurveGeometries
#define OLCCurveGeometries
Definition: ogr_core.h:738
OSRClone
OGRSpatialReferenceH CPL_STDCALL OSRClone(OGRSpatialReferenceH)
Make a duplicate of this OGRSpatialReference.
Definition: ogrspatialreference.cpp:583
SRS_PT_STEREOGRAPHIC
#define SRS_PT_STEREOGRAPHIC
Definition: ogr_srs_api.h:195
wkbFlatten
#define wkbFlatten(x)
Definition: ogr_core.h:431
OGRSpatialReference::GetAuthorityName
const char * GetAuthorityName(const char *pszTargetKey) const
Get the authority name for a node.
Definition: ogrspatialreference.cpp:5977
CSLDuplicate
char ** CSLDuplicate(char **papszStrList)
Definition: cpl_string.cpp:228
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:5521
OGRRawPoint
Definition: ogr_geometry.h:47
CPL_C_START
#define CPL_C_START
Definition: cpl_port.h:352
OSRIsLocal
int OSRIsLocal(OGRSpatialReferenceH)
Check if local coordinate system.
Definition: ogrspatialreference.cpp:6327
OGRFeature::SetField
void SetField(int i, int nValue)
Set field to integer value.
Definition: ogrfeature.cpp:3208
OSRSetGaussSchreiberTMercator
OGRErr OSRSetGaussSchreiberTMercator(OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfScale, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4533
OGRERR_UNSUPPORTED_SRS
#define OGRERR_UNSUPPORTED_SRS
Definition: ogr_core.h:294
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:4608
OSRSetAttrValue
OGRErr CPL_STDCALL OSRSetAttrValue(OGRSpatialReferenceH hSRS, const char *pszNodePath, const char *pszNewNodeValue)
Set attribute value in spatial reference.
Definition: ogrspatialreference.cpp:889
OSRGetAxis
const char * OSRGetAxis(OGRSpatialReferenceH hSRS, const char *pszTargetKey, int iAxis, OGRAxisOrientation *peOrientation)
Fetch the orientation of one axis.
Definition: ogrspatialreference.cpp:7347
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::GetPrimeMeridian
double GetPrimeMeridian(char **=NULL) const
Fetch prime meridian info.
Definition: ogrspatialreference.cpp:1476
OGRSpatialReference::SetBonne
OGRErr SetBonne(double dfStdP1, double dfCentralMeridian, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4036
OGRTriangle::addRingDirectly
virtual OGRErr addRingDirectly(OGRCurve *poNewRing) CPL_OVERRIDE
Add a ring to a polygon.
Definition: ogrtriangle.cpp:249
OGRSpatialReferenceH
void * OGRSpatialReferenceH
Definition: ogr_api.h:69
OSRReference
int OSRReference(OGRSpatialReferenceH)
Increments the reference count by one.
Definition: ogrspatialreference.cpp:308
SRS_PT_AZIMUTHAL_EQUIDISTANT
#define SRS_PT_AZIMUTHAL_EQUIDISTANT
Definition: ogr_srs_api.h:103
OGRSpatialReference::GetProjParm
double GetProjParm(const char *, double=0.0, OGRErr *=NULL) const
Fetch a projection parameter value.
Definition: ogrspatialreference.cpp:3579
OSRSetProjCS
OGRErr OSRSetProjCS(OGRSpatialReferenceH hSRS, const char *pszName)
Set the user visible PROJCS name.
Definition: ogrspatialreference.cpp:3347
SRS_PT_ECKERT_III
#define SRS_PT_ECKERT_III
Definition: ogr_srs_api.h:115
SRS_WKT_WGS84
#define SRS_WKT_WGS84
Definition: ogr_srs_api.h:93
OGRTriangulatedSurface::addGeometry
virtual OGRErr addGeometry(const OGRGeometry *) CPL_OVERRIDE
Add a new geometry to a collection.
Definition: ogrtriangulatedsurface.cpp:184
OGRPolyhedralSurface::addGeometry
virtual OGRErr addGeometry(const OGRGeometry *)
Add a new geometry to a collection.
Definition: ogrpolyhedralsurface.cpp:836
SRS_PT_ECKERT_IV
#define SRS_PT_ECKERT_IV
Definition: ogr_srs_api.h:117
OGRSurface
Definition: ogr_geometry.h:1017
OSRSetPS
OGRErr OSRSetPS(OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfScale, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5340
OGRLayer::GetFeature
virtual OGRFeature * GetFeature(GIntBig nFID) CPL_WARN_UNUSED_RESULT
Fetch a feature by its identifier.
Definition: ogrlayer.cpp:445
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::GetSemiMinor
double GetSemiMinor(OGRErr *=NULL) const
Get spheroid semi minor axis.
Definition: ogrspatialreference.cpp:2937
OGRSpatialReference::SetKrovak
OGRErr SetKrovak(double dfCenterLat, double dfCenterLong, double dfAzimuth, double dfPseudoStdParallelLat, double dfScale, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4832
OGRFeatureDefn::GetGeomFieldDefn
virtual OGRGeomFieldDefn * GetGeomFieldDefn(int i)
Fetch geometry field definition.
Definition: ogrfeaturedefn.cpp:632
OSRGetTargetLinearUnits
double OSRGetTargetLinearUnits(OGRSpatialReferenceH, const char *, char **)
Fetch linear projection units.
Definition: ogrspatialreference.cpp:1440
OGRSpatialReference::SetGaussSchreiberTMercator
OGRErr SetGaussSchreiberTMercator(double dfCenterLat, double dfCenterLong, double dfScale, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4512
OGRTriangle::operator=
OGRTriangle & operator=(const OGRTriangle &other)
Assignment operator.
Definition: ogrtriangle.cpp:143
OGRERR_UNSUPPORTED_OPERATION
#define OGRERR_UNSUPPORTED_OPERATION
Definition: ogr_core.h:291
CSLCount
int CSLCount(const char *const *papszStrList)
Definition: cpl_string.cpp:147
OSRStripCTParms
OGRErr OSRStripCTParms(OGRSpatialReferenceH)
Strip OGC CT Parameters.
Definition: ogrspatialreference.cpp:6117
CPLGetLastErrorNo
CPLErrorNum CPLGetLastErrorNo(void)
Definition: cpl_error.cpp:740
OGRGetDriverByName
OGRSFDriverH OGRGetDriverByName(const char *)
Fetch the indicated driver.
OGRSpatialReference::importFromXML
OGRErr importFromXML(const char *)
Import coordinate system from XML format (GML only currently).
Definition: ogr_srs_xml.cpp:1255
OSRSetIGH
OGRErr OSRSetIGH(OGRSpatialReferenceH hSRS)
Definition: ogrspatialreference.cpp:4463
SRS_PP_LATITUDE_OF_ORIGIN
#define SRS_PP_LATITUDE_OF_ORIGIN
Definition: ogr_srs_api.h:285
CPLHTTPResult
Definition: cpl_http.h:55
OGRSpatialReference::SetIWMPolyconic
OGRErr SetIWMPolyconic(double dfLat1, double dfLat2, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4795
OSRSetMC
OGRErr OSRSetMC(OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5045
VALIDATE_POINTER1
#define VALIDATE_POINTER1(ptr, func, rc)
Definition: cpl_error.h:208
SRS_PP_LONGITUDE_OF_1ST_POINT
#define SRS_PP_LONGITUDE_OF_1ST_POINT
Definition: ogr_srs_api.h:321
OGRSpatialReference::GetUTMZone
int GetUTMZone(int *pbNorth=NULL) const
Get utm zone information.
Definition: ogrspatialreference.cpp:5631
OGRSpatialReference::importFromUrl
OGRErr importFromUrl(const char *)
Set spatial reference from a URL.
Definition: ogrspatialreference.cpp:2228
OLCStringsAsUTF8
#define OLCStringsAsUTF8
Definition: ogr_core.h:735
CPLHTTPResult::pabyData
GByte * pabyData
Definition: cpl_http.h:71
OGRERR_FAILURE
#define OGRERR_FAILURE
Definition: ogr_core.h:293
OGRSpatialReference::SetProjection
OGRErr SetProjection(const char *)
Set a projection name.
Definition: ogrspatialreference.cpp:3370
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:5358
OSRSetLAEA
OGRErr OSRSetLAEA(OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4895
OGRSpatialReference::SetIGH
OGRErr SetIGH()
Definition: ogrspatialreference.cpp:4451
OFTString
@ OFTString
Definition: ogr_core.h:590
OAO_Other
@ OAO_Other
Definition: ogr_srs_api.h:49
OGRTriangle::getGeometryType
virtual OGRwkbGeometryType getGeometryType() const CPL_OVERRIDE
Fetch geometry type.
Definition: ogrtriangle.cpp:165
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:69
OGRSpatialReference::SetTMSO
OGRErr SetTMSO(double dfCenterLat, double dfCenterLong, double dfScale, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:3849
OSRGetAuthorityName
const char * OSRGetAuthorityName(OGRSpatialReferenceH hSRS, const char *pszTargetKey)
Get the authority name for a node.
Definition: ogrspatialreference.cpp:6020
SRS_PP_LONGITUDE_OF_CENTER
#define SRS_PP_LONGITUDE_OF_CENTER
Definition: ogr_srs_api.h:279
ODrCDeleteDataSource
#define ODrCDeleteDataSource
Definition: ogr_core.h:752
OGRSpatialReference::GetTargetLinearUnits
double GetTargetLinearUnits(const char *pszTargetKey, char **ppszRetName=NULL) const
Fetch linear units for target.
Definition: ogrspatialreference.cpp:1386
OGRSpatialReference::SetOrthographic
OGRErr SetOrthographic(double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5249
ogrsf_frmts.h
OGRSpatialReference::exportToMICoordSys
OGRErr exportToMICoordSys(char **) const
Export coordinate system in Mapinfo style CoordSys format.
Definition: ogrspatialreference.cpp:7525
OSRSetProjection
OGRErr OSRSetProjection(OGRSpatialReferenceH, const char *)
Set a projection name.
Definition: ogrspatialreference.cpp:3405
OGRSpatialReference::GetInvFlattening
double GetInvFlattening(OGRErr *=NULL) const
Get spheroid inverse flattening.
Definition: ogrspatialreference.cpp:2886
OSRSetPolyconic
OGRErr OSRSetPolyconic(OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5304
CPL_C_END
#define CPL_C_END
Definition: cpl_port.h:354
OGRSpatialReference::Clear
void Clear()
Wipe current definition.
Definition: ogrspatialreference.cpp:239
OSRSetGeocCS
OGRErr OSRSetGeocCS(OGRSpatialReferenceH hSRS, const char *pszName)
Set the user visible PROJCS name.
Definition: ogrspatialreference.cpp:3085
OGRSpatialReference::Dereference
int Dereference()
Decrements the reference count by one.
Definition: ogrspatialreference.cpp:328
OGRSpatialReference::SetGeocCS
OGRErr SetGeocCS(const char *pszGeocName)
Set the user visible GEOCCS name.
Definition: ogrspatialreference.cpp:3036
CPLDebug
void CPLDebug(const char *, const char *,...)
Definition: cpl_error.cpp:492
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:4856
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:6444
OGRLayer::GetExtent
virtual OGRErr GetExtent(OGREnvelope *psExtent, int bForce=TRUE) CPL_WARN_UNUSED_RESULT
Fetch the extent of this layer.
Definition: ogrlayer.cpp:207
OSRSetMollweide
OGRErr OSRSetMollweide(OGRSpatialReferenceH hSRS, double dfCentralMeridian, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5161
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
OGRPolygon::importFromWkb
virtual OGRErr importFromWkb(unsigned char *, int=-1, OGRwkbVariant=wkbVariantOldOgc) CPL_OVERRIDE
Assign geometry from well known binary data.
Definition: ogrpolygon.cpp:319
OGRDataSourceH
void * OGRDataSourceH
Definition: ogr_api.h:499
OGRFieldDefn
Definition: ogr_feature.h:62
OGRSpatialReference::IsSameVertCS
int IsSameVertCS(const OGRSpatialReference *) const
Do the VertCS'es match?
Definition: ogrspatialreference.cpp:6578
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:4325
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:6244
OFTInteger
@ OFTInteger
Definition: ogr_core.h:586
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:631
CPLMalloc
void * CPLMalloc(size_t)
Definition: cpl_conv.cpp:158
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:3619
OGRTriangle::getGeometryName
virtual const char * getGeometryName() const CPL_OVERRIDE
Fetch WKT name for geometry type.
Definition: ogrtriangle.cpp:156
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:5027
OGRSimpleCurve::addPoint
void addPoint(const OGRPoint *)
Add a point to a line string.
Definition: ogrlinestring.cpp:763
OGRGeometry::assignSpatialReference
void assignSpatialReference(OGRSpatialReference *poSR)
Assign spatial reference to this object.
Definition: ogrgeometry.cpp:450
OAO_Up
@ OAO_Up
Definition: ogr_srs_api.h:54
cpl_conv.h
OGRFeatureDefn::GetGeomFieldIndex
virtual int GetGeomFieldIndex(const char *)
Find geometry field by name.
Definition: ogrfeaturedefn.cpp:842
wkbNone
@ wkbNone
Definition: ogr_core.h:344
OSRGetTOWGS84
OGRErr OSRGetTOWGS84(OGRSpatialReferenceH hSRS, double *, int)
Fetch TOWGS84 parameters, if available.
Definition: ogrspatialreference.cpp:6881
OSRGetSemiMinor
double OSRGetSemiMinor(OGRSpatialReferenceH, OGRErr *)
Get spheroid semi minor axis.
Definition: ogrspatialreference.cpp:2955
OGRCurvePolygon::CastToPolygon
static OGRPolygon * CastToPolygon(OGRCurvePolygon *poCP)
Convert to polygon.
Definition: ogrcurvepolygon.cpp:821
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:750
OSRSetAngularUnits
OGRErr OSRSetAngularUnits(OGRSpatialReferenceH, const char *, double)
Set the angular units for the geographic coordinate system.
Definition: ogrspatialreference.cpp:1000
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:7467
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:1700
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:4677
OGRSpatialReference::FindProjParm
int FindProjParm(const char *pszParameter, const OGR_SRSNode *poPROJCS=NULL) const
Return the child index of the named projection parameter on its parent PROJCS node.
Definition: ogrspatialreference.cpp:3512
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:7412
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:3907
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:238
OGRFeature::SetGeomFieldDirectly
OGRErr SetGeomFieldDirectly(int iField, OGRGeometry *)
Set feature geometry of a specified geometry field.
Definition: ogrfeature.cpp:727
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:724
ODrCCreateDataSource
#define ODrCCreateDataSource
Definition: ogr_core.h:751
CPLErrorReset
void CPLErrorReset(void)
Definition: cpl_error.cpp:653
OGRLayer::ICreateFeature
virtual OGRErr ICreateFeature(OGRFeature *poFeature) CPL_WARN_UNUSED_RESULT
Create and write a new feature within a layer.
Definition: ogrlayer.cpp:634
OSRGetLinearUnits
double OSRGetLinearUnits(OGRSpatialReferenceH, char **)
Fetch linear projection units.
Definition: ogrspatialreference.cpp:1353
CPLSPrintf
const char * CPLSPrintf(const char *fmt,...)
Definition: cpl_string.cpp:975
OGRSpatialReference::SetOS
OGRErr SetOS(double dfOriginLat, double dfCMeridian, double dfScale, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5211
OSRSetEckert
OGRErr OSRSetEckert(OGRSpatialReferenceH hSRS, int nVariation, double dfCentralMeridian, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4216
OGRDataSource
Definition: ogrsf_frmts.h:247
OGRSpatialReference::IsGeocentric
int IsGeocentric() const
Check if geocentric coordinate system.
Definition: ogrspatialreference.cpp:6222
OGRSpatialReference::importFromEPSG
OGRErr importFromEPSG(int)
Initialize SRS based on EPSG GCS or PCS code.
Definition: ogr_fromepsg.cpp:2126
OGRFeatureDefn::GetFieldIndex
virtual int GetFieldIndex(const char *)
Find field by name.
Definition: ogrfeaturedefn.cpp:1144
OGRFeature::IsFieldSetAndNotNull
bool IsFieldSetAndNotNull(int iField)
Test if a field is set and not null.
Definition: ogrfeature.cpp:1464
OSRSetTM
OGRErr OSRSetTM(OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfScale, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:3787
OSRCalcInvFlattening
double OSRCalcInvFlattening(double dfSemiMajor, double dfSemiMinor)
Compute inverse flattening from semi-major and semi-minor axis.
Definition: ogrspatialreference.cpp:7612
OGRSpatialReference::SetEckertVI
OGRErr SetEckertVI(double dfCentralMeridian, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4272
OGRSpatialReference::GetAxis
const char * GetAxis(const char *pszTargetKey, int iAxis, OGRAxisOrientation *peOrientation) const
Fetch the orientation of one axis.
Definition: ogrspatialreference.cpp:7259
OGRSpatialReference::SetTPED
OGRErr SetTPED(double dfLat1, double dfLong1, double dfLat2, double dfLong2, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:3869
OSRSetCompoundCS
OGRErr OSRSetCompoundCS(OGRSpatialReferenceH hSRS, const char *pszName, OGRSpatialReferenceH hHorizSRS, OGRSpatialReferenceH hVertSRS)
Setup a compound coordinate system.
Definition: ogrspatialreference.cpp:3275
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:215
OSRIsGeographic
int OSRIsGeographic(OGRSpatialReferenceH)
Check if geographic coordinate system.
Definition: ogrspatialreference.cpp:6289
SRS_PT_LAMBERT_CONFORMAL_CONIC_1SP
#define SRS_PT_LAMBERT_CONFORMAL_CONIC_1SP
Definition: ogr_srs_api.h:155
OGRGeomFieldDefn
Definition: ogr_feature.h:141
OSRNewSpatialReference
OGRSpatialReferenceH CPL_STDCALL OSRNewSpatialReference(const char *)
Constructor.
Definition: ogrspatialreference.cpp:131
OGRFieldDefn::GetNameRef
const char * GetNameRef()
Fetch name of this field.
Definition: ogr_feature.h:83
OSRSetSCH
OGRErr OSRSetSCH(OGRSpatialReferenceH hSRS, double dfPegLat, double dfPegLong, double dfPegHeading, double dfPegHgt)
Definition: ogrspatialreference.cpp:5792
OGRSpatialReference::IsLinearParameter
static int IsLinearParameter(const char *)
Definition: ogrspatialreference.cpp:6943
OGRSpatialReference::SetLAEA
OGRErr SetLAEA(double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4877
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:7640
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:767
CPLE_NotSupported
#define CPLE_NotSupported
Definition: cpl_error.h:110
OGRERR_CORRUPT_DATA
#define OGRERR_CORRUPT_DATA
Definition: ogr_core.h:292
OSRSetVertCS
OGRErr OSRSetVertCS(OGRSpatialReferenceH hSRS, const char *pszVertCSName, const char *pszVertDatumName, int nVertDatumType)
Setup the vertical coordinate system.
Definition: ogrspatialreference.cpp:3196
OSRDestroySpatialReference
void CPL_STDCALL OSRDestroySpatialReference(OGRSpatialReferenceH)
OGRSpatialReference destructor.
Definition: ogrspatialreference.cpp:222
OSRGetAuthorityCode
const char * OSRGetAuthorityCode(OGRSpatialReferenceH hSRS, const char *pszTargetKey)
Get the authority code for a node.
Definition: ogrspatialreference.cpp:5944
SRS_PT_VANDERGRINTEN
#define SRS_PT_VANDERGRINTEN
Definition: ogr_srs_api.h:230
OGRCoordinateTransformation
Definition: ogr_spatialref.h:591
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:6827
OGRFieldDefn::GetType
OGRFieldType GetType() const
Fetch type of this field.
Definition: ogr_feature.h:85
OGRSpatialReference::CloneGeogCS
OGRSpatialReference * CloneGeogCS() const
Make a duplicate of the GEOGCS node of this OGRSpatialReference object.
Definition: ogrspatialreference.cpp:6392
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::StripCTParms
OGRErr StripCTParms(OGR_SRSNode *=NULL)
Strip OGC CT Parameters.
Definition: ogrspatialreference.cpp:6080
OGRSFDriver
Definition: ogrsf_frmts.h:280
OGRCurve::get_IsClosed
virtual int get_IsClosed() const
Return TRUE if curve is closed.
Definition: ogrcurve.cpp:97
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:6733
OGRGeomFieldDefn::GetNameRef
const char * GetNameRef()
Fetch name of this field.
Definition: ogr_feature.h:162
OGR_SRSNode::InsertChild
void InsertChild(OGR_SRSNode *, int)
Definition: ogr_srsnode.cpp:261
OGRErr
int OGRErr
Definition: ogr_core.h:285
OGRSpatialReference::SetAuthority
OGRErr SetAuthority(const char *pszTargetKey, const char *pszAuthority, int nCode)
Set the authority for a node.
Definition: ogrspatialreference.cpp:5822
CPLHTTPResult::pszErrBuf
char * pszErrBuf
Definition: cpl_http.h:63
OSRRelease
void OSRRelease(OGRSpatialReferenceH)
Decrements the reference count by one, and destroy if zero.
Definition: ogrspatialreference.cpp:396
OSRSetWagner
OGRErr OSRSetWagner(OGRSpatialReferenceH hSRS, int nVariation, double dfCenterLat, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5731
OSRCopyGeogCSFrom
OGRErr OSRCopyGeogCSFrom(OGRSpatialReferenceH hSRS, const OGRSpatialReferenceH hSrcSRS)
Copy GEOGCS from another OGRSpatialReference.
Definition: ogrspatialreference.cpp:1942
OSRSetNormProjParm
OGRErr OSRSetNormProjParm(OGRSpatialReferenceH, const char *, double)
Set a projection parameter with a normalized value.
Definition: ogrspatialreference.cpp:3753
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:57
OSRSetRobinson
OGRErr OSRSetRobinson(OGRSpatialReferenceH hSRS, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5375
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
GIntBig
long long GIntBig
Definition: cpl_port.h:250
OSRSetWellKnownGeogCS
OGRErr OSRSetWellKnownGeogCS(OGRSpatialReferenceH hSRS, const char *pszName)
Set a GeogCS based on well known name.
Definition: ogrspatialreference.cpp:1844
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:205
OGRCurvePolygon::getNumInteriorRings
int getNumInteriorRings() const
Fetch the number of internal rings.
Definition: ogrcurvepolygon.cpp:242
CPLHTTPResult::nDataLen
int nDataLen
Definition: cpl_http.h:66
OSRSetLCCB
OGRErr OSRSetLCCB(OGRSpatialReferenceH hSRS, double dfStdP1, double dfStdP2, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5009
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:1504
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:4704
OGRwkbGeometryType
OGRwkbGeometryType
Definition: ogr_core.h:312
CPL_UNUSED
#define CPL_UNUSED
Definition: cpl_port.h:1008
SRS_PP_FALSE_EASTING
#define SRS_PP_FALSE_EASTING
Definition: ogr_srs_api.h:287
wkbTINZ
@ wkbTINZ
Definition: ogr_core.h:355
OSRGetAngularUnits
double OSRGetAngularUnits(OGRSpatialReferenceH, char **)
Fetch angular geographic coordinate system units.
Definition: ogrspatialreference.cpp:1070
SRS_PT_CYLINDRICAL_EQUAL_AREA
#define SRS_PT_CYLINDRICAL_EQUAL_AREA
Definition: ogr_srs_api.h:107
OLCRandomRead
#define OLCRandomRead
Definition: ogr_core.h:722
OGRTriangle
Definition: ogr_geometry.h:1247
OGRSpatialReference::DestroySpatialReference
static void DestroySpatialReference(OGRSpatialReference *poSRS)
OGRSpatialReference destructor.
Definition: ogrspatialreference.cpp:205
OGRFeature
Definition: ogr_feature.h:279
OGRSpatialReference::SetLCC
OGRErr SetLCC(double dfStdP1, double dfStdP2, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4911
OSRAxisEnumToName
const char * OSRAxisEnumToName(OGRAxisOrientation eOrientation)
Return the string representation for the OGRAxisOrientation enumeration.
Definition: ogrspatialreference.cpp:7369
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:164
OSRIsSameGeogCS
int OSRIsSameGeogCS(OGRSpatialReferenceH, OGRSpatialReferenceH)
Do the GeogCS'es match?
Definition: ogrspatialreference.cpp:6554
OGRSpatialReference::SetVDG
OGRErr SetVDG(double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5504
OSRExportToMICoordSys
OGRErr OSRExportToMICoordSys(OGRSpatialReferenceH, char **)
Export coordinate system in Mapinfo style CoordSys format.
Definition: ogrspatialreference.cpp:7496
OSRSetQSC
OGRErr OSRSetQSC(OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong)
Definition: ogrspatialreference.cpp:5761
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:6853
ogr_api.h
OGRSpatialReference::SetMollweide
OGRErr SetMollweide(double dfCentralMeridian, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5144
OLCFastGetExtent
#define OLCFastGetExtent
Definition: ogr_core.h:727
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:260
OSRSetTargetLinearUnits
OGRErr OSRSetTargetLinearUnits(OGRSpatialReferenceH, const char *, const char *, double)
Set the linear units for the target node.
Definition: ogrspatialreference.cpp:1305
OSRSetLCC
OGRErr OSRSetLCC(OGRSpatialReferenceH hSRS, double dfStdP1, double dfStdP2, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4932
wkbTriangleZM
@ wkbTriangleZM
Definition: ogr_core.h:392
OSRSetACEA
OGRErr OSRSetACEA(OGRSpatialReferenceH hSRS, double dfStdP1, double dfStdP2, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:3982
OGRCurvePolygon::addRing
virtual OGRErr addRing(OGRCurve *)
Add a ring to a polygon.
Definition: ogrcurvepolygon.cpp:338
OGRSpatialReference::SetTMVariant
OGRErr SetTMVariant(const char *pszVariantName, double dfCenterLat, double dfCenterLong, double dfScale, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:3806
OSRSetSinusoidal
OGRErr OSRSetSinusoidal(OGRSpatialReferenceH hSRS, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5408
OGRGeometry::IsMeasured
OGRBoolean IsMeasured() const
Definition: ogr_geometry.h:187
OGRPolyhedralSurface::set3D
virtual void set3D(OGRBoolean bIs3D) CPL_OVERRIDE
Set the type as 3D geometry.
Definition: ogrpolyhedralsurface.cpp:986
OGRSpatialReference::SetGnomonic
OGRErr SetGnomonic(double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4551
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:6375
OGRTriangle::~OGRTriangle
virtual ~OGRTriangle()
Destructor.
Definition: ogrtriangle.cpp:126
OGRCurve
Definition: ogr_geometry.h:433
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:4019
VSIFOpenL
VSILFILE * VSIFOpenL(const char *, const char *)
Open file.
Definition: cpl_vsil.cpp:608
OGRSpatialReference::IsVertical
int IsVertical() const
Check if vertical coordinate system.
Definition: ogrspatialreference.cpp:6350
OSRGetUTMZone
int OSRGetUTMZone(OGRSpatialReferenceH hSRS, int *pbNorth)
Get utm zone information.
Definition: ogrspatialreference.cpp:5679
OGRSpatialReference::GetAngularUnits
double GetAngularUnits(char **=NULL) const
Fetch angular geographic coordinate system units.
Definition: ogrspatialreference.cpp:1032
OSRSetEckertVI
OGRErr OSRSetEckertVI(OGRSpatialReferenceH hSRS, double dfCentralMeridian, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4289
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:447
OGRSpatialReference::SetEckertIV
OGRErr SetEckertIV(double dfCentralMeridian, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4236
OGRLayer::SetIgnoredFields
virtual OGRErr SetIgnoredFields(const char **papszFields)
Set which fields can be omitted when retrieving features from the layer.
Definition: ogrlayer.cpp:1780
OSRSetGH
OGRErr OSRSetGH(OGRSpatialReferenceH hSRS, double dfCentralMeridian, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4434
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:6617
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:4104
OGRSpatialReference::OGRSpatialReference
OGRSpatialReference(const OGRSpatialReference &)
Definition: ogrspatialreference.cpp:155
OGRFieldDefn::SetWidth
void SetWidth(int nWidthIn)
Set the formatting width for this field in characters.
Definition: ogr_feature.h:98
OFTInteger64
@ OFTInteger64
Definition: ogr_core.h:598
OSRSetBonne
OGRErr OSRSetBonne(OGRSpatialReferenceH hSRS, double dfStandardParallel, double dfCentralMeridian, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4054
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:2308
OGRLinearRing
Definition: ogr_geometry.h:684
OGRSpatialReference::GetLinearUnits
double GetLinearUnits(char **=NULL) const
Fetch linear projection units.
Definition: ogrspatialreference.cpp:1338
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:287
CPLStrdup
char * CPLStrdup(const char *)
Definition: cpl_conv.cpp:284
OSRSetLCC1SP
OGRErr OSRSetLCC1SP(OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfScale, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4970
OGRGeomFieldDefn::GetSpatialRef
virtual OGRSpatialReference * GetSpatialRef()
Fetch spatial reference system of this field.
Definition: ogrgeomfielddefn.cpp:435
OGRFeatureDefn
Definition: ogr_feature.h:207
CPLAtof
double CPLAtof(const char *)
Definition: cpl_strtod.cpp:117
OSRSetGS
OGRErr OSRSetGS(OGRSpatialReferenceH hSRS, double dfCentralMeridian, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4400
OGRLayer::GetGeomType
virtual OGRwkbGeometryType GetGeomType()
Return the layer geometry type.
Definition: ogrlayer.cpp:1743
OGRLayer::ISetFeature
virtual OGRErr ISetFeature(OGRFeature *poFeature) CPL_WARN_UNUSED_RESULT
Rewrite an existing feature.
Definition: ogrlayer.cpp:595
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:108
OGRSpatialReference::SetRoot
void SetRoot(OGR_SRSNode *)
Set the root SRS node.
Definition: ogrspatialreference.cpp:418
OGR_SRSNode
Definition: ogr_spatialref.h:60
wkbTriangle
@ wkbTriangle
Definition: ogr_core.h:342
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:630
OGRPolygon
Definition: ogr_geometry.h:1162
OGRTriangulatedSurface
Definition: ogr_geometry.h:1570
OSRSetLocalCS
OGRErr OSRSetLocalCS(OGRSpatialReferenceH hSRS, const char *pszName)
Set the user visible LOCAL_CS name.
Definition: ogrspatialreference.cpp:3007
OGRSpatialReference::importFromEPSGA
OGRErr importFromEPSGA(int)
Initialize SRS based on EPSG GCS or PCS code.
Definition: ogr_fromepsg.cpp:2191
OGRSpatialReference::SetGS
OGRErr SetGS(double dfCentralMeridian, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4383
OGRCurvePolygon
Definition: ogr_geometry.h:1051
OGRSpatialReference::GetNormProjParm
double GetNormProjParm(const char *, double=0.0, OGRErr *=NULL) const
Fetch a normalized projection parameter value.
Definition: ogrspatialreference.cpp:3652
OGRSpatialReference::SetTM
OGRErr SetTM(double dfCenterLat, double dfCenterLong, double dfScale, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:3767
OGRSpatialReference::SetLinearUnitsAndUpdateParameters
OGRErr SetLinearUnitsAndUpdateParameters(const char *pszName, double dfInMeters)
Set the linear units for the projection.
Definition: ogrspatialreference.cpp:1102
OSRSetCS
OGRErr OSRSetCS(OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4122
OGRSpatialReference::dumpReadable
void dumpReadable()
Definition: ogrspatialreference.cpp:598
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:4417
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:665
OGRPolyhedralSurface::setMeasured
virtual void setMeasured(OGRBoolean bIsMeasured) CPL_OVERRIDE
Set the type as Measured.
Definition: ogrpolyhedralsurface.cpp:1001
OGRTriangulatedSurface::getGeometryName
virtual const char * getGeometryName() const CPL_OVERRIDE
Returns the geometry name of the TriangulatedSurface.
Definition: ogrtriangulatedsurface.cpp:120
OSRSetFromUserInput
OGRErr CPL_STDCALL OSRSetFromUserInput(OGRSpatialReferenceH hSRS, const char *)
Set spatial reference from various text formats.
Definition: ogrspatialreference.cpp:2201
OGRSpatialReference::exportToWkt
OGRErr exportToWkt(char **) const
Convert this SRS into WKT format.
Definition: ogrspatialreference.cpp:695
OSRImportFromWkt
OGRErr OSRImportFromWkt(OGRSpatialReferenceH, char **)
Import from WKT string.
Definition: ogrspatialreference.cpp:793
OGRFeature::GetFieldAsString
const char * GetFieldAsString(int i)
Fetch field value as a string.
Definition: ogrfeature.cpp:2090
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:4743
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:4070
OFTReal
@ OFTReal
Definition: ogr_core.h:588
OGRSpatialReference::IsAngularParameter
static int IsAngularParameter(const char *)
Definition: ogrspatialreference.cpp:6900
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:2980
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),...
SRS_PT_SINUSOIDAL
#define SRS_PT_SINUSOIDAL
Definition: ogr_srs_api.h:193
OGRCurvePolygon::empty
virtual void empty() CPL_OVERRIDE
Clear geometry information. This restores the geometry to it's initial state after construction,...
Definition: ogrcurvepolygon.cpp:132
OGRGetDriver
OGRSFDriverH OGRGetDriver(int)
Fetch the indicated driver.
OSRGetSemiMajor
double OSRGetSemiMajor(OGRSpatialReferenceH, OGRErr *)
Get spheroid semi major axis.
Definition: ogrspatialreference.cpp:2863
OGRSpatialReference::SetStereographic
OGRErr SetStereographic(double dfCenterLat, double dfCenterLong, double dfScale, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5424
OGRSpatialReference::SetWagner
OGRErr SetWagner(int nVariation, double dfCenterLat, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5691
OGRSpatialReference::SetNZMG
OGRErr SetNZMG(double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5177
OGRNullFID
#define OGRNullFID
Definition: ogr_core.h:636
OGRERR_INVALID_HANDLE
#define OGRERR_INVALID_HANDLE
Definition: ogr_core.h:295
OGRSpatialReference::Fixup
OGRErr Fixup()
Fixup as needed.
Definition: ogrspatialreference.cpp:7052
OGRLayer::SyncToDisk
virtual OGRErr SyncToDisk()
Flush pending changes to disk.
Definition: ogrlayer.cpp:1511
OGRSpatialReference::IsGeographic
int IsGeographic() const
Check if geographic coordinate system.
Definition: ogrspatialreference.cpp:6265
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:3230
wkbTIN
@ wkbTIN
Definition: ogr_core.h:340
CPLHTTPFetch
CPLHTTPResult * CPLHTTPFetch(const char *pszURL, char **papszOptions)
Fetch a document from an url and return in a string.
Definition: cpl_http.cpp:246
OSRIsCompound
int OSRIsCompound(OGRSpatialReferenceH)
Check if the coordinate system is compound.
Definition: ogrspatialreference.cpp:6155
OSRSetTMVariant
OGRErr OSRSetTMVariant(OGRSpatialReferenceH hSRS, const char *pszVariantName, double dfCenterLat, double dfCenterLong, double dfScale, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:3828
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:5469
OGRSpatialReference::SetNormProjParm
OGRErr SetNormProjParm(const char *, double)
Set a projection parameter with a normalized value.
Definition: ogrspatialreference.cpp:3722
OGRTriangle::OGRTriangle
OGRTriangle()
Constructor.
Definition: ogrtriangle.cpp:46
OGRwkbVariant
OGRwkbVariant
Definition: ogr_core.h:418
OGRFeature::GetFID
GIntBig GetFID() const
Get feature identifier.
Definition: ogr_feature.h:435
OAO_South
@ OAO_South
Definition: ogr_srs_api.h:51
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:154
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:6199
OGRSpatialReference::SetSCH
OGRErr SetSCH(double dfPegLat, double dfPegLong, double dfPegHeading, double dfPegHgt)
Definition: ogrspatialreference.cpp:5775
OSRSetOS
OGRErr OSRSetOS(OGRSpatialReferenceH hSRS, double dfOriginLat, double dfCMeridian, double dfScale, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5231
OSRGetAttrValue
const char *CPL_STDCALL OSRGetAttrValue(OGRSpatialReferenceH hSRS, const char *pszName, int iChild)
Fetch indicated attribute of named node.
Definition: ogrspatialreference.cpp:541
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:633
OGR_SRSNode::StripNodes
void StripNodes(const char *)
Definition: ogr_srsnode.cpp:864
CPLE_AppDefined
#define CPLE_AppDefined
Definition: cpl_error.h:100
OGRSpatialReference::SetFromUserInput
OGRErr SetFromUserInput(const char *)
Set spatial reference from various text formats.
Definition: ogrspatialreference.cpp:1997
OGRSpatialReference::GetExtension
const char * GetExtension(const char *pszTargetKey, const char *pszName, const char *pszDefault=NULL) const
Fetch extension value.
Definition: ogrspatialreference.cpp:7114
OGRSpatialReference::SetUTM
OGRErr SetUTM(int nZone, int bNorth=TRUE)
Set UTM projection definition.
Definition: ogrspatialreference.cpp:5555
OSRSetCEA
OGRErr OSRSetCEA(OGRSpatialReferenceH hSRS, double dfStdP1, double dfCentralMeridian, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4088
OSRSetNZMG
OGRErr OSRSetNZMG(OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5195

Generated for GDAL by doxygen 1.8.17.