Go to the documentation of this file.
31 #ifndef OGR_SRS_API_H_INCLUDED
32 #define OGR_SRS_API_H_INCLUDED
70 ODT_HD_Geocentric=1002,
74 ODT_VD_Orthometric=2001,
75 ODT_VD_Ellipsoidal=2002,
76 ODT_VD_AltitudeBarometric=2003,
78 ODT_VD_GeoidModelDerived=2005,
93 #define SRS_WKT_WGS84 "GEOGCS[\"WGS 84\",DATUM[\"WGS_1984\",SPHEROID[\"WGS 84\",6378137,298.257223563,AUTHORITY[\"EPSG\",\"7030\"]],AUTHORITY[\"EPSG\",\"6326\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4326\"]]"
100 #define SRS_PT_ALBERS_CONIC_EQUAL_AREA \
101 "Albers_Conic_Equal_Area"
103 #define SRS_PT_AZIMUTHAL_EQUIDISTANT "Azimuthal_Equidistant"
105 #define SRS_PT_CASSINI_SOLDNER "Cassini_Soldner"
107 #define SRS_PT_CYLINDRICAL_EQUAL_AREA "Cylindrical_Equal_Area"
109 #define SRS_PT_BONNE "Bonne"
111 #define SRS_PT_ECKERT_I "Eckert_I"
113 #define SRS_PT_ECKERT_II "Eckert_II"
115 #define SRS_PT_ECKERT_III "Eckert_III"
117 #define SRS_PT_ECKERT_IV "Eckert_IV"
119 #define SRS_PT_ECKERT_V "Eckert_V"
121 #define SRS_PT_ECKERT_VI "Eckert_VI"
123 #define SRS_PT_EQUIDISTANT_CONIC \
126 #define SRS_PT_EQUIRECTANGULAR "Equirectangular"
128 #define SRS_PT_GALL_STEREOGRAPHIC \
131 #define SRS_PT_GAUSSSCHREIBERTMERCATOR \
132 "Gauss_Schreiber_Transverse_Mercator"
134 #define SRS_PT_GEOSTATIONARY_SATELLITE \
135 "Geostationary_Satellite"
137 #define SRS_PT_GOODE_HOMOLOSINE "Goode_Homolosine"
139 #define SRS_PT_IGH "Interrupted_Goode_Homolosine"
141 #define SRS_PT_GNOMONIC "Gnomonic"
143 #define SRS_PT_HOTINE_OBLIQUE_MERCATOR_AZIMUTH_CENTER \
144 "Hotine_Oblique_Mercator_Azimuth_Center"
146 #define SRS_PT_HOTINE_OBLIQUE_MERCATOR \
147 "Hotine_Oblique_Mercator"
149 #define SRS_PT_HOTINE_OBLIQUE_MERCATOR_TWO_POINT_NATURAL_ORIGIN \
150 "Hotine_Oblique_Mercator_Two_Point_Natural_Origin"
152 #define SRS_PT_LABORDE_OBLIQUE_MERCATOR \
153 "Laborde_Oblique_Mercator"
155 #define SRS_PT_LAMBERT_CONFORMAL_CONIC_1SP \
156 "Lambert_Conformal_Conic_1SP"
158 #define SRS_PT_LAMBERT_CONFORMAL_CONIC_2SP \
159 "Lambert_Conformal_Conic_2SP"
161 #define SRS_PT_LAMBERT_CONFORMAL_CONIC_2SP_BELGIUM \
162 "Lambert_Conformal_Conic_2SP_Belgium"
164 #define SRS_PT_LAMBERT_AZIMUTHAL_EQUAL_AREA \
165 "Lambert_Azimuthal_Equal_Area"
167 #define SRS_PT_MERCATOR_1SP "Mercator_1SP"
169 #define SRS_PT_MERCATOR_2SP "Mercator_2SP"
171 #define SRS_PT_MERCATOR_AUXILIARY_SPHERE \
172 "Mercator_Auxiliary_Sphere"
174 #define SRS_PT_MILLER_CYLINDRICAL "Miller_Cylindrical"
176 #define SRS_PT_MOLLWEIDE "Mollweide"
178 #define SRS_PT_NEW_ZEALAND_MAP_GRID \
179 "New_Zealand_Map_Grid"
181 #define SRS_PT_OBLIQUE_STEREOGRAPHIC \
182 "Oblique_Stereographic"
184 #define SRS_PT_ORTHOGRAPHIC "Orthographic"
186 #define SRS_PT_POLAR_STEREOGRAPHIC \
187 "Polar_Stereographic"
189 #define SRS_PT_POLYCONIC "Polyconic"
191 #define SRS_PT_ROBINSON "Robinson"
193 #define SRS_PT_SINUSOIDAL "Sinusoidal"
195 #define SRS_PT_STEREOGRAPHIC "Stereographic"
197 #define SRS_PT_SWISS_OBLIQUE_CYLINDRICAL \
198 "Swiss_Oblique_Cylindrical"
200 #define SRS_PT_TRANSVERSE_MERCATOR \
201 "Transverse_Mercator"
203 #define SRS_PT_TRANSVERSE_MERCATOR_SOUTH_ORIENTED \
204 "Transverse_Mercator_South_Orientated"
208 #define SRS_PT_TRANSVERSE_MERCATOR_MI_21 \
209 "Transverse_Mercator_MapInfo_21"
211 #define SRS_PT_TRANSVERSE_MERCATOR_MI_22 \
212 "Transverse_Mercator_MapInfo_22"
214 #define SRS_PT_TRANSVERSE_MERCATOR_MI_23 \
215 "Transverse_Mercator_MapInfo_23"
217 #define SRS_PT_TRANSVERSE_MERCATOR_MI_24 \
218 "Transverse_Mercator_MapInfo_24"
220 #define SRS_PT_TRANSVERSE_MERCATOR_MI_25 \
221 "Transverse_Mercator_MapInfo_25"
224 #define SRS_PT_TUNISIA_MINING_GRID \
225 "Tunisia_Mining_Grid"
227 #define SRS_PT_TWO_POINT_EQUIDISTANT \
228 "Two_Point_Equidistant"
230 #define SRS_PT_VANDERGRINTEN "VanDerGrinten"
232 #define SRS_PT_KROVAK "Krovak"
234 #define SRS_PT_IMW_POLYCONIC "International_Map_of_the_World_Polyconic"
236 #define SRS_PT_WAGNER_I "Wagner_I"
238 #define SRS_PT_WAGNER_II "Wagner_II"
240 #define SRS_PT_WAGNER_III "Wagner_III"
242 #define SRS_PT_WAGNER_IV "Wagner_IV"
244 #define SRS_PT_WAGNER_V "Wagner_V"
246 #define SRS_PT_WAGNER_VI "Wagner_VI"
248 #define SRS_PT_WAGNER_VII "Wagner_VII"
250 #define SRS_PT_QSC "Quadrilateralized_Spherical_Cube"
252 #define SRS_PT_AITOFF "Aitoff"
254 #define SRS_PT_WINKEL_I "Winkel_I"
256 #define SRS_PT_WINKEL_II "Winkel_II"
258 #define SRS_PT_WINKEL_TRIPEL "Winkel_Tripel"
260 #define SRS_PT_CRASTER_PARABOLIC "Craster_Parabolic"
262 #define SRS_PT_LOXIMUTHAL "Loximuthal"
264 #define SRS_PT_QUARTIC_AUTHALIC "Quartic_Authalic"
266 #define SRS_PT_SCH "Spherical_Cross_Track_Height"
269 #define SRS_PP_CENTRAL_MERIDIAN "central_meridian"
271 #define SRS_PP_SCALE_FACTOR "scale_factor"
273 #define SRS_PP_STANDARD_PARALLEL_1 "standard_parallel_1"
275 #define SRS_PP_STANDARD_PARALLEL_2 "standard_parallel_2"
277 #define SRS_PP_PSEUDO_STD_PARALLEL_1 "pseudo_standard_parallel_1"
279 #define SRS_PP_LONGITUDE_OF_CENTER "longitude_of_center"
281 #define SRS_PP_LATITUDE_OF_CENTER "latitude_of_center"
283 #define SRS_PP_LONGITUDE_OF_ORIGIN "longitude_of_origin"
285 #define SRS_PP_LATITUDE_OF_ORIGIN "latitude_of_origin"
287 #define SRS_PP_FALSE_EASTING "false_easting"
289 #define SRS_PP_FALSE_NORTHING "false_northing"
291 #define SRS_PP_AZIMUTH "azimuth"
293 #define SRS_PP_LONGITUDE_OF_POINT_1 "longitude_of_point_1"
295 #define SRS_PP_LATITUDE_OF_POINT_1 "latitude_of_point_1"
297 #define SRS_PP_LONGITUDE_OF_POINT_2 "longitude_of_point_2"
299 #define SRS_PP_LATITUDE_OF_POINT_2 "latitude_of_point_2"
301 #define SRS_PP_LONGITUDE_OF_POINT_3 "longitude_of_point_3"
303 #define SRS_PP_LATITUDE_OF_POINT_3 "latitude_of_point_3"
305 #define SRS_PP_RECTIFIED_GRID_ANGLE "rectified_grid_angle"
307 #define SRS_PP_LANDSAT_NUMBER "landsat_number"
309 #define SRS_PP_PATH_NUMBER "path_number"
311 #define SRS_PP_PERSPECTIVE_POINT_HEIGHT "perspective_point_height"
313 #define SRS_PP_SATELLITE_HEIGHT "satellite_height"
315 #define SRS_PP_FIPSZONE "fipszone"
317 #define SRS_PP_ZONE "zone"
319 #define SRS_PP_LATITUDE_OF_1ST_POINT "Latitude_Of_1st_Point"
321 #define SRS_PP_LONGITUDE_OF_1ST_POINT "Longitude_Of_1st_Point"
323 #define SRS_PP_LATITUDE_OF_2ND_POINT "Latitude_Of_2nd_Point"
325 #define SRS_PP_LONGITUDE_OF_2ND_POINT "Longitude_Of_2nd_Point"
327 #define SRS_PP_PEG_POINT_LATITUDE "peg_point_latitude"
329 #define SRS_PP_PEG_POINT_LONGITUDE "peg_point_longitude"
331 #define SRS_PP_PEG_POINT_HEADING "peg_point_heading"
333 #define SRS_PP_PEG_POINT_HEIGHT "peg_point_height"
336 #define SRS_UL_METER "Meter"
338 #define SRS_UL_FOOT "Foot (International)"
340 #define SRS_UL_FOOT_CONV "0.3048"
342 #define SRS_UL_US_FOOT "Foot_US"
344 #define SRS_UL_US_FOOT_CONV "0.3048006096012192"
346 #define SRS_UL_NAUTICAL_MILE "Nautical Mile"
348 #define SRS_UL_NAUTICAL_MILE_CONV "1852.0"
350 #define SRS_UL_LINK "Link"
352 #define SRS_UL_LINK_CONV "0.20116684023368047"
354 #define SRS_UL_CHAIN "Chain"
356 #define SRS_UL_CHAIN_CONV "20.116684023368047"
358 #define SRS_UL_ROD "Rod"
360 #define SRS_UL_ROD_CONV "5.02921005842012"
362 #define SRS_UL_LINK_Clarke "Link_Clarke"
364 #define SRS_UL_LINK_Clarke_CONV "0.2011661949"
367 #define SRS_UL_KILOMETER "Kilometer"
369 #define SRS_UL_KILOMETER_CONV "1000."
371 #define SRS_UL_DECIMETER "Decimeter"
373 #define SRS_UL_DECIMETER_CONV "0.1"
375 #define SRS_UL_CENTIMETER "Centimeter"
377 #define SRS_UL_CENTIMETER_CONV "0.01"
379 #define SRS_UL_MILLIMETER "Millimeter"
381 #define SRS_UL_MILLIMETER_CONV "0.001"
383 #define SRS_UL_INTL_NAUT_MILE "Nautical_Mile_International"
385 #define SRS_UL_INTL_NAUT_MILE_CONV "1852.0"
387 #define SRS_UL_INTL_INCH "Inch_International"
389 #define SRS_UL_INTL_INCH_CONV "0.0254"
391 #define SRS_UL_INTL_FOOT "Foot_International"
393 #define SRS_UL_INTL_FOOT_CONV "0.3048"
395 #define SRS_UL_INTL_YARD "Yard_International"
397 #define SRS_UL_INTL_YARD_CONV "0.9144"
399 #define SRS_UL_INTL_STAT_MILE "Statute_Mile_International"
401 #define SRS_UL_INTL_STAT_MILE_CONV "1609.344"
403 #define SRS_UL_INTL_FATHOM "Fathom_International"
405 #define SRS_UL_INTL_FATHOM_CONV "1.8288"
407 #define SRS_UL_INTL_CHAIN "Chain_International"
409 #define SRS_UL_INTL_CHAIN_CONV "20.1168"
411 #define SRS_UL_INTL_LINK "Link_International"
413 #define SRS_UL_INTL_LINK_CONV "0.201168"
415 #define SRS_UL_US_INCH "Inch_US_Surveyor"
417 #define SRS_UL_US_INCH_CONV "0.025400050800101603"
419 #define SRS_UL_US_YARD "Yard_US_Surveyor"
421 #define SRS_UL_US_YARD_CONV "0.914401828803658"
423 #define SRS_UL_US_CHAIN "Chain_US_Surveyor"
425 #define SRS_UL_US_CHAIN_CONV "20.11684023368047"
427 #define SRS_UL_US_STAT_MILE "Statute_Mile_US_Surveyor"
429 #define SRS_UL_US_STAT_MILE_CONV "1609.347218694437"
431 #define SRS_UL_INDIAN_YARD "Yard_Indian"
433 #define SRS_UL_INDIAN_YARD_CONV "0.91439523"
435 #define SRS_UL_INDIAN_FOOT "Foot_Indian"
437 #define SRS_UL_INDIAN_FOOT_CONV "0.30479841"
439 #define SRS_UL_INDIAN_CHAIN "Chain_Indian"
441 #define SRS_UL_INDIAN_CHAIN_CONV "20.11669506"
444 #define SRS_UA_DEGREE "degree"
446 #define SRS_UA_DEGREE_CONV "0.0174532925199433"
448 #define SRS_UA_RADIAN "radian"
451 #define SRS_PM_GREENWICH "Greenwich"
454 #define SRS_DN_NAD27 "North_American_Datum_1927"
456 #define SRS_DN_NAD83 "North_American_Datum_1983"
458 #define SRS_DN_WGS72 "WGS_1972"
460 #define SRS_DN_WGS84 "WGS_1984"
463 #define SRS_WGS84_SEMIMAJOR 6378137.0
465 #define SRS_WGS84_INVFLATTENING 298.257223563
471 #ifndef DEFINED_OGRSpatialReferenceH
473 #define DEFINED_OGRSpatialReferenceH
509 const char *,
double * );
511 long,
long,
double *,
long);
520 const char *,
const char *,
const char * );
532 long *,
long *,
double * );
541 const char* pszTargetProjection,
542 const char*
const* papszOptions );
545 const char * pszNodePath,
546 const char * pszNewNodeValue );
548 const char * pszName,
int iChild );
575 const char * pszName );
581 double,
double,
double,
582 double,
double,
double,
double );
590 const char * pszGeogName,
591 const char * pszDatumName,
592 const char * pszEllipsoidName,
593 double dfSemiMajor,
double dfInvFlattening,
594 const char * pszPMName ,
596 const char * pszUnits ,
597 double dfConvertToRadians );
600 const char * pszVertCSName,
601 const char * pszVertDatumName,
602 int nVertDatumType );
609 const char * pszTargetKey,
610 const char * pszAuthority,
613 const char * pszTargetKey );
615 const char * pszTargetKey );
619 const char * pszParmName,
624 const char * pszParmName,
631 int nZone,
int bNAD83 );
633 int nZone,
int bNAD83,
634 const char *pszOverrideUnitName,
635 double dfOverrideUnit );
641 int** ppanMatchConfidence );
647 const char *pszTargetKey,
int iAxis,
650 const char *pszTargetKey,
651 const char *pszXAxisName,
653 const char *pszYAxisName,
657 double dfCenterLat,
double dfCenterLong,
658 double dfFalseEasting,
double dfFalseNorthing );
662 double dfFalseEasting,
double dfFalseNorthing );
666 double dfStandardParallel,
double dfCentralMeridian,
667 double dfFalseEasting,
double dfFalseNorthing );
671 double dfFalseEasting,
double dfFalseNorthing );
675 double dfFalseEasting,
double dfFalseNorthing );
679 double dfCenterLat,
double dfCenterLong,
680 double dfFalseEasting,
double dfFalseNorthing );
684 double dfCentralMeridian,
685 double dfFalseEasting,
double dfFalseNorthing );
689 double dfFalseEasting,
double dfFalseNorthing );
693 double dfFalseEasting,
double dfFalseNorthing );
697 double dfCenterLat,
double dfCenterLong,
698 double dfFalseEasting,
double dfFalseNorthing );
702 double dfCenterLat,
double dfCenterLong,
703 double dfPseudoStdParallel1,
704 double dfFalseEasting,
705 double dfFalseNorthing );
709 double dfFalseEasting,
double dfFalseNorthing );
713 double dfFalseEasting,
double dfFalseNorthing );
720 double dfCentralMeridian,
double dfSatelliteHeight,
721 double dfFalseEasting,
double dfFalseNorthing );
725 double dfCenterLat,
double dfCenterLong,
727 double dfFalseEasting,
728 double dfFalseNorthing );
731 double dfCenterLat,
double dfCenterLong,
732 double dfFalseEasting,
double dfFalseNorthing );
737 double dfCenterLat,
double dfCenterLong,
738 double dfAzimuth,
double dfRectToSkew,
740 double dfFalseEasting,
double dfFalseNorthing );
745 double dfCenterLat,
double dfCenterLong,
746 double dfAzimuth,
double dfRectToSkew,
748 double dfFalseEasting,
double dfFalseNorthing );
751 double dfCenterLat,
double dfCenterLong,
752 double dfAzimuth,
double dfRectToSkew,
754 double dfFalseEasting,
755 double dfFalseNorthing );
759 double dfLat1,
double dfLong1,
760 double dfLat2,
double dfLong2,
762 double dfFalseEasting,
double dfFalseNorthing );
766 double dfLat1,
double dfLat2,
768 double dfFalseEasting,
769 double dfFalseNorthing );
773 double dfCenterLat,
double dfCenterLong,
774 double dfAzimuth,
double dfPseudoStdParallelLat,
776 double dfFalseEasting,
double dfFalseNorthing );
780 double dfCenterLat,
double dfCenterLong,
781 double dfFalseEasting,
double dfFalseNorthing );
785 double dfStdP1,
double dfStdP2,
786 double dfCenterLat,
double dfCenterLong,
787 double dfFalseEasting,
double dfFalseNorthing );
791 double dfCenterLat,
double dfCenterLong,
793 double dfFalseEasting,
double dfFalseNorthing );
797 double dfStdP1,
double dfStdP2,
798 double dfCenterLat,
double dfCenterLong,
799 double dfFalseEasting,
double dfFalseNorthing );
803 double dfCenterLat,
double dfCenterLong,
804 double dfFalseEasting,
double dfFalseNorthing );
808 double dfCenterLat,
double dfCenterLong,
810 double dfFalseEasting,
double dfFalseNorthing );
815 double dfCenterLat,
double dfCenterLong,
816 double dfFalseEasting,
double dfFalseNorthing );
820 double dfCentralMeridian,
821 double dfFalseEasting,
822 double dfFalseNorthing );
826 double dfCenterLat,
double dfCenterLong,
827 double dfFalseEasting,
double dfFalseNorthing );
831 double dfOriginLat,
double dfCMeridian,
833 double dfFalseEasting,
double dfFalseNorthing);
837 double dfCenterLat,
double dfCenterLong,
838 double dfFalseEasting,
839 double dfFalseNorthing);
843 double dfCenterLat,
double dfCenterLong,
844 double dfFalseEasting,
double dfFalseNorthing );
848 double dfCenterLat,
double dfCenterLong,
850 double dfFalseEasting,
double dfFalseNorthing);
855 double dfFalseEasting,
double dfFalseNorthing );
860 double dfFalseEasting,
861 double dfFalseNorthing );
865 double dfCenterLat,
double dfCenterLong,
867 double dfFalseEasting,
868 double dfFalseNorthing);
872 double dfLatitudeOfOrigin,
double dfCentralMeridian,
873 double dfFalseEasting,
double dfFalseNorthing );
882 double dfCenterLat,
double dfCenterLong,
884 double dfFalseEasting,
double dfFalseNorthing );
889 double dfCenterLat,
double dfCenterLong,
891 double dfFalseEasting,
double dfFalseNorthing );
895 double dfCenterLat,
double dfCenterLong,
896 double dfFalseEasting,
double dfFalseNorthing );
900 double dfCenterLat,
double dfCenterLong,
902 double dfFalseEasting,
double dfFalseNorthing );
906 double dfLat1,
double dfLong1,
907 double dfLat2,
double dfLong2,
908 double dfFalseEasting,
double dfFalseNorthing );
913 double dfFalseEasting,
double dfFalseNorthing );
918 double dfFalseEasting,
919 double dfFalseNorthing );
923 double dfCenterLat,
double dfCenterLong );
927 double dfPegLat,
double dfPegLong,
928 double dfPegHeading,
double dfPegHgt);
941 void CPL_DLL CPL_STDCALL
944 int CPL_DLL CPL_STDCALL
946 int nCount,
double *x,
double *y,
double *z );
948 int CPL_DLL CPL_STDCALL
950 int nCount,
double *x,
double *y,
double *z,
955 char *OCTProj4Normalize(
const char *pszProj4Src );
957 void OCTCleanupProjMutex(
void );
966 char ** ppszUserName );
967 int CPL_DLL OPTGetParameterInfo(
const char * pszProjectionMethod,
968 const char * pszParameterName,
969 char ** ppszUserName,
971 double *pdfDefaultValue );
OGRErr OSRSetEC(OGRSpatialReferenceH hSRS, double dfStdP1, double dfStdP2, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4432
OGRErr OSRSetMercator(OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfScale, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5361
OGRErr OSRSetUTM(OGRSpatialReferenceH hSRS, int nZone, int bNorth)
Set UTM projection definition.
Definition: ogrspatialreference.cpp:5879
@ OAO_North
Definition: ogr_srs_api.h:50
OGRErr OSRSetStereographic(OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfScale, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5722
double OSRGetInvFlattening(OGRSpatialReferenceH, OGRErr *)
Get spheroid inverse flattening.
Definition: ogrspatialreference.cpp:3130
OGRErr OSRSetMercator2SP(OGRSpatialReferenceH hSRS, double dfStdP1, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5403
OGRErr OSRSetHOM2PNO(OGRSpatialReferenceH hSRS, double dfCenterLat, double dfLat1, double dfLong1, double dfLat2, double dfLong2, double dfScale, double dfFalseEasting, double dfFalseNorthing)
Set a Hotine Oblique Mercator projection using two points on projection centerline.
Definition: ogrspatialreference.cpp:5045
OGRErr OSRSetTMG(OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4216
OGRErr CPL_STDCALL OSRExportToWkt(OGRSpatialReferenceH, char **)
Convert this SRS into WKT format.
Definition: ogrspatialreference.cpp:753
@ OAO_Down
Definition: ogr_srs_api.h:55
OGRErr OSRMorphToESRI(OGRSpatialReferenceH)
Convert in place to ESRI WKT format.
Definition: ogr_srs_esri.cpp:1920
OGRErr OSRImportFromMICoordSys(OGRSpatialReferenceH, const char *)
Import Mapinfo style CoordSys definition.
Definition: ogrspatialreference.cpp:8513
OGRSpatialReferenceH OSRConvertToOtherProjection(OGRSpatialReferenceH hSRS, const char *pszTargetProjection, const char *const *papszOptions)
Convert to another equivalent projection.
Definition: ogrspatialreference.cpp:7615
OGRErr OSRSetIWMPolyconic(OGRSpatialReferenceH hSRS, double dfLat1, double dfLat2, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5087
OGRErr OSRSetProjParm(OGRSpatialReferenceH, const char *, double)
Set a projection parameter value.
Definition: ogrspatialreference.cpp:3760
@ OAO_West
Definition: ogr_srs_api.h:53
double OSRGetNormProjParm(OGRSpatialReferenceH hSRS, const char *pszParmName, double dfDefault, OGRErr *)
This function is the same as OGRSpatialReference::
Definition: ogrspatialreference.cpp:3962
OGRErr OSRFixup(OGRSpatialReferenceH)
Fixup as needed.
Definition: ogrspatialreference.cpp:8052
OGRErr OSRSetOrthographic(OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5544
OGRErr OSRSetEquirectangular2(OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfPseudoStdParallel1, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4636
OGRErr OSRSetGnomonic(OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4842
OGRErr OSRAutoIdentifyEPSG(OGRSpatialReferenceH hSRS)
Set EPSG authority info if possible.
Definition: ogr_fromepsg.cpp:2758
OGRErr OSRImportFromProj4(OGRSpatialReferenceH, const char *)
Import PROJ.4 coordinate string.
Definition: ogr_srs_proj4.cpp:362
OGRErr OSRImportFromPanorama(OGRSpatialReferenceH, long, long, long, double *)
Definition: ogr_srs_panorama.cpp:158
OGRErr OSRMorphFromESRI(OGRSpatialReferenceH)
Convert in place from ESRI WKT format.
Definition: ogr_srs_esri.cpp:2496
OGRErr OSRSetTPED(OGRSpatialReferenceH hSRS, double dfLat1, double dfLong1, double dfLat2, double dfLong2, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4162
OGRErr OSRSetAuthority(OGRSpatialReferenceH hSRS, const char *pszTargetKey, const char *pszAuthority, int nCode)
Set the authority for a node.
Definition: ogrspatialreference.cpp:6146
void OSRCleanup(void)
Cleanup cached SRS related memory.
Definition: ogrspatialreference.cpp:8190
OGRErr OSRSetLinearUnits(OGRSpatialReferenceH, const char *, double)
Set the linear units for the projection.
Definition: ogrspatialreference.cpp:1320
@ OAO_East
Definition: ogr_srs_api.h:52
OGRErr OSRFixupOrdering(OGRSpatialReferenceH)
Correct parameter ordering to match CT Specification.
Definition: ogrspatialreference.cpp:7979
OGRErr OSRSetHOMAC(OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfAzimuth, double dfRectToSkew, double dfScale, double dfFalseEasting, double dfFalseNorthing)
Set an Oblique Mercator projection using azimuth angle.
Definition: ogrspatialreference.cpp:4908
OGRErr OSRSetLinearUnitsAndUpdateParameters(OGRSpatialReferenceH, const char *, double)
Set the linear units for the projection.
Definition: ogrspatialreference.cpp:1269
OGRErr OSRSetGEOS(OGRSpatialReferenceH hSRS, double dfCentralMeridian, double dfSatelliteHeight, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4766
OGRErr OSRSetSOC(OGRSpatialReferenceH hSRS, double dfLatitudeOfOrigin, double dfCentralMeridian, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5765
int OSRDereference(OGRSpatialReferenceH)
Decrements the reference count by one.
Definition: ogrspatialreference.cpp:368
OGRErr OSRSetEckertIV(OGRSpatialReferenceH hSRS, double dfCentralMeridian, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4525
OGRSpatialReferenceH CPL_STDCALL OSRClone(OGRSpatialReferenceH)
Make a duplicate of this OGRSpatialReference.
Definition: ogrspatialreference.cpp:610
OGRErr OSRSetVDG(OGRSpatialReferenceH hSRS, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5798
#define CPL_C_START
Definition: cpl_port.h:335
int OSRIsLocal(OGRSpatialReferenceH)
Check if local coordinate system.
Definition: ogrspatialreference.cpp:6604
OGRErr OSRSetGaussSchreiberTMercator(OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfScale, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4805
OGRErr CPL_STDCALL OSRSetAttrValue(OGRSpatialReferenceH hSRS, const char *pszNodePath, const char *pszNewNodeValue)
Set attribute value in spatial reference.
Definition: ogrspatialreference.cpp:983
const char * OSRGetAxis(OGRSpatialReferenceH hSRS, const char *pszTargetKey, int iAxis, OGRAxisOrientation *peOrientation)
Fetch the orientation of one axis.
Definition: ogrspatialreference.cpp:8310
void * OGRSpatialReferenceH
Definition: ogr_api.h:74
int OSRReference(OGRSpatialReferenceH)
Increments the reference count by one.
Definition: ogrspatialreference.cpp:328
OGRErr OSRSetProjCS(OGRSpatialReferenceH hSRS, const char *pszName)
Set the user visible PROJCS name.
Definition: ogrspatialreference.cpp:3619
int CPL_STDCALL OCTTransformEx(OGRCoordinateTransformationH hCT, int nCount, double *x, double *y, double *z, int *pabSuccess)
Definition: ogrct.cpp:1428
char ** OPTGetProjectionMethods(void)
Definition: ogr_opt.cpp:511
OGRErr OSRSetPS(OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfScale, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5617
void * OGRCoordinateTransformationH
Definition: ogr_api.h:76
void CPL_STDCALL OCTDestroyCoordinateTransformation(OGRCoordinateTransformationH)
OGRCoordinateTransformation destructor.
Definition: ogrct.cpp:438
double OSRGetTargetLinearUnits(OGRSpatialReferenceH, const char *, char **)
Fetch linear projection units.
Definition: ogrspatialreference.cpp:1620
OGRSpatialReferenceH * OSRFindMatches(OGRSpatialReferenceH hSRS, char **papszOptions, int *pnEntries, int **ppanMatchConfidence)
Try to identify a match between the passed SRS and a related SRS in a catalog (currently EPSG only)
Definition: ogrspatialreference.cpp:7670
OGRErr OSRStripCTParms(OGRSpatialReferenceH)
Strip OGC CT Parameters.
Definition: ogrspatialreference.cpp:6394
OGRErr OSRSetIGH(OGRSpatialReferenceH hSRS)
Definition: ogrspatialreference.cpp:4735
OGRErr OSRSetMC(OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5322
void * OGRSpatialReferenceH
Definition: ogr_srs_api.h:481
OGRErr OSRImportFromPCI(OGRSpatialReferenceH hSRS, const char *, const char *, double *)
Import coordinate system from PCI projection definition.
Definition: ogr_srs_pci.cpp:147
OGRErr OSRSetLAEA(OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5172
@ OAO_Other
Definition: ogr_srs_api.h:49
const char * OSRGetAuthorityName(OGRSpatialReferenceH hSRS, const char *pszTargetKey)
Get the authority name for a node.
Definition: ogrspatialreference.cpp:6297
OGRErr OSRSetProjection(OGRSpatialReferenceH, const char *)
Set a projection name.
Definition: ogrspatialreference.cpp:3677
OGRErr OSRSetPolyconic(OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5581
#define CPL_C_END
Definition: cpl_port.h:337
OGRErr OSRSetGeocCS(OGRSpatialReferenceH hSRS, const char *pszName)
Set the user visible PROJCS name.
Definition: ogrspatialreference.cpp:3357
OGRErr OSRSetKrovak(OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfAzimuth, double dfPseudoStdParallelLat, double dfScale, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5133
OGRSpatialReferenceH CPL_STDCALL OSRCloneGeogCS(OGRSpatialReferenceH)
Make a duplicate of the GEOGCS node of this OGRSpatialReference object.
Definition: ogrspatialreference.cpp:6721
OGRErr OSRExportToUSGS(OGRSpatialReferenceH, long *, long *, double **, long *)
Export coordinate system in USGS GCTP projection definition.
Definition: ogr_srs_usgs.cpp:801
OGRErr OSRSetMollweide(OGRSpatialReferenceH hSRS, double dfCentralMeridian, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5438
OGRErr OSRSetEquirectangular(OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4597
int OSRIsGeocentric(OGRSpatialReferenceH)
Check if geocentric coordinate system.
Definition: ogrspatialreference.cpp:6521
double OSRGetProjParm(OGRSpatialReferenceH hSRS, const char *pszParmName, double dfDefault, OGRErr *)
Fetch a projection parameter value.
Definition: ogrspatialreference.cpp:3891
@ OAO_Up
Definition: ogr_srs_api.h:54
OGRErr OSRGetTOWGS84(OGRSpatialReferenceH hSRS, double *, int)
Fetch TOWGS84 parameters, if available.
Definition: ogrspatialreference.cpp:7846
double OSRGetSemiMinor(OGRSpatialReferenceH, OGRErr *)
Get spheroid semi minor axis.
Definition: ogrspatialreference.cpp:3227
OGRErr OSRSetAngularUnits(OGRSpatialReferenceH, const char *, double)
Set the angular units for the geographic coordinate system.
Definition: ogrspatialreference.cpp:1094
OGRErr OSRSetAxes(OGRSpatialReferenceH hSRS, const char *pszTargetKey, const char *pszXAxisName, OGRAxisOrientation eXAxisOrientation, const char *pszYAxisName, OGRAxisOrientation eYAxisOrientation)
Set the axes for a coordinate system.
Definition: ogrspatialreference.cpp:8429
OGRErr OSRSetGeogCS(OGRSpatialReferenceH hSRS, const char *pszGeogName, const char *pszDatumName, const char *pszEllipsoidName, double dfSemiMajor, double dfInvFlattening, const char *pszPMName, double dfPMOffset, const char *pszUnits, double dfConvertToRadians)
Set geographic coordinate system.
Definition: ogrspatialreference.cpp:1909
OGRErr OSRSetTMSO(OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfScale, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4179
OGRErr OSRExportToPCI(OGRSpatialReferenceH, char **, char **, double **)
Export coordinate system in PCI projection definition.
Definition: ogr_srs_pci.cpp:731
double OSRGetLinearUnits(OGRSpatialReferenceH, char **)
Fetch linear projection units.
Definition: ogrspatialreference.cpp:1503
OGRErr OSRSetEckert(OGRSpatialReferenceH hSRS, int nVariation, double dfCentralMeridian, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4488
OGRErr OSRValidate(OGRSpatialReferenceH)
Validate SRS tokens.
Definition: ogr_srs_validate.cpp:1152
OGRErr OSRSetTM(OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfScale, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4059
double OSRCalcInvFlattening(double dfSemiMajor, double dfSemiMinor)
Compute inverse flattening from semi-major and semi-minor axis.
Definition: ogrspatialreference.cpp:8574
OGRErr OSRSetCompoundCS(OGRSpatialReferenceH hSRS, const char *pszName, OGRSpatialReferenceH hHorizSRS, OGRSpatialReferenceH hVertSRS)
Setup a compound coordinate system.
Definition: ogrspatialreference.cpp:3547
OGRAxisOrientation
Definition: ogr_srs_api.h:48
int OSRIsGeographic(OGRSpatialReferenceH)
Check if geographic coordinate system.
Definition: ogrspatialreference.cpp:6566
OGRErr OSRImportFromDict(OGRSpatialReferenceH, const char *, const char *)
Definition: ogr_srs_dict.cpp:160
OGRSpatialReferenceH CPL_STDCALL OSRNewSpatialReference(const char *)
Constructor.
Definition: ogrspatialreference.cpp:151
OGRErr OSRExportToXML(OGRSpatialReferenceH, char **, const char *)
Export coordinate system in XML format.
Definition: ogr_srs_xml.cpp:746
int OSREPSGTreatsAsNorthingEasting(OGRSpatialReferenceH hSRS)
This function returns TRUE if EPSG feels this geographic coordinate system should be treated as havin...
Definition: ogr_fromepsg.cpp:2887
OGRErr OSRSetSCH(OGRSpatialReferenceH hSRS, double dfPegLat, double dfPegLong, double dfPegHeading, double dfPegHgt)
Definition: ogrspatialreference.cpp:6070
double OSRCalcSemiMinorFromInvFlattening(double dfSemiMajor, double dfInvFlattening)
Compute semi-minor axis from semi-major axis and inverse flattening.
Definition: ogrspatialreference.cpp:8602
OGRErr CPL_STDCALL OSRExportToProj4(OGRSpatialReferenceH, char **)
Export coordinate system in PROJ.4 format.
Definition: ogr_srs_proj4.cpp:1429
OGRErr OSRSetVertCS(OGRSpatialReferenceH hSRS, const char *pszVertCSName, const char *pszVertDatumName, int nVertDatumType)
Setup the vertical coordinate system.
Definition: ogrspatialreference.cpp:3468
void CPL_STDCALL OSRDestroySpatialReference(OGRSpatialReferenceH)
OGRSpatialReference destructor.
Definition: ogrspatialreference.cpp:242
const char * OSRGetAuthorityCode(OGRSpatialReferenceH hSRS, const char *pszTargetKey)
Get the authority code for a node.
Definition: ogrspatialreference.cpp:6222
OGRErr OSRSetTOWGS84(OGRSpatialReferenceH hSRS, double, double, double, double, double, double, double)
Set the Bursa-Wolf conversion to WGS84.
Definition: ogrspatialreference.cpp:7792
int OSREPSGTreatsAsLatLong(OGRSpatialReferenceH hSRS)
This function returns TRUE if EPSG feels this geographic coordinate system should be treated as havin...
Definition: ogr_fromepsg.cpp:2821
int OSRIsSame(OGRSpatialReferenceH, OGRSpatialReferenceH)
Do these two spatial references describe the same system ?
Definition: ogrspatialreference.cpp:7261
int OGRErr
Definition: ogr_core.h:290
void OSRRelease(OGRSpatialReferenceH)
Decrements the reference count by one, and destroy if zero.
Definition: ogrspatialreference.cpp:414
OGRErr OSRSetWagner(OGRSpatialReferenceH hSRS, int nVariation, double dfCenterLat, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:6009
OGRErr OSRCopyGeogCSFrom(OGRSpatialReferenceH hSRS, const OGRSpatialReferenceH hSrcSRS)
Copy GEOGCS from another OGRSpatialReference.
Definition: ogrspatialreference.cpp:2151
OGRErr OSRSetNormProjParm(OGRSpatialReferenceH, const char *, double)
Set a projection parameter with a normalized value.
Definition: ogrspatialreference.cpp:4025
OGRErr OSRSetRobinson(OGRSpatialReferenceH hSRS, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5652
OGRErr OSRSetWellKnownGeogCS(OGRSpatialReferenceH hSRS, const char *pszName)
Set a GeogCS based on well known name.
Definition: ogrspatialreference.cpp:2053
int CPL_STDCALL OCTTransform(OGRCoordinateTransformationH hCT, int nCount, double *x, double *y, double *z)
Definition: ogrct.cpp:1046
OGRErr OSRExportToPanorama(OGRSpatialReferenceH, long *, long *, long *, long *, double *)
Definition: ogr_srs_panorama.cpp:503
OGRErr CPL_STDCALL OSRImportFromEPSGA(OGRSpatialReferenceH, int)
Initialize SRS based on EPSG GCS or PCS code.
Definition: ogr_fromepsg.cpp:2356
OGRErr OSRImportFromOzi(OGRSpatialReferenceH, const char *const *)
Definition: ogr_srs_ozi.cpp:68
OGRErr OSRSetLCCB(OGRSpatialReferenceH hSRS, double dfStdP1, double dfStdP2, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5286
double OSRGetPrimeMeridian(OGRSpatialReferenceH, char **)
Fetch prime meridian info.
Definition: ogrspatialreference.cpp:1713
OGRErr OSRSetHOM(OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfAzimuth, double dfRectToSkew, double dfScale, double dfFalseEasting, double dfFalseNorthing)
Set a Hotine Oblique Mercator projection using azimuth angle.
Definition: ogrspatialreference.cpp:4976
double OSRGetAngularUnits(OGRSpatialReferenceH, char **)
Fetch angular geographic coordinate system units.
Definition: ogrspatialreference.cpp:1189
OGRErr OSRImportFromESRI(OGRSpatialReferenceH, char **)
Import coordinate system from ESRI .prj format(s).
Definition: ogr_srs_esri.cpp:510
const char * OSRAxisEnumToName(OGRAxisOrientation eOrientation)
Return the string representation for the OGRAxisOrientation enumeration.
Definition: ogrspatialreference.cpp:8332
int OSRIsSameGeogCS(OGRSpatialReferenceH, OGRSpatialReferenceH)
Do the GeogCS'es match?
Definition: ogrspatialreference.cpp:6900
OGRErr OSRExportToMICoordSys(OGRSpatialReferenceH, char **)
Export coordinate system in Mapinfo style CoordSys format.
Definition: ogrspatialreference.cpp:8458
OGRErr OSRSetQSC(OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong)
Definition: ogrspatialreference.cpp:6039
OGRErr OSRSetTargetLinearUnits(OGRSpatialReferenceH, const char *, const char *, double)
Set the linear units for the target node.
Definition: ogrspatialreference.cpp:1429
OGRErr OSRSetLCC(OGRSpatialReferenceH hSRS, double dfStdP1, double dfStdP2, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5209
OGRCoordinateTransformationH CPL_STDCALL OCTNewCoordinateTransformation(OGRSpatialReferenceH hSourceSRS, OGRSpatialReferenceH hTargetSRS)
Definition: ogrct.cpp:542
OGRErr OSRSetACEA(OGRSpatialReferenceH hSRS, double dfStdP1, double dfStdP2, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4254
OGRErr OSRSetSinusoidal(OGRSpatialReferenceH hSRS, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5685
int OSRIsVertical(OGRSpatialReferenceH)
Check if vertical coordinate system.
Definition: ogrspatialreference.cpp:6652
OGRErr OSRSetAE(OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4291
int OSRGetUTMZone(OGRSpatialReferenceH hSRS, int *pbNorth)
Get utm zone information.
Definition: ogrspatialreference.cpp:5957
char ** OPTGetParameterList(const char *pszProjectionMethod, char **ppszUserName)
Definition: ogr_opt.cpp:545
OGRErr OSRSetEckertVI(OGRSpatialReferenceH hSRS, double dfCentralMeridian, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4561
OGRErr OSRSetGH(OGRSpatialReferenceH hSRS, double dfCentralMeridian, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4706
int OSRIsSameVertCS(OGRSpatialReferenceH, OGRSpatialReferenceH)
Do the VertCS'es match?
Definition: ogrspatialreference.cpp:6963
OGRErr OSRImportFromUSGS(OGRSpatialReferenceH, long, long, double *, long)
Import coordinate system from USGS projection definition.
Definition: ogr_srs_usgs.cpp:165
OGRErr OSRSetBonne(OGRSpatialReferenceH hSRS, double dfStandardParallel, double dfCentralMeridian, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4326
OGRErr OSRImportFromUrl(OGRSpatialReferenceH, const char *)
Set spatial reference from a URL.
Definition: ogrspatialreference.cpp:2518
OGRErr OSRExportToERM(OGRSpatialReferenceH, char *, char *, char *)
Convert coordinate system to ERMapper format.
Definition: ogr_srs_erm.cpp:147
OGRErr OSRSetLCC1SP(OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfScale, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5247
OGRErr OSRSetGS(OGRSpatialReferenceH hSRS, double dfCentralMeridian, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4672
void * OGRCoordinateTransformationH
Definition: ogr_srs_api.h:483
OGRErr OSRSetLocalCS(OGRSpatialReferenceH hSRS, const char *pszName)
Set the user visible LOCAL_CS name.
Definition: ogrspatialreference.cpp:3279
OGRErr OSRSetStatePlaneWithUnits(OGRSpatialReferenceH hSRS, int nZone, int bNAD83, const char *pszOverrideUnitName, double dfOverrideUnit)
Set State Plane projection definition.
Definition: ogr_fromepsg.cpp:2519
OGRErr OSRSetCS(OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4394
OGRErr OSRImportFromERM(OGRSpatialReferenceH, const char *, const char *, const char *)
Create OGR WKT from ERMapper projection definitions.
Definition: ogr_srs_erm.cpp:55
OGRErr CPL_STDCALL OSRExportToPrettyWkt(OGRSpatialReferenceH, char **, int)
Convert this SRS into a nicely formatted WKT string for display to a person.
Definition: ogrspatialreference.cpp:695
OGRErr CPL_STDCALL OSRSetFromUserInput(OGRSpatialReferenceH hSRS, const char *)
Set spatial reference from various text formats.
Definition: ogrspatialreference.cpp:2410
OGRErr OSRImportFromWkt(OGRSpatialReferenceH, char **)
Import from WKT string.
Definition: ogrspatialreference.cpp:888
double OSRGetSemiMajor(OGRSpatialReferenceH, OGRErr *)
Get spheroid semi major axis.
Definition: ogrspatialreference.cpp:3079
void OSRFreeSRSArray(OGRSpatialReferenceH *pahSRS)
Free return of OSRIdentifyMatches()
Definition: ogrspatialreference.cpp:7696
OGRErr OSRSetStatePlane(OGRSpatialReferenceH hSRS, int nZone, int bNAD83)
Set State Plane projection definition.
Definition: ogr_fromepsg.cpp:2500
int OSRIsCompound(OGRSpatialReferenceH)
Check if the coordinate system is compound.
Definition: ogrspatialreference.cpp:6432
OGRErr OSRSetTMVariant(OGRSpatialReferenceH hSRS, const char *pszVariantName, double dfCenterLat, double dfCenterLong, double dfScale, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4100
OGRErr CPL_STDCALL OSRImportFromEPSG(OGRSpatialReferenceH, int)
Initialize SRS based on EPSG GCS or PCS code.
Definition: ogr_fromepsg.cpp:2168
OGRErr OSRImportFromXML(OGRSpatialReferenceH, const char *)
Import coordinate system from XML format (GML only currently).
Definition: ogr_srs_xml.cpp:1314
@ OAO_South
Definition: ogr_srs_api.h:51
int OSRIsProjected(OGRSpatialReferenceH)
Check if projected coordinate system.
Definition: ogrspatialreference.cpp:6476
OGRErr OSRSetOS(OGRSpatialReferenceH hSRS, double dfOriginLat, double dfCMeridian, double dfScale, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5508
const char *CPL_STDCALL OSRGetAttrValue(OGRSpatialReferenceH hSRS, const char *pszName, int iChild)
Fetch indicated attribute of named node.
Definition: ogrspatialreference.cpp:568
OGRErr OSRSetCEA(OGRSpatialReferenceH hSRS, double dfStdP1, double dfCentralMeridian, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:4360
OGRErr OSRSetNZMG(OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5472
Generated for GDAL by
1.8.17.