OGR
ogr_xerces.h
1 /******************************************************************************
2  * Project: OGR
3  * Purpose: Convenience functions for parsing with Xerces-C library
4  * Author: Even Rouault, <even.rouault at spatialys.com>
5  *
6  ******************************************************************************
7  * Copyright (c) 2016, Even Rouault <even.rouault at spatialys.com>
8  *
9  * Permission is hereby granted, free of charge, to any person obtaining a
10  * copy of this software and associated documentation files (the "Software"),
11  * to deal in the Software without restriction, including without limitation
12  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
13  * and/or sell copies of the Software, and to permit persons to whom the
14  * Software is furnished to do so, subject to the following conditions:
15  *
16  * The above copyright notice and this permission notice shall be included
17  * in all copies or substantial portions of the Software.
18  *
19  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
20  * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
21  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
22  * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
23  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
24  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
25  * DEALINGS IN THE SOFTWARE.
26  ****************************************************************************/
27 
28 #ifndef OGR_XERCES_INCLUDED
29 #define OGR_XERCES_INCLUDED
30 
31 // Must be first for DEBUG_BOOL case
32 #ifdef HAVE_XERCES
33 #include "ogr_xerces_headers.h"
34 #endif
35 
36 #include "cpl_port.h"
37 #include "cpl_string.h"
38 
39 #ifdef HAVE_XERCES
40 
41 /* All those functions are for in-tree drivers use only ! */
42 
43 /* Thread-safe initialization/de-initialization. Calls should be paired */
44 bool CPL_DLL OGRInitializeXerces(void);
45 void CPL_DLL OGRDeinitializeXerces(void);
46 
47 namespace OGR
48 {
49 CPLString CPL_DLL transcode( const XMLCh *panXMLString, int nLimitingChars = -1 );
50 CPLString CPL_DLL &transcode( const XMLCh *panXMLString, CPLString& osRet,
51  int nLimitingChars = -1 );
52 }
53 
54 #ifndef OGR_USING
55 using OGR::transcode;
56 #endif
57 
58 #endif /* HAVE_XERCES */
59 
60 void OGRCleanupXercesMutex(void);
61 
62 #endif /* OGR_XERCES_INCLUDED */
OGRSpatialReference::GetRoot
OGR_SRSNode * GetRoot()
Return root node.
Definition: ogr_spatialref.h:233
SRS_UL_INTL_CHAIN
#define SRS_UL_INTL_CHAIN
Definition: ogr_srs_api.h:407
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
CPLGetXMLValue
const char * CPLGetXMLValue(CPLXMLNode *poRoot, const char *pszPath, const char *pszDefault)
Fetch element/attribute value.
Definition: cpl_minixml.cpp:1645
OGR_SRSNode::GetChildCount
int GetChildCount() const
Definition: ogr_spatialref.h:81
SRS_UL_INTL_LINK
#define SRS_UL_INTL_LINK
Definition: ogr_srs_api.h:411
CPLRecodeFromWChar
char * CPLRecodeFromWChar(const wchar_t *pwszSource, const char *pszSrcEncoding, const char *pszDstEncoding)
Definition: cpl_recode.cpp:149
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
CXT_Element
@ CXT_Element
Definition: cpl_minixml.h:46
SRS_UL_US_CHAIN_CONV
#define SRS_UL_US_CHAIN_CONV
Definition: ogr_srs_api.h:425
ogr_spatialref.h
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
CSLTokenizeString2
char ** CSLTokenizeString2(const char *pszString, const char *pszDelimiter, int nCSLTFlags)
Definition: cpl_string.cpp:834
SRS_PP_LANDSAT_NUMBER
#define SRS_PP_LANDSAT_NUMBER
Definition: ogr_srs_api.h:307
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
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
SRS_PT_MERCATOR_1SP
#define SRS_PT_MERCATOR_1SP
Definition: ogr_srs_api.h:167
SRS_UL_INTL_FATHOM
#define SRS_UL_INTL_FATHOM
Definition: ogr_srs_api.h:403
SRS_PT_GAUSSSCHREIBERTMERCATOR
#define SRS_PT_GAUSSSCHREIBERTMERCATOR
Definition: ogr_srs_api.h:131
SRS_PT_HOTINE_OBLIQUE_MERCATOR
#define SRS_PT_HOTINE_OBLIQUE_MERCATOR
Definition: ogr_srs_api.h:146
SRS_PT_WINKEL_I
#define SRS_PT_WINKEL_I
Definition: ogr_srs_api.h:254
CPLPrintStringFill
int CPLPrintStringFill(char *, const char *, int)
Definition: cpl_conv.cpp:1222
SRS_PT_GALL_STEREOGRAPHIC
#define SRS_PT_GALL_STEREOGRAPHIC
Definition: ogr_srs_api.h:128
SRS_PT_MOLLWEIDE
#define SRS_PT_MOLLWEIDE
Definition: ogr_srs_api.h:176
cpl_error.h
OGRSpatialReference::SetMercator
OGRErr SetMercator(double dfCenterLat, double dfCenterLong, double dfScale, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5061
SRS_UL_INTL_FOOT_CONV
#define SRS_UL_INTL_FOOT_CONV
Definition: ogr_srs_api.h:393
OGRSpatialReference::SetWellKnownGeogCS
OGRErr SetWellKnownGeogCS(const char *)
Set a GeogCS based on well known name.
Definition: ogrspatialreference.cpp:1745
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
SRS_PT_ROBINSON
#define SRS_PT_ROBINSON
Definition: ogr_srs_api.h:191
SRS_PP_LATITUDE_OF_POINT_1
#define SRS_PP_LATITUDE_OF_POINT_1
Definition: ogr_srs_api.h:295
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
OGR_SRSNode::GetNode
OGR_SRSNode * GetNode(const char *)
Definition: ogr_srsnode.cpp:171
OGRSpatialReference::GetAuthorityCode
const char * GetAuthorityCode(const char *pszTargetKey) const
Get the authority code for a node.
Definition: ogrspatialreference.cpp:5905
OGRSpatialReference::Validate
OGRErr Validate()
Validate SRS tokens.
Definition: ogr_srs_validate.cpp:582
CPLDMSToDec
double CPLDMSToDec(const char *is)
Definition: cpl_conv.cpp:1971
OGRSpatialReference::SetLCC1SP
OGRErr SetLCC1SP(double dfCenterLat, double dfCenterLong, double dfScale, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4950
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_UL_INTL_CHAIN_CONV
#define SRS_UL_INTL_CHAIN_CONV
Definition: ogr_srs_api.h:409
SRS_UL_INDIAN_CHAIN_CONV
#define SRS_UL_INDIAN_CHAIN_CONV
Definition: ogr_srs_api.h:441
OGRSpatialReference::exportToXML
OGRErr exportToXML(char **, const char *=NULL) const
Export coordinate system in XML format.
Definition: ogr_srs_xml.cpp:708
SRS_PT_EQUIRECTANGULAR
#define SRS_PT_EQUIRECTANGULAR
Definition: ogr_srs_api.h:126
SRS_UL_INTL_NAUT_MILE_CONV
#define SRS_UL_INTL_NAUT_MILE_CONV
Definition: ogr_srs_api.h:385
SRS_UL_MILLIMETER_CONV
#define SRS_UL_MILLIMETER_CONV
Definition: ogr_srs_api.h:381
OGRSpatialReference::GetAttrValue
const char * GetAttrValue(const char *, int=0) const
Fetch indicated attribute of named node.
Definition: ogrspatialreference.cpp:518
CPLCalloc
void * CPLCalloc(size_t, size_t)
Definition: cpl_conv.cpp:128
SRS_UL_INTL_YARD
#define SRS_UL_INTL_YARD
Definition: ogr_srs_api.h:395
OGRSpatialReference::SetStatePlane
OGRErr SetStatePlane(int nZone, int bNAD83=TRUE, const char *pszOverrideUnitName=NULL, double dfOverrideUnit=0.0)
Set State Plane projection definition.
Definition: ogr_fromepsg.cpp:2357
OGRSpatialReference::SetExtension
OGRErr SetExtension(const char *pszTargetKey, const char *pszName, const char *pszValue)
Set extension value.
Definition: ogrspatialreference.cpp:7163
SRS_PT_LOXIMUTHAL
#define SRS_PT_LOXIMUTHAL
Definition: ogr_srs_api.h:262
SRS_UL_US_INCH_CONV
#define SRS_UL_US_INCH_CONV
Definition: ogr_srs_api.h:417
USGS_ANGLE_RADIANS
#define USGS_ANGLE_RADIANS
Definition: ogr_spatialref.h:195
cpl_minixml.h
OGRSpatialReference::SetAE
OGRErr SetAE(double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4001
OGR_SRSNode::ClearChildren
void ClearChildren()
Definition: ogr_srsnode.cpp:82
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
OGRSpatialReference::exportToProj4
OGRErr exportToProj4(char **) const
Export coordinate system in PROJ.4 format.
Definition: ogr_srs_proj4.cpp:1472
SRS_PT_TRANSVERSE_MERCATOR
#define SRS_PT_TRANSVERSE_MERCATOR
Definition: ogr_srs_api.h:200
SRS_UL_FOOT_CONV
#define SRS_UL_FOOT_CONV
Definition: ogr_srs_api.h:340
CPLsnprintf
int CPLsnprintf(char *str, size_t size, const char *fmt,...)
Definition: cpl_string.cpp:1333
CPLPackedDMSToDec
double CPLPackedDMSToDec(double)
Definition: cpl_conv.cpp:2147
OSRImportFromProj4
OGRErr OSRImportFromProj4(OGRSpatialReferenceH, const char *)
Import PROJ.4 coordinate string.
Definition: ogr_srs_proj4.cpp:362
OSRImportFromPanorama
OGRErr OSRImportFromPanorama(OGRSpatialReferenceH, long, long, long, double *)
Definition: ogr_srs_panorama.cpp:159
SRS_UL_INTL_INCH
#define SRS_UL_INTL_INCH
Definition: ogr_srs_api.h:387
SRS_PT_CRASTER_PARABOLIC
#define SRS_PT_CRASTER_PARABOLIC
Definition: ogr_srs_api.h:260
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
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_PP_PERSPECTIVE_POINT_HEIGHT
#define SRS_PP_PERSPECTIVE_POINT_HEIGHT
Definition: ogr_srs_api.h:311
SRS_PT_CASSINI_SOLDNER
#define SRS_PT_CASSINI_SOLDNER
Definition: ogr_srs_api.h:105
SRS_UL_INDIAN_YARD
#define SRS_UL_INDIAN_YARD
Definition: ogr_srs_api.h:431
SRS_UL_INTL_INCH_CONV
#define SRS_UL_INTL_INCH_CONV
Definition: ogr_srs_api.h:389
OGRSpatialReference::importFromPanorama
OGRErr importFromPanorama(long, long, long, double *)
Definition: ogr_srs_panorama.cpp:251
LinearUnitsStruct
Definition: ogr_srs_proj4.cpp:201
CPLString
Convenient string class based on std::string.
Definition: cpl_string.h:338
SRS_UL_INDIAN_CHAIN
#define SRS_UL_INDIAN_CHAIN
Definition: ogr_srs_api.h:439
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
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
SRS_PT_TRANSVERSE_MERCATOR_MI_21
#define SRS_PT_TRANSVERSE_MERCATOR_MI_21
Definition: ogr_srs_api.h:208
OGRSpatialReference::CopyGeogCSFrom
OGRErr CopyGeogCSFrom(const OGRSpatialReference *poSrcSRS)
Copy GEOGCS from another OGRSpatialReference.
Definition: ogrspatialreference.cpp:1869
CPLParseXMLString
CPLXMLNode * CPLParseXMLString(const char *)
Parse an XML string into tree form.
Definition: cpl_minixml.cpp:614
SRS_UL_FOOT
#define SRS_UL_FOOT
Definition: ogr_srs_api.h:338
SRS_DN_WGS84
#define SRS_DN_WGS84
Definition: ogr_srs_api.h:460
CXT_Text
@ CXT_Text
Definition: cpl_minixml.h:47
SRS_PT_LAMBERT_CONFORMAL_CONIC_2SP
#define SRS_PT_LAMBERT_CONFORMAL_CONIC_2SP
Definition: ogr_srs_api.h:158
SRS_PP_LATITUDE_OF_1ST_POINT
#define SRS_PP_LATITUDE_OF_1ST_POINT
Definition: ogr_srs_api.h:319
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
CPLRealloc
void * CPLRealloc(void *, size_t)
Definition: cpl_conv.cpp:215
OGRSpatialReference::SetPolyconic
OGRErr SetPolyconic(double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5283
CPLAtofM
double CPLAtofM(const char *)
Definition: cpl_strtod.cpp:142
CPLXMLNode
Definition: cpl_minixml.h:66
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
OGRSpatialReference::importFromPCI
OGRErr importFromPCI(const char *, const char *=NULL, double *=NULL)
Import coordinate system from PCI projection definition.
Definition: ogr_srs_pci.cpp:205
EQUAL
#define EQUAL(a, b)
Definition: cpl_port.h:622
PCIDatums
Definition: ogr_srs_pci.cpp:53
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
OGRSpatialReference::FixupOrdering
OGRErr FixupOrdering()
Correct parameter ordering to match CT Specification.
Definition: ogrspatialreference.cpp:6998
OGR_SRSNode::GetValue
const char * GetValue() const
Definition: ogr_spatialref.h:95
OGRSpatialReference::exportToPCI
OGRErr exportToPCI(char **, char **, double **) const
Export coordinate system in PCI projection definition.
Definition: ogr_srs_pci.cpp:776
OGRSpatialReference::SetEquirectangular2
OGRErr SetEquirectangular2(double dfCenterLat, double dfCenterLong, double dfPseudoStdParallel1, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4343
SRS_PT_LABORDE_OBLIQUE_MERCATOR
#define SRS_PT_LABORDE_OBLIQUE_MERCATOR
Definition: ogr_srs_api.h:152
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
SRS_PT_STEREOGRAPHIC
#define SRS_PT_STEREOGRAPHIC
Definition: ogr_srs_api.h:195
OGRSpatialReference::GetAuthorityName
const char * GetAuthorityName(const char *pszTargetKey) const
Get the authority name for a node.
Definition: ogrspatialreference.cpp:5977
SRS_UL_NAUTICAL_MILE
#define SRS_UL_NAUTICAL_MILE
Definition: ogr_srs_api.h:346
CPLAssert
#define CPLAssert(expr)
Definition: cpl_error.h:182
SRS_PT_QSC
#define SRS_PT_QSC
Definition: ogr_srs_api.h:250
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
SRS_PP_SCALE_FACTOR
#define SRS_PP_SCALE_FACTOR
Definition: ogr_srs_api.h:271
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
OGRSpatialReferenceH
void * OGRSpatialReferenceH
Definition: ogr_api.h:69
SRS_UL_INTL_NAUT_MILE
#define SRS_UL_INTL_NAUT_MILE
Definition: ogr_srs_api.h:383
SRS_UL_INTL_STAT_MILE_CONV
#define SRS_UL_INTL_STAT_MILE_CONV
Definition: ogr_srs_api.h:401
SRS_PT_AZIMUTHAL_EQUIDISTANT
#define SRS_PT_AZIMUTHAL_EQUIDISTANT
Definition: ogr_srs_api.h:103
SRS_PP_ZONE
#define SRS_PP_ZONE
Definition: ogr_srs_api.h:317
SRS_PT_TRANSVERSE_MERCATOR_MI_23
#define SRS_PT_TRANSVERSE_MERCATOR_MI_23
Definition: ogr_srs_api.h:214
OGRSpatialReference::GetProjParm
double GetProjParm(const char *, double=0.0, OGRErr *=NULL) const
Fetch a projection parameter value.
Definition: ogrspatialreference.cpp:3579
CPLSerializeXMLTree
char * CPLSerializeXMLTree(const CPLXMLNode *psNode)
Convert tree into string document.
Definition: cpl_minixml.cpp:1252
SRS_PT_ECKERT_III
#define SRS_PT_ECKERT_III
Definition: ogr_srs_api.h:115
SRS_PT_ECKERT_IV
#define SRS_PT_ECKERT_IV
Definition: ogr_srs_api.h:117
CPLTestBool
bool CPLTestBool(const char *pszValue)
Definition: cpl_string.cpp:1522
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
OGRSpatialReference::SetGaussSchreiberTMercator
OGRErr SetGaussSchreiberTMercator(double dfCenterLat, double dfCenterLong, double dfScale, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4512
CPLGetXMLNode
CPLXMLNode * CPLGetXMLNode(CPLXMLNode *poRoot, const char *pszPath)
Find node by path.
Definition: cpl_minixml.cpp:1557
CSLCount
int CSLCount(const char *const *papszStrList)
Definition: cpl_string.cpp:147
SRS_PP_LATITUDE_OF_POINT_3
#define SRS_PP_LATITUDE_OF_POINT_3
Definition: ogr_srs_api.h:303
SRS_UL_CENTIMETER_CONV
#define SRS_UL_CENTIMETER_CONV
Definition: ogr_srs_api.h:377
OGRSpatialReference::importFromXML
OGRErr importFromXML(const char *)
Import coordinate system from XML format (GML only currently).
Definition: ogr_srs_xml.cpp:1255
SRS_PP_LATITUDE_OF_ORIGIN
#define SRS_PP_LATITUDE_OF_ORIGIN
Definition: ogr_srs_api.h:285
CPLE_OpenFailed
#define CPLE_OpenFailed
Definition: cpl_error.h:106
OGRSpatialReference::SetIWMPolyconic
OGRErr SetIWMPolyconic(double dfLat1, double dfLat2, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4795
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
OGRERR_FAILURE
#define OGRERR_FAILURE
Definition: ogr_core.h:293
SRS_PT_QUARTIC_AUTHALIC
#define SRS_PT_QUARTIC_AUTHALIC
Definition: ogr_srs_api.h:264
OGRSpatialReference::SetProjection
OGRErr SetProjection(const char *)
Set a projection name.
Definition: ogrspatialreference.cpp:3370
OSRImportFromPCI
OGRErr OSRImportFromPCI(OGRSpatialReferenceH hSRS, const char *, const char *, double *)
Import coordinate system from PCI projection definition.
Definition: ogr_srs_pci.cpp:147
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
SRS_UL_US_YARD
#define SRS_UL_US_YARD
Definition: ogr_srs_api.h:419
OGRSpatialReference::SetIGH
OGRErr SetIGH()
Definition: ogrspatialreference.cpp:4451
CPL_ENC_UTF8
#define CPL_ENC_UTF8
Definition: cpl_string.h:292
OGR_SRSNode::OGR_SRSNode
OGR_SRSNode(const char *=NULL)
Definition: ogr_srsnode.cpp:57
OGRSpatialReference::SetTMSO
OGRErr SetTMSO(double dfCenterLat, double dfCenterLong, double dfScale, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:3849
SRS_PP_LONGITUDE_OF_CENTER
#define SRS_PP_LONGITUDE_OF_CENTER
Definition: ogr_srs_api.h:279
OGRERR_NOT_ENOUGH_MEMORY
#define OGRERR_NOT_ENOUGH_MEMORY
Definition: ogr_core.h:289
OGRSpatialReference::SetOrthographic
OGRErr SetOrthographic(double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5249
CPLXMLNode::eType
CPLXMLNodeType eType
Node type.
Definition: cpl_minixml.h:74
CSLFetchNameValue
const char * CSLFetchNameValue(const char *const *papszStrList, const char *pszName)
Definition: cpl_string.cpp:1670
CPLDestroyXMLNode
void CPLDestroyXMLNode(CPLXMLNode *)
Destroy a tree.
Definition: cpl_minixml.cpp:1412
OGRSpatialReference::GetInvFlattening
double GetInvFlattening(OGRErr *=NULL) const
Get spheroid inverse flattening.
Definition: ogrspatialreference.cpp:2886
OGRSpatialReference::Clear
void Clear()
Wipe current definition.
Definition: ogrspatialreference.cpp:239
OGRSpatialReference::importFromUSGS
OGRErr importFromUSGS(long iProjSys, long iZone, double *padfPrjParams, long iDatum, int nUSGSAngleFormat=TRUE)
Import coordinate system from USGS projection definition.
Definition: ogr_srs_usgs.cpp:421
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
SRS_UL_INTL_FOOT
#define SRS_UL_INTL_FOOT
Definition: ogr_srs_api.h:391
OSRExportToUSGS
OGRErr OSRExportToUSGS(OGRSpatialReferenceH, long *, long *, double **, long *)
Export coordinate system in USGS GCTP projection definition.
Definition: ogr_srs_usgs.cpp:798
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
SRS_PT_TRANSVERSE_MERCATOR_MI_24
#define SRS_PT_TRANSVERSE_MERCATOR_MI_24
Definition: ogr_srs_api.h:217
SRS_UL_US_STAT_MILE_CONV
#define SRS_UL_US_STAT_MILE_CONV
Definition: ogr_srs_api.h:429
SRS_PP_LONGITUDE_OF_POINT_1
#define SRS_PP_LONGITUDE_OF_POINT_1
Definition: ogr_srs_api.h:293
ogr_srs_api.h
SRS_PP_STANDARD_PARALLEL_2
#define SRS_PP_STANDARD_PARALLEL_2
Definition: ogr_srs_api.h:275
SRS_PT_TUNISIA_MINING_GRID
#define SRS_PT_TUNISIA_MINING_GRID
Definition: ogr_srs_api.h:224
SRS_UL_INDIAN_FOOT_CONV
#define SRS_UL_INDIAN_FOOT_CONV
Definition: ogr_srs_api.h:437
OGR_SRSNode::exportToPrettyWkt
OGRErr exportToPrettyWkt(char **, int=1) const
Definition: ogr_srsnode.cpp:521
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
SRS_PT_WINKEL_II
#define SRS_PT_WINKEL_II
Definition: ogr_srs_api.h:256
SRS_UL_NAUTICAL_MILE_CONV
#define SRS_UL_NAUTICAL_MILE_CONV
Definition: ogr_srs_api.h:348
SRS_PT_GEOSTATIONARY_SATELLITE
#define SRS_PT_GEOSTATIONARY_SATELLITE
Definition: ogr_srs_api.h:134
SRS_UL_INDIAN_YARD_CONV
#define SRS_UL_INDIAN_YARD_CONV
Definition: ogr_srs_api.h:433
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
CPLString::toupper
CPLString & toupper(void)
Definition: cplstring.cpp:316
cpl_conv.h
SRS_UA_DEGREE
#define SRS_UA_DEGREE
Definition: ogr_srs_api.h:444
cpl_string.h
CPLAddXMLChild
void CPLAddXMLChild(CPLXMLNode *psParent, CPLXMLNode *psChild)
Add child node to parent.
Definition: cpl_minixml.cpp:1707
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
SRS_PT_ORTHOGRAPHIC
#define SRS_PT_ORTHOGRAPHIC
Definition: ogr_srs_api.h:184
OGR_SRSNode::AddChild
void AddChild(OGR_SRSNode *)
Definition: ogr_srsnode.cpp:238
SRS_PT_GNOMONIC
#define SRS_PT_GNOMONIC
Definition: ogr_srs_api.h:141
SRS_UL_METER
#define SRS_UL_METER
Definition: ogr_srs_api.h:336
OSRExportToPCI
OGRErr OSRExportToPCI(OGRSpatialReferenceH, char **, char **, double **)
Export coordinate system in PCI projection definition.
Definition: ogr_srs_pci.cpp:731
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
SRS_DN_NAD83
#define SRS_DN_NAD83
Definition: ogr_srs_api.h:456
SRS_UL_US_STAT_MILE
#define SRS_UL_US_STAT_MILE
Definition: ogr_srs_api.h:427
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
OSRValidate
OGRErr OSRValidate(OGRSpatialReferenceH)
Validate SRS tokens.
Definition: ogr_srs_validate.cpp:1152
CSLAddNameValue
char ** CSLAddNameValue(char **papszStrList, const char *pszName, const char *pszValue)
Definition: cpl_string.cpp:1834
CSLFetchNameValueDef
const char * CSLFetchNameValueDef(const char *const *papszStrList, const char *pszName, const char *pszDefault)
Definition: cpl_string.cpp:1642
OSRCalcInvFlattening
double OSRCalcInvFlattening(double dfSemiMajor, double dfSemiMinor)
Compute inverse flattening from semi-major and semi-minor axis.
Definition: ogrspatialreference.cpp:7612
OGRSpatialReference::SetTPED
OGRErr SetTPED(double dfLat1, double dfLong1, double dfLat2, double dfLong2, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:3869
SRS_PT_NEW_ZEALAND_MAP_GRID
#define SRS_PT_NEW_ZEALAND_MAP_GRID
Definition: ogr_srs_api.h:178
SRS_PP_LONGITUDE_OF_ORIGIN
#define SRS_PP_LONGITUDE_OF_ORIGIN
Definition: ogr_srs_api.h:283
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
SRS_PT_LAMBERT_CONFORMAL_CONIC_1SP
#define SRS_PT_LAMBERT_CONFORMAL_CONIC_1SP
Definition: ogr_srs_api.h:155
OSRExportToXML
OGRErr OSRExportToXML(OGRSpatialReferenceH, char **, const char *)
Export coordinate system in XML format.
Definition: ogr_srs_xml.cpp:739
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
SRS_PT_MERCATOR_AUXILIARY_SPHERE
#define SRS_PT_MERCATOR_AUXILIARY_SPHERE
Definition: ogr_srs_api.h:171
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
OSRExportToProj4
OGRErr CPL_STDCALL OSRExportToProj4(OGRSpatialReferenceH, char **)
Export coordinate system in PROJ.4 format.
Definition: ogr_srs_proj4.cpp:1419
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_NOT_ENOUGH_DATA
#define OGRERR_NOT_ENOUGH_DATA
Definition: ogr_core.h:288
OGRERR_CORRUPT_DATA
#define OGRERR_CORRUPT_DATA
Definition: ogr_core.h:292
CXT_Attribute
@ CXT_Attribute
Definition: cpl_minixml.h:48
SRS_PT_VANDERGRINTEN
#define SRS_PT_VANDERGRINTEN
Definition: ogr_srs_api.h:230
SRS_UL_INTL_LINK_CONV
#define SRS_UL_INTL_LINK_CONV
Definition: ogr_srs_api.h:413
SRS_PP_SATELLITE_HEIGHT
#define SRS_PP_SATELLITE_HEIGHT
Definition: ogr_srs_api.h:313
CPL_ARRAYSIZE
#define CPL_ARRAYSIZE(array)
Definition: cpl_port.h:1134
CPLStrnlen
size_t CPLStrnlen(const char *pszStr, size_t nMaxLen)
Definition: cpl_string.cpp:2765
OGR_SRSNode::MakeValueSafe
void MakeValueSafe()
Definition: ogr_srsnode.cpp:733
SRS_PT_OBLIQUE_STEREOGRAPHIC
#define SRS_PT_OBLIQUE_STEREOGRAPHIC
Definition: ogr_srs_api.h:181
CPLCreateXMLNode
CPLXMLNode * CPLCreateXMLNode(CPLXMLNode *poParent, CPLXMLNodeType eType, const char *pszText)
Create an document tree item.
Definition: cpl_minixml.cpp:1297
SRS_PT_WAGNER_III
#define SRS_PT_WAGNER_III
Definition: ogr_srs_api.h:240
CPLStripXMLNamespace
void CPLStripXMLNamespace(CPLXMLNode *psRoot, const char *pszNameSpace, int bRecurse)
Strip indicated namespaces.
Definition: cpl_minixml.cpp:2061
SRS_UL_MILLIMETER
#define SRS_UL_MILLIMETER
Definition: ogr_srs_api.h:379
SRS_UL_INDIAN_FOOT
#define SRS_UL_INDIAN_FOOT
Definition: ogr_srs_api.h:435
OGR_SRSNode::InsertChild
void InsertChild(OGR_SRSNode *, int)
Definition: ogr_srsnode.cpp:261
OGRErr
int OGRErr
Definition: ogr_core.h:285
SRS_UL_US_CHAIN
#define SRS_UL_US_CHAIN
Definition: ogr_srs_api.h:423
OGRSpatialReference::SetAuthority
OGRErr SetAuthority(const char *pszTargetKey, const char *pszAuthority, int nCode)
Set the authority for a node.
Definition: ogrspatialreference.cpp:5822
SRS_UL_CENTIMETER
#define SRS_UL_CENTIMETER
Definition: ogr_srs_api.h:375
SRS_UL_INTL_FATHOM_CONV
#define SRS_UL_INTL_FATHOM_CONV
Definition: ogr_srs_api.h:405
OGRProj4PM
Definition: ogr_srs_proj4.cpp:124
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
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:470
SRS_PT_WAGNER_V
#define SRS_PT_WAGNER_V
Definition: ogr_srs_api.h:244
OSRExportToPanorama
OGRErr OSRExportToPanorama(OGRSpatialReferenceH, long *, long *, long *, long *, double *)
Definition: ogr_srs_panorama.cpp:504
OSRImportFromOzi
OGRErr OSRImportFromOzi(OGRSpatialReferenceH, const char *const *)
Definition: ogr_srs_ozi.cpp:68
SRS_PT_MERCATOR_2SP
#define SRS_PT_MERCATOR_2SP
Definition: ogr_srs_api.h:169
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
SRS_UL_LINK_CONV
#define SRS_UL_LINK_CONV
Definition: ogr_srs_api.h:352
CPLXMLNode::psNext
struct CPLXMLNode * psNext
Next sibling.
Definition: cpl_minixml.h:106
SRS_PT_CYLINDRICAL_EQUAL_AREA
#define SRS_PT_CYLINDRICAL_EQUAL_AREA
Definition: ogr_srs_api.h:107
SRS_PT_WINKEL_TRIPEL
#define SRS_PT_WINKEL_TRIPEL
Definition: ogr_srs_api.h:258
CPLDecToPackedDMS
double CPLDecToPackedDMS(double dfDec)
Definition: cpl_conv.cpp:2181
OGRSpatialReference::SetLCC
OGRErr SetLCC(double dfStdP1, double dfStdP2, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4911
cpl_port.h
SRS_PT_IGH
#define SRS_PT_IGH
Definition: ogr_srs_api.h:139
SRS_UL_US_YARD_CONV
#define SRS_UL_US_YARD_CONV
Definition: ogr_srs_api.h:421
OGRSpatialReference::SetVDG
OGRErr SetVDG(double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5504
EQUALN
#define EQUALN(a, b, n)
Definition: cpl_port.h:620
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
OGRSpatialReference::SetMollweide
OGRErr SetMollweide(double dfCentralMeridian, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5144
SRS_PT_TRANSVERSE_MERCATOR_SOUTH_ORIENTED
#define SRS_PT_TRANSVERSE_MERCATOR_SOUTH_ORIENTED
Definition: ogr_srs_api.h:203
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
OGRSpatialReference::importFromOzi
OGRErr importFromOzi(const char *const *papszLines)
Definition: ogr_srs_ozi.cpp:95
VSIFOpenL
VSILFILE * VSIFOpenL(const char *, const char *)
Open file.
Definition: cpl_vsil.cpp:608
SRS_UL_US_INCH
#define SRS_UL_US_INCH
Definition: ogr_srs_api.h:415
SRS_PT_TRANSVERSE_MERCATOR_MI_22
#define SRS_PT_TRANSVERSE_MERCATOR_MI_22
Definition: ogr_srs_api.h:211
SRS_PP_PEG_POINT_HEADING
#define SRS_PP_PEG_POINT_HEADING
Definition: ogr_srs_api.h:331
SRS_UL_DECIMETER
#define SRS_UL_DECIMETER
Definition: ogr_srs_api.h:371
OGRSpatialReference::GetAttrNode
OGR_SRSNode * GetAttrNode(const char *)
Find named node in tree.
Definition: ogrspatialreference.cpp:447
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
OGRSpatialReference::exportToUSGS
OGRErr exportToUSGS(long *, long *, double **, long *) const
Export coordinate system in USGS GCTP projection definition.
Definition: ogr_srs_usgs.cpp:837
SRS_PT_KROVAK
#define SRS_PT_KROVAK
Definition: ogr_srs_api.h:232
OSRImportFromUSGS
OGRErr OSRImportFromUSGS(OGRSpatialReferenceH, long, long, double *, long)
Import coordinate system from USGS projection definition.
Definition: ogr_srs_usgs.cpp:165
OGRSpatialReference::SetCS
OGRErr SetCS(double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4104
SRS_PT_WAGNER_IV
#define SRS_PT_WAGNER_IV
Definition: ogr_srs_api.h:242
OGRSpatialReference::GetLinearUnits
double GetLinearUnits(char **=NULL) const
Fetch linear projection units.
Definition: ogrspatialreference.cpp:1338
CPLCreateXMLElementAndValue
CPLXMLNode * CPLCreateXMLElementAndValue(CPLXMLNode *psParent, const char *pszName, const char *pszValue)
Create an element and text value.
Definition: cpl_minixml.cpp:1851
SRS_UL_LINK
#define SRS_UL_LINK
Definition: ogr_srs_api.h:350
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
CPLAtof
double CPLAtof(const char *)
Definition: cpl_strtod.cpp:117
CPLXMLNode::pszValue
char * pszValue
Node value.
Definition: cpl_minixml.h:97
SRS_PT_WAGNER_VII
#define SRS_PT_WAGNER_VII
Definition: ogr_srs_api.h:248
OGR_SRSNode
Definition: ogr_spatialref.h:60
CPLXMLNode::psChild
struct CPLXMLNode * psChild
Child node.
Definition: cpl_minixml.h:118
SRS_UL_KILOMETER_CONV
#define SRS_UL_KILOMETER_CONV
Definition: ogr_srs_api.h:369
OGRSpatialReference::SetGS
OGRErr SetGS(double dfCentralMeridian, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4383
OGRProj4Datum
Definition: ogr_srs_proj4.cpp:104
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
CPLPrintInt32
int CPLPrintInt32(char *, GInt32, int)
Definition: cpl_conv.cpp:1266
OGRSpatialReference::SetGH
OGRErr SetGH(double dfCentralMeridian, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4417
OGRSpatialReference::exportToWkt
OGRErr exportToWkt(char **) const
Convert this SRS into WKT format.
Definition: ogrspatialreference.cpp:695
CSLT_ALLOWEMPTYTOKENS
#define CSLT_ALLOWEMPTYTOKENS
Definition: cpl_string.h:89
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
CPLScanLong
long CPLScanLong(const char *, int)
Definition: cpl_conv.cpp:863
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
SRS_PP_PEG_POINT_LATITUDE
#define SRS_PP_PEG_POINT_LATITUDE
Definition: ogr_srs_api.h:327
SRS_PP_PATH_NUMBER
#define SRS_PP_PATH_NUMBER
Definition: ogr_srs_api.h:309
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
SRS_PT_SINUSOIDAL
#define SRS_PT_SINUSOIDAL
Definition: ogr_srs_api.h:193
SRS_PT_AITOFF
#define SRS_PT_AITOFF
Definition: ogr_srs_api.h:252
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
OGRSpatialReference::Fixup
OGRErr Fixup()
Fixup as needed.
Definition: ogrspatialreference.cpp:7052
CSLT_STRIPENDSPACES
#define CSLT_STRIPENDSPACES
Definition: cpl_string.h:97
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
CSLT_STRIPLEADSPACES
#define CSLT_STRIPLEADSPACES
Definition: cpl_string.h:95
SRS_PP_LATITUDE_OF_2ND_POINT
#define SRS_PP_LATITUDE_OF_2ND_POINT
Definition: ogr_srs_api.h:323
SRS_UL_INTL_STAT_MILE
#define SRS_UL_INTL_STAT_MILE
Definition: ogr_srs_api.h:399
OGRSpatialReference::SetNormProjParm
OGRErr SetNormProjParm(const char *, double)
Set a projection parameter with a normalized value.
Definition: ogrspatialreference.cpp:3722
SRS_UL_INTL_YARD_CONV
#define SRS_UL_INTL_YARD_CONV
Definition: ogr_srs_api.h:397
OSRImportFromXML
OGRErr OSRImportFromXML(OGRSpatialReferenceH, const char *)
Import coordinate system from XML format (GML only currently).
Definition: ogr_srs_xml.cpp:1306
SRS_PP_AZIMUTH
#define SRS_PP_AZIMUTH
Definition: ogr_srs_api.h:291
USGS_ANGLE_DECIMALDEGREES
#define USGS_ANGLE_DECIMALDEGREES
Definition: ogr_spatialref.h:193
CPLGetConfigOption
const char * CPLGetConfigOption(const char *, const char *)
Definition: cpl_conv.cpp:1625
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
SRS_UL_KILOMETER
#define SRS_UL_KILOMETER
Definition: ogr_srs_api.h:367
SRS_DN_NAD27
#define SRS_DN_NAD27
Definition: ogr_srs_api.h:454
SRS_PT_TRANSVERSE_MERCATOR_MI_25
#define SRS_PT_TRANSVERSE_MERCATOR_MI_25
Definition: ogr_srs_api.h:220
SRS_PP_FIPSZONE
#define SRS_PP_FIPSZONE
Definition: ogr_srs_api.h:315
OGRSpatialReference::exportToPanorama
OGRErr exportToPanorama(long *, long *, long *, long *, double *) const
Definition: ogr_srs_panorama.cpp:550
OGRSpatialReference::SetSCH
OGRErr SetSCH(double dfPegLat, double dfPegLong, double dfPegHeading, double dfPegHgt)
Definition: ogrspatialreference.cpp:5775
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
SRS_UL_US_FOOT
#define SRS_UL_US_FOOT
Definition: ogr_srs_api.h:342
SRS_PP_LONGITUDE_OF_POINT_3
#define SRS_PP_LONGITUDE_OF_POINT_3
Definition: ogr_srs_api.h:301
SRS_UL_DECIMETER_CONV
#define SRS_UL_DECIMETER_CONV
Definition: ogr_srs_api.h:373
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
OGR_SRSNode::applyRemapper
OGRErr applyRemapper(const char *pszNode, char **papszSrcValues, char **papszDstValues, int nStepSize=1, int bChildOfHit=FALSE)
Definition: ogr_srsnode.cpp:811

Generated for GDAL by doxygen 1.8.17.