OGR
ogr_srs_api.h
Go to the documentation of this file.
1 /******************************************************************************
2  * $Id: ogr_srs_api.h 8b99fd4d3ad3db542705722876fcf484486f46d6 2019-12-17 14:27:30 +0100 Even Rouault $
3  *
4  * Project: OpenGIS Simple Features Reference Implementation
5  * Purpose: C API and constant declarations for OGR Spatial References.
6  * Author: Frank Warmerdam, warmerdam@pobox.com
7  *
8  ******************************************************************************
9  * Copyright (c) 2000, Frank Warmerdam
10  * Copyright (c) 2008-2013, Even Rouault <even dot rouault at mines-paris dot org>
11  *
12  * Permission is hereby granted, free of charge, to any person obtaining a
13  * copy of this software and associated documentation files (the "Software"),
14  * to deal in the Software without restriction, including without limitation
15  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
16  * and/or sell copies of the Software, and to permit persons to whom the
17  * Software is furnished to do so, subject to the following conditions:
18  *
19  * The above copyright notice and this permission notice shall be included
20  * in all copies or substantial portions of the Software.
21  *
22  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
23  * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
24  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
25  * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
26  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
27  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
28  * DEALINGS IN THE SOFTWARE.
29  ****************************************************************************/
30 
31 #ifndef OGR_SRS_API_H_INCLUDED
32 #define OGR_SRS_API_H_INCLUDED
33 
34 #ifndef SWIG
35 #include "ogr_core.h"
36 
38 
48 typedef enum {
54  OAO_Up=5,
57 
58 const char CPL_DLL *OSRAxisEnumToName( OGRAxisOrientation eOrientation );
59 
60 #endif // ndef SWIG
61 
62 /* ==================================================================== */
63 /* Some standard WKT geographic coordinate systems. */
64 /* ==================================================================== */
65 
66 #ifdef USE_DEPRECATED_SRS_WKT_WGS84
67 #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\"]]"
68 #endif
69 
71 #define SRS_WKT_WGS84_LAT_LONG "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\"]],AXIS[\"Latitude\",NORTH],AXIS[\"Longitude\",EAST],AUTHORITY[\"EPSG\",\"4326\"]]"
72 
73 /* ==================================================================== */
74 /* Some "standard" strings. */
75 /* ==================================================================== */
76 
78 #define SRS_PT_ALBERS_CONIC_EQUAL_AREA \
79  "Albers_Conic_Equal_Area"
80 
81 #define SRS_PT_AZIMUTHAL_EQUIDISTANT "Azimuthal_Equidistant"
82 
83 #define SRS_PT_CASSINI_SOLDNER "Cassini_Soldner"
84 
85 #define SRS_PT_CYLINDRICAL_EQUAL_AREA "Cylindrical_Equal_Area"
86 
87 #define SRS_PT_BONNE "Bonne"
88 
89 #define SRS_PT_ECKERT_I "Eckert_I"
90 
91 #define SRS_PT_ECKERT_II "Eckert_II"
92 
93 #define SRS_PT_ECKERT_III "Eckert_III"
94 
95 #define SRS_PT_ECKERT_IV "Eckert_IV"
96 
97 #define SRS_PT_ECKERT_V "Eckert_V"
98 
99 #define SRS_PT_ECKERT_VI "Eckert_VI"
100 
101 #define SRS_PT_EQUIDISTANT_CONIC \
102  "Equidistant_Conic"
103 
104 #define SRS_PT_EQUIRECTANGULAR "Equirectangular"
105 
106 #define SRS_PT_GALL_STEREOGRAPHIC \
107  "Gall_Stereographic"
108 
109 #define SRS_PT_GAUSSSCHREIBERTMERCATOR \
110  "Gauss_Schreiber_Transverse_Mercator"
111 
112 #define SRS_PT_GEOSTATIONARY_SATELLITE \
113  "Geostationary_Satellite"
114 
115 #define SRS_PT_GOODE_HOMOLOSINE "Goode_Homolosine"
116 
117 #define SRS_PT_IGH "Interrupted_Goode_Homolosine"
118 
119 #define SRS_PT_GNOMONIC "Gnomonic"
120 
121 #define SRS_PT_HOTINE_OBLIQUE_MERCATOR_AZIMUTH_CENTER \
122  "Hotine_Oblique_Mercator_Azimuth_Center"
123 
124 #define SRS_PT_HOTINE_OBLIQUE_MERCATOR \
125  "Hotine_Oblique_Mercator"
126 
127 #define SRS_PT_HOTINE_OBLIQUE_MERCATOR_TWO_POINT_NATURAL_ORIGIN \
128  "Hotine_Oblique_Mercator_Two_Point_Natural_Origin"
129 
130 #define SRS_PT_LABORDE_OBLIQUE_MERCATOR \
131  "Laborde_Oblique_Mercator"
132 
133 #define SRS_PT_LAMBERT_CONFORMAL_CONIC_1SP \
134  "Lambert_Conformal_Conic_1SP"
135 
136 #define SRS_PT_LAMBERT_CONFORMAL_CONIC_2SP \
137  "Lambert_Conformal_Conic_2SP"
138 
139 #define SRS_PT_LAMBERT_CONFORMAL_CONIC_2SP_BELGIUM \
140  "Lambert_Conformal_Conic_2SP_Belgium"
141 
142 #define SRS_PT_LAMBERT_AZIMUTHAL_EQUAL_AREA \
143  "Lambert_Azimuthal_Equal_Area"
144 
145 #define SRS_PT_MERCATOR_1SP "Mercator_1SP"
146 
147 #define SRS_PT_MERCATOR_2SP "Mercator_2SP"
148 
149 #define SRS_PT_MERCATOR_AUXILIARY_SPHERE \
150  "Mercator_Auxiliary_Sphere"
151 
152 #define SRS_PT_MILLER_CYLINDRICAL "Miller_Cylindrical"
153 
154 #define SRS_PT_MOLLWEIDE "Mollweide"
155 
156 #define SRS_PT_NEW_ZEALAND_MAP_GRID \
157  "New_Zealand_Map_Grid"
158 
159 #define SRS_PT_OBLIQUE_STEREOGRAPHIC \
160  "Oblique_Stereographic"
161 
162 #define SRS_PT_ORTHOGRAPHIC "Orthographic"
163 
164 #define SRS_PT_POLAR_STEREOGRAPHIC \
165  "Polar_Stereographic"
166 
167 #define SRS_PT_POLYCONIC "Polyconic"
168 
169 #define SRS_PT_ROBINSON "Robinson"
170 
171 #define SRS_PT_SINUSOIDAL "Sinusoidal"
172 
173 #define SRS_PT_STEREOGRAPHIC "Stereographic"
174 
175 #define SRS_PT_SWISS_OBLIQUE_CYLINDRICAL \
176  "Swiss_Oblique_Cylindrical"
177 
178 #define SRS_PT_TRANSVERSE_MERCATOR \
179  "Transverse_Mercator"
180 
181 #define SRS_PT_TRANSVERSE_MERCATOR_SOUTH_ORIENTED \
182  "Transverse_Mercator_South_Orientated"
183 
184 /* special mapinfo variants on Transverse Mercator */
186 #define SRS_PT_TRANSVERSE_MERCATOR_MI_21 \
187  "Transverse_Mercator_MapInfo_21"
188 
189 #define SRS_PT_TRANSVERSE_MERCATOR_MI_22 \
190  "Transverse_Mercator_MapInfo_22"
191 
192 #define SRS_PT_TRANSVERSE_MERCATOR_MI_23 \
193  "Transverse_Mercator_MapInfo_23"
194 
195 #define SRS_PT_TRANSVERSE_MERCATOR_MI_24 \
196  "Transverse_Mercator_MapInfo_24"
197 
198 #define SRS_PT_TRANSVERSE_MERCATOR_MI_25 \
199  "Transverse_Mercator_MapInfo_25"
200 
202 #define SRS_PT_TUNISIA_MINING_GRID \
203  "Tunisia_Mining_Grid"
204 
205 #define SRS_PT_TWO_POINT_EQUIDISTANT \
206  "Two_Point_Equidistant"
207 
208 #define SRS_PT_VANDERGRINTEN "VanDerGrinten"
209 
210 #define SRS_PT_KROVAK "Krovak"
211 
212 #define SRS_PT_IMW_POLYCONIC "International_Map_of_the_World_Polyconic"
213 
214 #define SRS_PT_WAGNER_I "Wagner_I"
215 
216 #define SRS_PT_WAGNER_II "Wagner_II"
217 
218 #define SRS_PT_WAGNER_III "Wagner_III"
219 
220 #define SRS_PT_WAGNER_IV "Wagner_IV"
221 
222 #define SRS_PT_WAGNER_V "Wagner_V"
223 
224 #define SRS_PT_WAGNER_VI "Wagner_VI"
225 
226 #define SRS_PT_WAGNER_VII "Wagner_VII"
227 
228 #define SRS_PT_QSC "Quadrilateralized_Spherical_Cube"
229 
230 #define SRS_PT_AITOFF "Aitoff"
231 
232 #define SRS_PT_WINKEL_I "Winkel_I"
233 
234 #define SRS_PT_WINKEL_II "Winkel_II"
235 
236 #define SRS_PT_WINKEL_TRIPEL "Winkel_Tripel"
237 
238 #define SRS_PT_CRASTER_PARABOLIC "Craster_Parabolic"
239 
240 #define SRS_PT_LOXIMUTHAL "Loximuthal"
241 
242 #define SRS_PT_QUARTIC_AUTHALIC "Quartic_Authalic"
243 
244 #define SRS_PT_SCH "Spherical_Cross_Track_Height"
245 
247 #define SRS_PP_CENTRAL_MERIDIAN "central_meridian"
248 
249 #define SRS_PP_SCALE_FACTOR "scale_factor"
250 
251 #define SRS_PP_STANDARD_PARALLEL_1 "standard_parallel_1"
252 
253 #define SRS_PP_STANDARD_PARALLEL_2 "standard_parallel_2"
254 
255 #define SRS_PP_PSEUDO_STD_PARALLEL_1 "pseudo_standard_parallel_1"
256 
257 #define SRS_PP_LONGITUDE_OF_CENTER "longitude_of_center"
258 
259 #define SRS_PP_LATITUDE_OF_CENTER "latitude_of_center"
260 
261 #define SRS_PP_LONGITUDE_OF_ORIGIN "longitude_of_origin"
262 
263 #define SRS_PP_LATITUDE_OF_ORIGIN "latitude_of_origin"
264 
265 #define SRS_PP_FALSE_EASTING "false_easting"
266 
267 #define SRS_PP_FALSE_NORTHING "false_northing"
268 
269 #define SRS_PP_AZIMUTH "azimuth"
270 
271 #define SRS_PP_LONGITUDE_OF_POINT_1 "longitude_of_point_1"
272 
273 #define SRS_PP_LATITUDE_OF_POINT_1 "latitude_of_point_1"
274 
275 #define SRS_PP_LONGITUDE_OF_POINT_2 "longitude_of_point_2"
276 
277 #define SRS_PP_LATITUDE_OF_POINT_2 "latitude_of_point_2"
278 
279 #define SRS_PP_LONGITUDE_OF_POINT_3 "longitude_of_point_3"
280 
281 #define SRS_PP_LATITUDE_OF_POINT_3 "latitude_of_point_3"
282 
283 #define SRS_PP_RECTIFIED_GRID_ANGLE "rectified_grid_angle"
284 
285 #define SRS_PP_LANDSAT_NUMBER "landsat_number"
286 
287 #define SRS_PP_PATH_NUMBER "path_number"
288 
289 #define SRS_PP_PERSPECTIVE_POINT_HEIGHT "perspective_point_height"
290 
291 #define SRS_PP_SATELLITE_HEIGHT "satellite_height"
292 
293 #define SRS_PP_FIPSZONE "fipszone"
294 
295 #define SRS_PP_ZONE "zone"
296 
297 #define SRS_PP_LATITUDE_OF_1ST_POINT "Latitude_Of_1st_Point"
298 
299 #define SRS_PP_LONGITUDE_OF_1ST_POINT "Longitude_Of_1st_Point"
300 
301 #define SRS_PP_LATITUDE_OF_2ND_POINT "Latitude_Of_2nd_Point"
302 
303 #define SRS_PP_LONGITUDE_OF_2ND_POINT "Longitude_Of_2nd_Point"
304 
305 #define SRS_PP_PEG_POINT_LATITUDE "peg_point_latitude"
306 
307 #define SRS_PP_PEG_POINT_LONGITUDE "peg_point_longitude"
308 
309 #define SRS_PP_PEG_POINT_HEADING "peg_point_heading"
310 
311 #define SRS_PP_PEG_POINT_HEIGHT "peg_point_height"
312 
314 #define SRS_UL_METER "Meter"
315 
316 #define SRS_UL_FOOT "Foot (International)" /* or just "FOOT"? */
317 
318 #define SRS_UL_FOOT_CONV "0.3048"
319 
320 #define SRS_UL_US_FOOT "Foot_US" /* or "US survey foot" from EPSG */
321 
322 #define SRS_UL_US_FOOT_CONV "0.3048006096012192"
323 
324 #define SRS_UL_NAUTICAL_MILE "Nautical Mile"
325 
326 #define SRS_UL_NAUTICAL_MILE_CONV "1852.0"
327 
328 #define SRS_UL_LINK "Link" /* Based on US Foot */
329 
330 #define SRS_UL_LINK_CONV "0.20116684023368047"
331 
332 #define SRS_UL_CHAIN "Chain" /* based on US Foot */
333 
334 #define SRS_UL_CHAIN_CONV "20.116684023368047"
335 
336 #define SRS_UL_ROD "Rod" /* based on US Foot */
337 
338 #define SRS_UL_ROD_CONV "5.02921005842012"
339 
340 #define SRS_UL_LINK_Clarke "Link_Clarke"
341 
342 #define SRS_UL_LINK_Clarke_CONV "0.2011661949"
343 
345 #define SRS_UL_KILOMETER "Kilometer"
346 
347 #define SRS_UL_KILOMETER_CONV "1000."
348 
349 #define SRS_UL_DECIMETER "Decimeter"
350 
351 #define SRS_UL_DECIMETER_CONV "0.1"
352 
353 #define SRS_UL_CENTIMETER "Centimeter"
354 
355 #define SRS_UL_CENTIMETER_CONV "0.01"
356 
357 #define SRS_UL_MILLIMETER "Millimeter"
358 
359 #define SRS_UL_MILLIMETER_CONV "0.001"
360 
361 #define SRS_UL_INTL_NAUT_MILE "Nautical_Mile_International"
362 
363 #define SRS_UL_INTL_NAUT_MILE_CONV "1852.0"
364 
365 #define SRS_UL_INTL_INCH "Inch_International"
366 
367 #define SRS_UL_INTL_INCH_CONV "0.0254"
368 
369 #define SRS_UL_INTL_FOOT "Foot_International"
370 
371 #define SRS_UL_INTL_FOOT_CONV "0.3048"
372 
373 #define SRS_UL_INTL_YARD "Yard_International"
374 
375 #define SRS_UL_INTL_YARD_CONV "0.9144"
376 
377 #define SRS_UL_INTL_STAT_MILE "Statute_Mile_International"
378 
379 #define SRS_UL_INTL_STAT_MILE_CONV "1609.344"
380 
381 #define SRS_UL_INTL_FATHOM "Fathom_International"
382 
383 #define SRS_UL_INTL_FATHOM_CONV "1.8288"
384 
385 #define SRS_UL_INTL_CHAIN "Chain_International"
386 
387 #define SRS_UL_INTL_CHAIN_CONV "20.1168"
388 
389 #define SRS_UL_INTL_LINK "Link_International"
390 
391 #define SRS_UL_INTL_LINK_CONV "0.201168"
392 
393 #define SRS_UL_US_INCH "Inch_US_Surveyor"
394 
395 #define SRS_UL_US_INCH_CONV "0.025400050800101603"
396 
397 #define SRS_UL_US_YARD "Yard_US_Surveyor"
398 
399 #define SRS_UL_US_YARD_CONV "0.914401828803658"
400 
401 #define SRS_UL_US_CHAIN "Chain_US_Surveyor"
402 
403 #define SRS_UL_US_CHAIN_CONV "20.11684023368047"
404 
405 #define SRS_UL_US_STAT_MILE "Statute_Mile_US_Surveyor"
406 
407 #define SRS_UL_US_STAT_MILE_CONV "1609.347218694437"
408 
409 #define SRS_UL_INDIAN_YARD "Yard_Indian"
410 
411 #define SRS_UL_INDIAN_YARD_CONV "0.91439523"
412 
413 #define SRS_UL_INDIAN_FOOT "Foot_Indian"
414 
415 #define SRS_UL_INDIAN_FOOT_CONV "0.30479841"
416 
417 #define SRS_UL_INDIAN_CHAIN "Chain_Indian"
418 
419 #define SRS_UL_INDIAN_CHAIN_CONV "20.11669506"
420 
422 #define SRS_UA_DEGREE "degree"
423 
424 #define SRS_UA_DEGREE_CONV "0.0174532925199433"
425 
426 #define SRS_UA_RADIAN "radian"
427 
429 #define SRS_PM_GREENWICH "Greenwich"
430 
432 #define SRS_DN_NAD27 "North_American_Datum_1927"
433 
434 #define SRS_DN_NAD83 "North_American_Datum_1983"
435 
436 #define SRS_DN_WGS72 "WGS_1972"
437 
438 #define SRS_DN_WGS84 "WGS_1984"
439 
441 #define SRS_WGS84_SEMIMAJOR 6378137.0
442 
443 #define SRS_WGS84_INVFLATTENING 298.257223563
444 
445 #ifndef SWIG
446 /* -------------------------------------------------------------------- */
447 /* C Wrappers for C++ objects and methods. */
448 /* -------------------------------------------------------------------- */
449 #ifndef DEFINED_OGRSpatialReferenceH
450 
451 #define DEFINED_OGRSpatialReferenceH
452 
454 #ifdef DEBUG
455 typedef struct OGRSpatialReferenceHS *OGRSpatialReferenceH;
456 typedef struct OGRCoordinateTransformationHS *OGRCoordinateTransformationH;
457 #else
458 
459 typedef void *OGRSpatialReferenceH;
462 #endif
463 
464 #endif
465 
466 void CPL_DLL OSRSetPROJSearchPaths( const char* const * papszPaths );
467 char CPL_DLL **OSRGetPROJSearchPaths( void );
468 void CPL_DLL OSRGetPROJVersion( int* pnMajor, int* pnMinor, int* pnPatch );
469 
470 OGRSpatialReferenceH CPL_DLL CPL_STDCALL
471  OSRNewSpatialReference( const char * /* = NULL */);
473 OGRSpatialReferenceH CPL_DLL CPL_STDCALL OSRClone( OGRSpatialReferenceH );
474 void CPL_DLL CPL_STDCALL OSRDestroySpatialReference( OGRSpatialReferenceH );
475 
476 int CPL_DLL OSRReference( OGRSpatialReferenceH );
477 int CPL_DLL OSRDereference( OGRSpatialReferenceH );
478 void CPL_DLL OSRRelease( OGRSpatialReferenceH );
479 
481 
482 OGRErr CPL_DLL CPL_STDCALL OSRImportFromEPSG( OGRSpatialReferenceH, int );
483 OGRErr CPL_DLL CPL_STDCALL OSRImportFromEPSGA( OGRSpatialReferenceH, int );
484 OGRErr CPL_DLL OSRImportFromWkt( OGRSpatialReferenceH, char ** );
485 OGRErr CPL_DLL OSRImportFromProj4( OGRSpatialReferenceH, const char *);
487 OGRErr CPL_DLL OSRImportFromPCI( OGRSpatialReferenceH hSRS, const char *,
488  const char *, double * );
490  long, long, double *, long);
491 OGRErr CPL_DLL OSRImportFromXML( OGRSpatialReferenceH, const char * );
492 OGRErr CPL_DLL OSRImportFromDict( OGRSpatialReferenceH, const char *,
493  const char * );
494 OGRErr CPL_DLL OSRImportFromPanorama( OGRSpatialReferenceH, long, long, long,
495  double * );
496 OGRErr CPL_DLL OSRImportFromOzi( OGRSpatialReferenceH , const char * const *);
497 OGRErr CPL_DLL OSRImportFromMICoordSys( OGRSpatialReferenceH, const char *);
499  const char *, const char *, const char * );
500 OGRErr CPL_DLL OSRImportFromUrl( OGRSpatialReferenceH, const char * );
501 
502 OGRErr CPL_DLL CPL_STDCALL OSRExportToWkt( OGRSpatialReferenceH, char ** );
503 OGRErr CPL_DLL OSRExportToWktEx( OGRSpatialReferenceH, char ** ppszResult,
504  const char* const* papszOptions );
505 OGRErr CPL_DLL CPL_STDCALL OSRExportToPrettyWkt( OGRSpatialReferenceH, char **, int);
506 OGRErr CPL_DLL CPL_STDCALL OSRExportToProj4( OGRSpatialReferenceH, char **);
507 OGRErr CPL_DLL OSRExportToPCI( OGRSpatialReferenceH, char **, char **,
508  double ** );
509 OGRErr CPL_DLL OSRExportToUSGS( OGRSpatialReferenceH, long *, long *,
510  double **, long * );
511 OGRErr CPL_DLL OSRExportToXML( OGRSpatialReferenceH, char **, const char * );
512 OGRErr CPL_DLL OSRExportToPanorama( OGRSpatialReferenceH, long *, long *,
513  long *, long *, double * );
515 OGRErr CPL_DLL OSRExportToERM( OGRSpatialReferenceH, char *, char *, char * );
516 
519 
522  const char* pszTargetProjection,
523  const char* const* papszOptions );
524 
525 const char CPL_DLL* OSRGetName( OGRSpatialReferenceH hSRS );
526 
527 OGRErr CPL_DLL CPL_STDCALL OSRSetAttrValue( OGRSpatialReferenceH hSRS,
528  const char * pszNodePath,
529  const char * pszNewNodeValue );
530 const char CPL_DLL * CPL_STDCALL OSRGetAttrValue( OGRSpatialReferenceH hSRS,
531  const char * pszName, int iChild /* = 0 */ );
532 
533 OGRErr CPL_DLL OSRSetAngularUnits( OGRSpatialReferenceH, const char *, double );
534 double CPL_DLL OSRGetAngularUnits( OGRSpatialReferenceH, char ** );
535 OGRErr CPL_DLL OSRSetLinearUnits( OGRSpatialReferenceH, const char *, double );
536 OGRErr CPL_DLL OSRSetTargetLinearUnits( OGRSpatialReferenceH, const char *, const char *, double );
538  OGRSpatialReferenceH, const char *, double );
539 double CPL_DLL OSRGetLinearUnits( OGRSpatialReferenceH, char ** );
540 double CPL_DLL OSRGetTargetLinearUnits( OGRSpatialReferenceH, const char *, char ** );
541 
542 double CPL_DLL OSRGetPrimeMeridian( OGRSpatialReferenceH, char ** );
543 
545 int CPL_DLL OSRIsLocal( OGRSpatialReferenceH );
546 int CPL_DLL OSRIsProjected( OGRSpatialReferenceH );
547 int CPL_DLL OSRIsCompound( OGRSpatialReferenceH );
549 int CPL_DLL OSRIsVertical( OGRSpatialReferenceH );
554  const char* const *papszOptions );
555 
556 OGRErr CPL_DLL OSRSetLocalCS( OGRSpatialReferenceH hSRS, const char *pszName );
557 OGRErr CPL_DLL OSRSetProjCS( OGRSpatialReferenceH hSRS, const char * pszName );
558 OGRErr CPL_DLL OSRSetGeocCS( OGRSpatialReferenceH hSRS, const char * pszName );
560  const char * pszName );
561 OGRErr CPL_DLL CPL_STDCALL OSRSetFromUserInput( OGRSpatialReferenceH hSRS,
562  const char * );
564  const OGRSpatialReferenceH hSrcSRS );
566  double, double, double,
567  double, double, double, double );
568 OGRErr CPL_DLL OSRGetTOWGS84( OGRSpatialReferenceH hSRS, double *, int );
570 
572  const char *pszName,
573  OGRSpatialReferenceH hHorizSRS,
574  OGRSpatialReferenceH hVertSRS );
576  const char * pszGeogName,
577  const char * pszDatumName,
578  const char * pszEllipsoidName,
579  double dfSemiMajor, double dfInvFlattening,
580  const char * pszPMName /* = NULL */,
581  double dfPMOffset /* = 0.0 */,
582  const char * pszUnits /* = NULL */,
583  double dfConvertToRadians /* = 0.0 */ );
584 
586  const char * pszVertCSName,
587  const char * pszVertDatumName,
588  int nVertDatumType );
589 
590 double CPL_DLL OSRGetSemiMajor( OGRSpatialReferenceH, OGRErr * /* = NULL */ );
591 double CPL_DLL OSRGetSemiMinor( OGRSpatialReferenceH, OGRErr * /* = NULL */ );
592 double CPL_DLL OSRGetInvFlattening( OGRSpatialReferenceH, OGRErr * /*=NULL*/);
593 
595  const char * pszTargetKey,
596  const char * pszAuthority,
597  int nCode );
598 const char CPL_DLL *OSRGetAuthorityCode( OGRSpatialReferenceH hSRS,
599  const char * pszTargetKey );
600 const char CPL_DLL *OSRGetAuthorityName( OGRSpatialReferenceH hSRS,
601  const char * pszTargetKey );
602 
603 int CPL_DLL OSRGetAreaOfUse( OGRSpatialReferenceH hSRS,
604  double* pdfWestLongitudeDeg,
605  double* pdfSouthLatitudeDeg,
606  double* pdfEastLongitudeDeg,
607  double* pdfNorthLatitudeDeg,
608  const char **ppszAreaName );
609 
610 OGRErr CPL_DLL OSRSetProjection( OGRSpatialReferenceH, const char * );
611 OGRErr CPL_DLL OSRSetProjParm( OGRSpatialReferenceH, const char *, double );
612 double CPL_DLL OSRGetProjParm( OGRSpatialReferenceH hSRS,
613  const char * pszParmName,
614  double dfDefault /* = 0.0 */,
615  OGRErr * /* = NULL */ );
616 OGRErr CPL_DLL OSRSetNormProjParm( OGRSpatialReferenceH, const char *, double);
617 double CPL_DLL OSRGetNormProjParm( OGRSpatialReferenceH hSRS,
618  const char * pszParmName,
619  double dfDefault /* = 0.0 */,
620  OGRErr * /* = NULL */ );
621 
622 OGRErr CPL_DLL OSRSetUTM( OGRSpatialReferenceH hSRS, int nZone, int bNorth );
623 int CPL_DLL OSRGetUTMZone( OGRSpatialReferenceH hSRS, int *pbNorth );
625  int nZone, int bNAD83 );
627  int nZone, int bNAD83,
628  const char *pszOverrideUnitName,
629  double dfOverrideUnit );
631 
633  char** papszOptions,
634  int* pnEntries,
635  int** ppanMatchConfidence );
636 void CPL_DLL OSRFreeSRSArray(OGRSpatialReferenceH* pahSRS);
637 
638 int CPL_DLL OSREPSGTreatsAsLatLong( OGRSpatialReferenceH hSRS );
640 const char CPL_DLL *OSRGetAxis( OGRSpatialReferenceH hSRS,
641  const char *pszTargetKey, int iAxis,
642  OGRAxisOrientation *peOrientation );
644  const char *pszTargetKey,
645  const char *pszXAxisName,
646  OGRAxisOrientation eXAxisOrientation,
647  const char *pszYAxisName,
648  OGRAxisOrientation eYAxisOrientation );
649 
651 typedef enum
652 {
657 
659 
661  OSRAxisMappingStrategy strategy );
662 
663 const int CPL_DLL *OSRGetDataAxisToSRSAxisMapping( OGRSpatialReferenceH hSRS, int* pnCount );
664 
666 OGRErr CPL_DLL OSRSetACEA( OGRSpatialReferenceH hSRS, double dfStdP1, double dfStdP2,
667  double dfCenterLat, double dfCenterLong,
668  double dfFalseEasting, double dfFalseNorthing );
669 
671 OGRErr CPL_DLL OSRSetAE( OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong,
672  double dfFalseEasting, double dfFalseNorthing );
673 
676  double dfStandardParallel, double dfCentralMeridian,
677  double dfFalseEasting, double dfFalseNorthing );
678 
680 OGRErr CPL_DLL OSRSetCEA( OGRSpatialReferenceH hSRS, double dfStdP1, double dfCentralMeridian,
681  double dfFalseEasting, double dfFalseNorthing );
682 
684 OGRErr CPL_DLL OSRSetCS( OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong,
685  double dfFalseEasting, double dfFalseNorthing );
686 
688 OGRErr CPL_DLL OSRSetEC( OGRSpatialReferenceH hSRS, double dfStdP1, double dfStdP2,
689  double dfCenterLat, double dfCenterLong,
690  double dfFalseEasting, double dfFalseNorthing );
691 
693 OGRErr CPL_DLL OSRSetEckert( OGRSpatialReferenceH hSRS, int nVariation,
694  double dfCentralMeridian,
695  double dfFalseEasting, double dfFalseNorthing );
696 
698 OGRErr CPL_DLL OSRSetEckertIV( OGRSpatialReferenceH hSRS, double dfCentralMeridian,
699  double dfFalseEasting, double dfFalseNorthing );
700 
702 OGRErr CPL_DLL OSRSetEckertVI( OGRSpatialReferenceH hSRS, double dfCentralMeridian,
703  double dfFalseEasting, double dfFalseNorthing );
704 
707  double dfCenterLat, double dfCenterLong,
708  double dfFalseEasting, double dfFalseNorthing );
709 
712  double dfCenterLat, double dfCenterLong,
713  double dfPseudoStdParallel1,
714  double dfFalseEasting,
715  double dfFalseNorthing );
716 
718 OGRErr CPL_DLL OSRSetGS( OGRSpatialReferenceH hSRS, double dfCentralMeridian,
719  double dfFalseEasting, double dfFalseNorthing );
720 
722 OGRErr CPL_DLL OSRSetGH( OGRSpatialReferenceH hSRS, double dfCentralMeridian,
723  double dfFalseEasting, double dfFalseNorthing );
724 
726 OGRErr CPL_DLL OSRSetIGH( OGRSpatialReferenceH hSRS );
727 
730  double dfCentralMeridian, double dfSatelliteHeight,
731  double dfFalseEasting, double dfFalseNorthing );
732 
735  double dfCenterLat, double dfCenterLong,
736  double dfScale,
737  double dfFalseEasting,
738  double dfFalseNorthing );
741  double dfCenterLat, double dfCenterLong,
742  double dfFalseEasting, double dfFalseNorthing );
743 
744 #ifdef undef
745 
746 OGRErr CPL_DLL OSRSetOM( OGRSpatialReferenceH hSRS,
747  double dfCenterLat, double dfCenterLong,
748  double dfAzimuth, double dfRectToSkew,
749  double dfScale,
750  double dfFalseEasting, double dfFalseNorthing );
751 #endif
752 
755  double dfCenterLat, double dfCenterLong,
756  double dfAzimuth, double dfRectToSkew,
757  double dfScale,
758  double dfFalseEasting, double dfFalseNorthing );
759 
761  double dfCenterLat, double dfCenterLong,
762  double dfAzimuth, double dfRectToSkew,
763  double dfScale,
764  double dfFalseEasting,
765  double dfFalseNorthing );
766 
768 OGRErr CPL_DLL OSRSetHOM2PNO( OGRSpatialReferenceH hSRS, double dfCenterLat,
769  double dfLat1, double dfLong1,
770  double dfLat2, double dfLong2,
771  double dfScale,
772  double dfFalseEasting, double dfFalseNorthing );
773 
776  double dfLat1, double dfLat2,
777  double dfCenterLong,
778  double dfFalseEasting,
779  double dfFalseNorthing );
780 
783  double dfCenterLat, double dfCenterLong,
784  double dfAzimuth, double dfPseudoStdParallelLat,
785  double dfScale,
786  double dfFalseEasting, double dfFalseNorthing );
787 
790  double dfCenterLat, double dfCenterLong,
791  double dfFalseEasting, double dfFalseNorthing );
792 
795  double dfStdP1, double dfStdP2,
796  double dfCenterLat, double dfCenterLong,
797  double dfFalseEasting, double dfFalseNorthing );
798 
801  double dfCenterLat, double dfCenterLong,
802  double dfScale,
803  double dfFalseEasting, double dfFalseNorthing );
804 
807  double dfStdP1, double dfStdP2,
808  double dfCenterLat, double dfCenterLong,
809  double dfFalseEasting, double dfFalseNorthing );
810 
812 OGRErr CPL_DLL OSRSetMC( OGRSpatialReferenceH hSRS,
813  double dfCenterLat, double dfCenterLong,
814  double dfFalseEasting, double dfFalseNorthing );
815 
818  double dfCenterLat, double dfCenterLong,
819  double dfScale,
820  double dfFalseEasting, double dfFalseNorthing );
821 
824  double dfStdP1,
825  double dfCenterLat, double dfCenterLong,
826  double dfFalseEasting, double dfFalseNorthing );
827 
830  double dfCentralMeridian,
831  double dfFalseEasting,
832  double dfFalseNorthing );
833 
836  double dfCenterLat, double dfCenterLong,
837  double dfFalseEasting, double dfFalseNorthing );
838 
840 OGRErr CPL_DLL OSRSetOS( OGRSpatialReferenceH hSRS,
841  double dfOriginLat, double dfCMeridian,
842  double dfScale,
843  double dfFalseEasting,double dfFalseNorthing);
844 
847  double dfCenterLat, double dfCenterLong,
848  double dfFalseEasting,
849  double dfFalseNorthing);
850 
853  double dfCenterLat, double dfCenterLong,
854  double dfFalseEasting, double dfFalseNorthing );
855 
857 OGRErr CPL_DLL OSRSetPS( OGRSpatialReferenceH hSRS,
858  double dfCenterLat, double dfCenterLong,
859  double dfScale,
860  double dfFalseEasting, double dfFalseNorthing);
861 
864  double dfCenterLong,
865  double dfFalseEasting, double dfFalseNorthing );
866 
869  double dfCenterLong,
870  double dfFalseEasting,
871  double dfFalseNorthing );
872 
875  double dfCenterLat, double dfCenterLong,
876  double dfScale,
877  double dfFalseEasting,
878  double dfFalseNorthing);
879 
882  double dfLatitudeOfOrigin, double dfCentralMeridian,
883  double dfFalseEasting, double dfFalseNorthing );
884 
891 OGRErr CPL_DLL OSRSetTM( OGRSpatialReferenceH hSRS,
892  double dfCenterLat, double dfCenterLong,
893  double dfScale,
894  double dfFalseEasting, double dfFalseNorthing );
895 
897 OGRErr CPL_DLL OSRSetTMVariant(
898  OGRSpatialReferenceH hSRS, const char *pszVariantName,
899  double dfCenterLat, double dfCenterLong,
900  double dfScale,
901  double dfFalseEasting, double dfFalseNorthing );
902 
905  double dfCenterLat, double dfCenterLong,
906  double dfFalseEasting, double dfFalseNorthing );
907 
910  double dfCenterLat, double dfCenterLong,
911  double dfScale,
912  double dfFalseEasting, double dfFalseNorthing );
913 
916  double dfLat1, double dfLong1,
917  double dfLat2, double dfLong2,
918  double dfFalseEasting, double dfFalseNorthing );
919 
922  double dfCenterLong,
923  double dfFalseEasting, double dfFalseNorthing );
924 
926 OGRErr CPL_DLL OSRSetWagner( OGRSpatialReferenceH hSRS, int nVariation,
927  double dfCenterLat,
928  double dfFalseEasting,
929  double dfFalseNorthing );
930 
933  double dfCenterLat, double dfCenterLong );
934 
937  double dfPegLat, double dfPegLong,
938  double dfPegHeading, double dfPegHgt);
939 
940 double CPL_DLL OSRCalcInvFlattening( double dfSemiMajor, double dfSemiMinor );
941 double CPL_DLL OSRCalcSemiMinorFromInvFlattening( double dfSemiMajor, double dfInvFlattening );
942 
943 void CPL_DLL OSRCleanup( void );
944 
946 typedef enum
947 {
962 } OSRCRSType;
963 
969 typedef struct
970 {
972  char* pszAuthName;
974  char* pszCode;
976  char* pszName;
993  char* pszAreaName;
997 } OSRCRSInfo;
998 
1004 
1005 OSRCRSInfo CPL_DLL **OSRGetCRSInfoListFromDatabase(
1006  const char *pszAuthName,
1007  const OSRCRSListParameters* params,
1008  int *pnOutResultCount);
1009 
1010 void CPL_DLL OSRDestroyCRSInfoList(OSRCRSInfo** list);
1011 
1012 
1013 /* -------------------------------------------------------------------- */
1014 /* OGRCoordinateTransform C API. */
1015 /* -------------------------------------------------------------------- */
1016 OGRCoordinateTransformationH CPL_DLL CPL_STDCALL
1018  OGRSpatialReferenceH hTargetSRS );
1019 
1022 
1024 
1027  const char* pszCO, int bReverseCO);
1028 
1031  double dfWestLongitudeDeg,
1032  double dfSouthLatitudeDeg,
1033  double dfEastLongitudeDeg,
1034  double dfNorthLatitudeDeg);
1035 
1037 
1040  OGRSpatialReferenceH hTargetSRS,
1042 
1043 void CPL_DLL CPL_STDCALL
1045 
1046 int CPL_DLL CPL_STDCALL
1048  int nCount, double *x, double *y, double *z );
1049 
1050 int CPL_DLL CPL_STDCALL
1052  int nCount, double *x, double *y, double *z,
1053  int *pabSuccess );
1054 
1055 int CPL_DLL
1057  int nCount, double *x, double *y, double *z, double *t,
1058  int *pabSuccess );
1059 
1060 CPL_C_END
1061 
1062 #endif /* ndef SWIG */
1063 
1064 #endif /* ndef OGR_SRS_API_H_INCLUDED */
double OSRGetNormProjParm(OGRSpatialReferenceH hSRS, const char *pszParmName, double dfDefault, OGRErr *)
This function is the same as OGRSpatialReference::
Definition: ogrspatialreference.cpp:4986
OSRAxisMappingStrategy OSRGetAxisMappingStrategy(OGRSpatialReferenceH hSRS)
Retun the data axis to CRS axis mapping strategy.
Definition: ogrspatialreference.cpp:10619
OGRErr OSRSetMercator2SP(OGRSpatialReferenceH hSRS, double dfStdP1, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:6510
int OSRGetAreaOfUse(OGRSpatialReferenceH hSRS, double *pdfWestLongitudeDeg, double *pdfSouthLatitudeDeg, double *pdfEastLongitudeDeg, double *pdfNorthLatitudeDeg, const char **ppszAreaName)
Return the area of use of the CRS.
Definition: ogrspatialreference.cpp:10782
OGRErr OSRSetEquirectangular2(OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfPseudoStdParallel1, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5697
const char *CPL_STDCALL OSRGetAttrValue(OGRSpatialReferenceH hSRS, const char *pszName, int iChild)
Fetch indicated attribute of named node.
Definition: ogrspatialreference.cpp:1122
OGRErr OSRSetIWMPolyconic(OGRSpatialReferenceH hSRS, double dfLat1, double dfLat2, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:6164
OGRErr OSRSetLocalCS(OGRSpatialReferenceH hSRS, const char *pszName)
Set the user visible LOCAL_CS name.
Definition: ogrspatialreference.cpp:4335
OGRErr OSRMorphFromESRI(OGRSpatialReferenceH)
Convert in place from ESRI WKT format.
Definition: ogrspatialreference.cpp:9919
Definition: ogr_srs_api.h:949
int OSRIsCompound(OGRSpatialReferenceH)
Check if the coordinate system is compound.
Definition: ogrspatialreference.cpp:7620
const char * OSRGetName(OGRSpatialReferenceH hSRS)
Return the CRS name.
Definition: ogrspatialreference.cpp:1166
Definition: ogr_srs_api.h:955
OGRErr OSRSetUTM(OGRSpatialReferenceH hSRS, int nZone, int bNorth)
Set UTM projection definition.
Definition: ogrspatialreference.cpp:6995
OGRErr OSRAddGuessedTOWGS84(OGRSpatialReferenceH hSRS)
Try to add a a 3-parameter or 7-parameter Helmert transformation to WGS84.
Definition: ogrspatialreference.cpp:10170
int OCTTransform4D(OGRCoordinateTransformationH hCT, int nCount, double *x, double *y, double *z, double *t, int *pabSuccess)
Definition: ogrct.cpp:2061
#define CPL_C_START
Definition: cpl_port.h:337
Definition: ogr_srs_api.h:957
OGRErr OSRSetNZMG(OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:6578
void OSRDestroyCRSInfoList(OSRCRSInfo **list)
Destroy the result returned by OSRGetCRSInfoListFromDatabase().
Definition: ogrspatialreference.cpp:10886
const int * OSRGetDataAxisToSRSAxisMapping(OGRSpatialReferenceH hSRS, int *pnCount)
Return the data axis to SRS axis mapping.
Definition: ogrspatialreference.cpp:10687
int OCTCoordinateTransformationOptionsSetAreaOfInterest(OGRCoordinateTransformationOptionsH hOptions, double dfWestLongitudeDeg, double dfSouthLatitudeDeg, double dfEastLongitudeDeg, double dfNorthLatitudeDeg)
Sets an area of interest.
Definition: ogrct.cpp:192
OGRCoordinateTransformationOptionsH OCTNewCoordinateTransformationOptions(void)
Create coordinate transformation options.
Definition: ogrct.cpp:108
OGRErr OSRSetMercator(OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfScale, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:6459
Definition: ogr_srs_api.h:959
OGRSpatialReferenceH OSRConvertToOtherProjection(OGRSpatialReferenceH hSRS, const char *pszTargetProjection, const char *const *papszOptions)
Convert to another equivalent projection.
Definition: ogrspatialreference.cpp:8395
struct OGRCoordinateTransformationOptions * OGRCoordinateTransformationOptionsH
Definition: ogr_srs_api.h:1021
OGRErr OSRSetOrthographic(OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:6647
OGRErr OSRSetTPED(OGRSpatialReferenceH hSRS, double dfLat1, double dfLong1, double dfLat2, double dfLong2, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5215
int bBboxValid
Definition: ogr_srs_api.h:983
OGRErr OSRSetTMG(OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5248
OGRErr OSRSetLinearUnits(OGRSpatialReferenceH, const char *, double)
Set the linear units for the projection.
Definition: ogrspatialreference.cpp:2271
int OSRIsLocal(OGRSpatialReferenceH)
Check if local coordinate system.
Definition: ogrspatialreference.cpp:7838
Definition: ogr_srs_api.h:51
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:6091
OGRCoordinateTransformationH OCTNewCoordinateTransformationEx(OGRSpatialReferenceH hSourceSRS, OGRSpatialReferenceH hTargetSRS, OGRCoordinateTransformationOptionsH hOptions)
Definition: ogrct.cpp:620
int OSRReference(OGRSpatialReferenceH)
Increments the reference count by one.
Definition: ogrspatialreference.cpp:859
OGRErr OSRSetGaussSchreiberTMercator(OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfScale, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5865
OSRAxisMappingStrategy
Definition: ogr_srs_api.h:651
OGRErr OSRSetProjCS(OGRSpatialReferenceH hSRS, const char *pszName)
Set the user visible PROJCS name.
Definition: ogrspatialreference.cpp:4647
OGRErr OSRImportFromPanorama(OGRSpatialReferenceH, long, long, long, double *)
Definition: ogr_srs_panorama.cpp:160
OGRErr OSRAutoIdentifyEPSG(OGRSpatialReferenceH hSRS)
Set EPSG authority info if possible.
Definition: ogr_fromepsg.cpp:514
OGRErr CPL_STDCALL OSRExportToWkt(OGRSpatialReferenceH, char **)
Convert this SRS into WKT 1 format.
Definition: ogrspatialreference.cpp:1541
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:5963
void * OGRSpatialReferenceH
Definition: ogr_srs_api.h:459
double OSRGetTargetLinearUnits(OGRSpatialReferenceH, const char *, char **)
Fetch linear projection units.
Definition: ogrspatialreference.cpp:2665
OGRErr OSRSetLAEA(OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:6273
OGRSpatialReferenceH CPL_STDCALL OSRClone(OGRSpatialReferenceH)
Make a duplicate of this OGRSpatialReference.
Definition: ogrspatialreference.cpp:1213
const char * OSRGetAxis(OGRSpatialReferenceH hSRS, const char *pszTargetKey, int iAxis, OGRAxisOrientation *peOrientation)
Fetch the orientation of one axis.
Definition: ogrspatialreference.cpp:9210
Definition: ogr_srs_api.h:53
Definition: ogr_srs_api.h:953
OGRErr OSRSetVDG(OGRSpatialReferenceH hSRS, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:6939
OGRErr OSRSetProjection(OGRSpatialReferenceH, const char *)
Set a projection name.
Definition: ogrspatialreference.cpp:4705
const char * OSRGetAuthorityName(OGRSpatialReferenceH hSRS, const char *pszTargetKey)
Get the authority name for a node.
Definition: ogrspatialreference.cpp:7516
OGRErr OSRSetLinearUnitsAndUpdateParameters(OGRSpatialReferenceH, const char *, double)
Set the linear units for the projection.
Definition: ogrspatialreference.cpp:2220
OGRErr OSRSetGnomonic(OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5901
OGRErr OSRSetGEOS(OGRSpatialReferenceH hSRS, double dfCentralMeridian, double dfSatelliteHeight, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5828
OGRErr OSRImportFromProj4(OGRSpatialReferenceH, const char *)
Import PROJ coordinate string.
Definition: ogrspatialreference.cpp:9568
void OSRSetPROJSearchPaths(const char *const *papszPaths)
Set the search path(s) for PROJ resource files.
Definition: ogr_proj_p.cpp:247
OGRErr OSRSetEquirectangular(OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5647
OGRErr OSRSetAuthority(OGRSpatialReferenceH hSRS, const char *pszTargetKey, const char *pszAuthority, int nCode)
Set the authority for a node.
Definition: ogrspatialreference.cpp:7344
OGRErr OSRSetTMSO(OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfScale, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5179
OGRErr OSRSetEckertIV(OGRSpatialReferenceH hSRS, double dfCentralMeridian, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5569
OGRErr OSRSetMC(OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:6416
OGRErr CPL_STDCALL OSRSetAttrValue(OGRSpatialReferenceH hSRS, const char *pszNodePath, const char *pszNewNodeValue)
Set attribute value in spatial reference.
Definition: ogrspatialreference.cpp:1907
OGRErr OSRExportToPCI(OGRSpatialReferenceH, char **, char **, double **)
Export coordinate system in PCI projection definition.
Definition: ogr_srs_pci.cpp:729
OGRErr OSRSetAngularUnits(OGRSpatialReferenceH, const char *, double)
Set the angular units for the geographic coordinate system.
Definition: ogrspatialreference.cpp:2009
OGRErr OSRImportFromPCI(OGRSpatialReferenceH hSRS, const char *, const char *, double *)
Import coordinate system from PCI projection definition.
Definition: ogr_srs_pci.cpp:147
OGRErr OSRGetTOWGS84(OGRSpatialReferenceH hSRS, double *, int)
Fetch TOWGS84 parameters, if available.
Definition: ogrspatialreference.cpp:8720
Definition: ogr_srs_api.h:961
double OSRGetSemiMinor(OGRSpatialReferenceH, OGRErr *)
Get spheroid semi minor axis.
Definition: ogrspatialreference.cpp:4280
void OSRCleanup(void)
Cleanup cached SRS related memory.
Definition: ogrspatialreference.cpp:8943
double OSRGetLinearUnits(OGRSpatialReferenceH, char **)
Fetch linear projection units.
Definition: ogrspatialreference.cpp:2470
Definition: ogr_srs_api.h:951
void CPL_STDCALL OCTDestroyCoordinateTransformation(OGRCoordinateTransformationH)
OGRCoordinateTransformation destructor.
Definition: ogrct.cpp:407
OGRErr OSRSetKrovak(OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfAzimuth, double dfPseudoStdParallelLat, double dfScale, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:6207
Definition: ogr_srs_api.h:55
char * pszAuthName
Definition: ogr_srs_api.h:972
OGRErr OSRSetCompoundCS(OGRSpatialReferenceH hSRS, const char *pszName, OGRSpatialReferenceH hHorizSRS, OGRSpatialReferenceH hVertSRS)
Setup a compound coordinate system.
Definition: ogrspatialreference.cpp:4579
OGRErr OSRSetEckert(OGRSpatialReferenceH hSRS, int nVariation, double dfCentralMeridian, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5537
void * OGRCoordinateTransformationH
Definition: ogr_api.h:76
OGRSpatialReferenceH CPL_STDCALL OSRCloneGeogCS(OGRSpatialReferenceH)
Make a duplicate of the GEOGCS node of this OGRSpatialReference object.
Definition: ogrspatialreference.cpp:7986
double OSRCalcSemiMinorFromInvFlattening(double dfSemiMajor, double dfInvFlattening)
Compute semi-minor axis from semi-major axis and inverse flattening.
Definition: ogrspatialreference.cpp:9502
OGRErr OSRSetTM(OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfScale, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5076
OGRErr OSRSetSOC(OGRSpatialReferenceH hSRS, double dfLatitudeOfOrigin, double dfCentralMeridian, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:6906
double dfEastLongitudeDeg
Definition: ogr_srs_api.h:989
OGRErr OSRImportFromDict(OGRSpatialReferenceH, const char *, const char *)
Definition: ogr_srs_dict.cpp:175
struct OSRCRSListParameters OSRCRSListParameters
Structure to describe optional parameters to OSRGetCRSInfoListFromDatabase()
Definition: ogr_srs_api.h:1003
int OSRDereference(OGRSpatialReferenceH)
Decrements the reference count by one.
Definition: ogrspatialreference.cpp:899
int OSRIsGeocentric(OGRSpatialReferenceH)
Check if geocentric coordinate system.
Definition: ogrspatialreference.cpp:7724
Definition: ogr_srs_api.h:54
char ** OSRGetPROJSearchPaths(void)
Get the search path(s) for PROJ resource files.
Definition: ogr_proj_p.cpp:263
Definition: ogr_srs_api.h:50
double dfWestLongitudeDeg
Definition: ogr_srs_api.h:985
double dfSouthLatitudeDeg
Definition: ogr_srs_api.h:987
int OSRIsSame(OGRSpatialReferenceH, OGRSpatialReferenceH)
Do these two spatial references describe the same system ?
Definition: ogrspatialreference.cpp:8243
OGRErr OSRSetTOWGS84(OGRSpatialReferenceH hSRS, double, double, double, double, double, double, double)
Set the Bursa-Wolf conversion to WGS84.
Definition: ogrspatialreference.cpp:8663
OGRErr OSRExportToWktEx(OGRSpatialReferenceH, char **ppszResult, const char *const *papszOptions)
Convert this SRS into WKT format.
Definition: ogrspatialreference.cpp:1564
Definition: ogr_srs_api.h:655
char * pszProjectionMethod
Definition: ogr_srs_api.h:996
OGRErr CPL_STDCALL OSRImportFromEPSGA(OGRSpatialReferenceH, int)
Initialize SRS based on EPSG geographic, projected or vertical CRS code.
Definition: ogrspatialreference.cpp:10188
void * OGRSpatialReferenceH
Definition: ogr_api.h:74
OGRErr OSRSetPolyconic(OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:6682
int CPL_STDCALL OCTTransformEx(OGRCoordinateTransformationH hCT, int nCount, double *x, double *y, double *z, int *pabSuccess)
Definition: ogrct.cpp:2034
void OCTDestroyCoordinateTransformationOptions(OGRCoordinateTransformationOptionsH)
Destroy coordinate transformation options.
Definition: ogrct.cpp:121
OGRErr OSRSetPS(OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfScale, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:6752
OGRErr OSRSetMollweide(OGRSpatialReferenceH hSRS, double dfCentralMeridian, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:6545
OGRErr OSRSetGeocCS(OGRSpatialReferenceH hSRS, const char *pszName)
Set the user visible PROJCS name.
Definition: ogrspatialreference.cpp:4421
const char * OSRAxisEnumToName(OGRAxisOrientation eOrientation)
Return the string representation for the OGRAxisOrientation enumeration.
Definition: ogrspatialreference.cpp:9232
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:8450
OGRSpatialReferenceH CPL_STDCALL OSRNewSpatialReference(const char *)
Constructor.
Definition: ogrspatialreference.cpp:689
void CPL_STDCALL OSRDestroySpatialReference(OGRSpatialReferenceH)
OGRSpatialReference destructor.
Definition: ogrspatialreference.cpp:773
OGRErr OSRExportToUSGS(OGRSpatialReferenceH, long *, long *, double **, long *)
Export coordinate system in USGS GCTP projection definition.
Definition: ogr_srs_usgs.cpp:798
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:6027
OGRErr OSRSetIGH(OGRSpatialReferenceH hSRS)
Definition: ogrspatialreference.cpp:5798
double OSRGetAngularUnits(OGRSpatialReferenceH, char **)
Fetch angular geographic coordinate system units.
Definition: ogrspatialreference.cpp:2144
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:2908
OGRErr OSRSetWagner(OGRSpatialReferenceH hSRS, int nVariation, double dfCenterLat, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:7155
int CPL_STDCALL OCTTransform(OGRCoordinateTransformationH hCT, int nCount, double *x, double *y, double *z)
Definition: ogrct.cpp:1453
double OSRCalcInvFlattening(double dfSemiMajor, double dfSemiMinor)
Compute inverse flattening from semi-major and semi-minor axis.
Definition: ogrspatialreference.cpp:9474
OGRErr OSRSetACEA(OGRSpatialReferenceH hSRS, double dfStdP1, double dfStdP2, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5285
OGRErr OSRValidate(OGRSpatialReferenceH)
Validate SRS tokens.
Definition: ogrspatialreference.cpp:1783
OGRAxisOrientation
Definition: ogr_srs_api.h:48
OGRErr OSRSetLCCB(OGRSpatialReferenceH hSRS, double dfStdP1, double dfStdP2, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:6379
OGRErr OSRExportToXML(OGRSpatialReferenceH, char **, const char *)
Export coordinate system in XML format.
Definition: ogr_srs_xml.cpp:746
int OSRIsSameVertCS(OGRSpatialReferenceH, OGRSpatialReferenceH)
Do the VertCS&#39;es match?
Definition: ogrspatialreference.cpp:8135
OGRErr OSRImportFromOzi(OGRSpatialReferenceH, const char *const *)
Definition: ogr_srs_ozi.cpp:68
Definition: ogr_srs_api.h:653
int OSRIsGeographic(OGRSpatialReferenceH)
Check if geographic coordinate system.
Definition: ogrspatialreference.cpp:7802
char * pszName
Definition: ogr_srs_api.h:976
char * pszAreaName
Definition: ogr_srs_api.h:993
double OSRGetProjParm(OGRSpatialReferenceH hSRS, const char *pszParmName, double dfDefault, OGRErr *)
Fetch a projection parameter value.
Definition: ogrspatialreference.cpp:4919
OGRErr OSRExportToERM(OGRSpatialReferenceH, char *, char *, char *)
Convert coordinate system to ERMapper format.
Definition: ogr_srs_erm.cpp:163
OGRErr OSRSetBonne(OGRSpatialReferenceH hSRS, double dfStandardParallel, double dfCentralMeridian, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5353
OGRErr OSRExportToMICoordSys(OGRSpatialReferenceH, char **)
Export coordinate system in Mapinfo style CoordSys format.
Definition: ogrspatialreference.cpp:9358
OGRErr OSRSetQSC(OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong)
Definition: ogrspatialreference.cpp:7185
OGRCoordinateTransformationH CPL_STDCALL OCTNewCoordinateTransformation(OGRSpatialReferenceH hSourceSRS, OGRSpatialReferenceH hTargetSRS)
Definition: ogrct.cpp:570
OGRErr OSRImportFromESRI(OGRSpatialReferenceH, char **)
Import coordinate system from ESRI .prj format(s).
Definition: ogr_srs_esri.cpp:238
OSRCRSType
Type of Coordinate Reference System (CRS).
Definition: ogr_srs_api.h:946
const char * OSRGetAuthorityCode(OGRSpatialReferenceH hSRS, const char *pszTargetKey)
Get the authority code for a node.
Definition: ogrspatialreference.cpp:7432
Definition: ogr_srs_api.h:654
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:9329
OGRErr OSRImportFromERM(OGRSpatialReferenceH, const char *, const char *, const char *)
Create OGR WKT from ERMapper projection definitions.
Definition: ogr_srs_erm.cpp:55
int OCTCoordinateTransformationOptionsSetOperation(OGRCoordinateTransformationOptionsH hOptions, const char *pszCO, int bReverseCO)
Sets a coordinate operation.
Definition: ogrct.cpp:266
int OSRGetUTMZone(OGRSpatialReferenceH hSRS, int *pbNorth)
Get utm zone information.
Definition: ogrspatialreference.cpp:7073
OGRErr OSRCopyGeogCSFrom(OGRSpatialReferenceH hSRS, const OGRSpatialReferenceH hSrcSRS)
Copy GEOGCS from another OGRSpatialReference.
Definition: ogrspatialreference.cpp:3164
OGRErr OSRExportToPanorama(OGRSpatialReferenceH, long *, long *, long *, long *, double *)
Definition: ogr_srs_panorama.cpp:502
int OSREPSGTreatsAsLatLong(OGRSpatialReferenceH hSRS)
This function returns TRUE if EPSG feels this geographic coordinate system should be treated as havin...
Definition: ogrspatialreference.cpp:10318
OGRErr OSRSetNormProjParm(OGRSpatialReferenceH, const char *, double)
Set a projection parameter with a normalized value.
Definition: ogrspatialreference.cpp:5046
double OSRGetPrimeMeridian(OGRSpatialReferenceH, char **)
Fetch prime meridian info.
Definition: ogrspatialreference.cpp:2780
double dfNorthLatitudeDeg
Definition: ogr_srs_api.h:991
OGRErr CPL_STDCALL OSRExportToProj4(OGRSpatialReferenceH, char **)
Export coordinate system in PROJ format.
Definition: ogrspatialreference.cpp:9708
OGRErr OSRSetWellKnownGeogCS(OGRSpatialReferenceH hSRS, const char *pszName)
Set a GeogCS based on well known name.
Definition: ogrspatialreference.cpp:3056
OGRErr OSRSetGH(OGRSpatialReferenceH hSRS, double dfCentralMeridian, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5767
OGRErr OSRSetSCH(OGRSpatialReferenceH hSRS, double dfPegLat, double dfPegLong, double dfPegHeading, double dfPegHgt)
Definition: ogrspatialreference.cpp:7215
OGRErr OSRSetVertCS(OGRSpatialReferenceH hSRS, const char *pszVertCSName, const char *pszVertDatumName, int nVertDatumType)
Setup the vertical coordinate system.
Definition: ogrspatialreference.cpp:4499
int OSRIsSameGeogCS(OGRSpatialReferenceH, OGRSpatialReferenceH)
Do the GeogCS&#39;es match?
Definition: ogrspatialreference.cpp:8072
OGRErr CPL_STDCALL OSRImportFromEPSG(OGRSpatialReferenceH, int)
Initialize SRS based on EPSG geographic, projected or vertical CRS code.
Definition: ogrspatialreference.cpp:10236
int OSREPSGTreatsAsNorthingEasting(OGRSpatialReferenceH hSRS)
This function returns TRUE if EPSG feels this geographic coordinate system should be treated as havin...
Definition: ogrspatialreference.cpp:10435
OGRErr OSRSetTargetLinearUnits(OGRSpatialReferenceH, const char *, const char *, double)
Set the linear units for the target node.
Definition: ogrspatialreference.cpp:2396
int OSRIsVertical(OGRSpatialReferenceH)
Check if vertical coordinate system.
Definition: ogrspatialreference.cpp:7903
#define CPL_C_END
Definition: cpl_port.h:339
OGRErr OSRSetStatePlaneWithUnits(OGRSpatialReferenceH hSRS, int nZone, int bNAD83, const char *pszOverrideUnitName, double dfOverrideUnit)
Set State Plane projection definition.
Definition: ogr_fromepsg.cpp:275
OGRErr OSRSetEC(OGRSpatialReferenceH hSRS, double dfStdP1, double dfStdP2, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5454
OGRErr OSRSetSinusoidal(OGRSpatialReferenceH hSRS, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:6820
Definition: ogr_srs_api.h:52
OGRErr OSRSetEckertVI(OGRSpatialReferenceH hSRS, double dfCentralMeridian, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5600
OGRErr CPL_STDCALL OSRSetFromUserInput(OGRSpatialReferenceH hSRS, const char *)
Set spatial reference from various text formats.
Definition: ogrspatialreference.cpp:3439
void OSRRelease(OGRSpatialReferenceH)
Decrements the reference count by one, and destroy if zero.
Definition: ogrspatialreference.cpp:947
OGRErr CPL_STDCALL OSRExportToPrettyWkt(OGRSpatialReferenceH, char **, int)
Convert this SRS into a nicely formatted WKT 1 string for display to a person.
Definition: ogrspatialreference.cpp:1294
char * pszCode
Definition: ogr_srs_api.h:974
OGRErr OSRSetRobinson(OGRSpatialReferenceH hSRS, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:6787
int OSRIsSameEx(OGRSpatialReferenceH, OGRSpatialReferenceH, const char *const *papszOptions)
Do these two spatial references describe the same system ?
Definition: ogrspatialreference.cpp:8262
OGRErr OSRSetAE(OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5320
OGRErr OSRImportFromUrl(OGRSpatialReferenceH, const char *)
Set spatial reference from a URL.
Definition: ogrspatialreference.cpp:3547
OGRErr OSRSetGS(OGRSpatialReferenceH hSRS, double dfCentralMeridian, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5733
void OSRGetPROJVersion(int *pnMajor, int *pnMinor, int *pnPatch)
Get the PROJ version.
Definition: ogr_proj_p.cpp:287
int OGRErr
Definition: ogr_core.h:290
OGRErr OSRSetStatePlane(OGRSpatialReferenceH hSRS, int nZone, int bNAD83)
Set State Plane projection definition.
Definition: ogr_fromepsg.cpp:256
OGRErr OSRImportFromXML(OGRSpatialReferenceH, const char *)
Import coordinate system from XML format (GML only currently).
Definition: ogr_srs_xml.cpp:1310
OGRErr OSRSetTMVariant(OGRSpatialReferenceH hSRS, const char *pszVariantName, double dfCenterLat, double dfCenterLong, double dfScale, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5117
double OSRGetInvFlattening(OGRSpatialReferenceH, OGRErr *)
Get spheroid inverse flattening.
Definition: ogrspatialreference.cpp:4183
int bDeprecated
Definition: ogr_srs_api.h:980
Structure given overall description of a CRS.
Definition: ogr_srs_api.h:969
OGRErr OSRSetStereographic(OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfScale, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:6855
void * OGRCoordinateTransformationH
Definition: ogr_srs_api.h:461
OGRErr OSRSetCS(OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5417
OSRCRSType eType
Definition: ogr_srs_api.h:978
OGRErr OSRSetLCC(OGRSpatialReferenceH hSRS, double dfStdP1, double dfStdP2, double dfCenterLat, double dfCenterLong, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:6307
int OSRIsProjected(OGRSpatialReferenceH)
Check if projected coordinate system.
Definition: ogrspatialreference.cpp:7681
OGRErr OSRSetOS(OGRSpatialReferenceH hSRS, double dfOriginLat, double dfCMeridian, double dfScale, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:6612
OGRErr OSRMorphToESRI(OGRSpatialReferenceH)
Convert in place to ESRI WKT format.
Definition: ogrspatialreference.cpp:9869
void OSRSetAxisMappingStrategy(OGRSpatialReferenceH hSRS, OSRAxisMappingStrategy strategy)
Set the data axis to CRS axis mapping strategy.
Definition: ogrspatialreference.cpp:10650
OGRErr OSRImportFromMICoordSys(OGRSpatialReferenceH, const char *)
Import Mapinfo style CoordSys definition.
Definition: ogrspatialreference.cpp:9413
OGRErr OSRImportFromWkt(OGRSpatialReferenceH, char **)
Import from WKT string.
Definition: ogrspatialreference.cpp:1804
void OSRFreeSRSArray(OGRSpatialReferenceH *pahSRS)
Free return of OSRIdentifyMatches()
Definition: ogrspatialreference.cpp:8476
Definition: ogr_spatialref.h:771
OGRErr OSRImportFromUSGS(OGRSpatialReferenceH, long, long, double *, long)
Import coordinate system from USGS projection definition.
Definition: ogr_srs_usgs.cpp:165
OGRErr OSRSetCEA(OGRSpatialReferenceH hSRS, double dfStdP1, double dfCentralMeridian, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:5385
Definition: ogr_srs_api.h:49
OGRErr OSRSetLCC1SP(OGRSpatialReferenceH hSRS, double dfCenterLat, double dfCenterLong, double dfScale, double dfFalseEasting, double dfFalseNorthing)
Definition: ogrspatialreference.cpp:6343
OGRErr OSRSetProjParm(OGRSpatialReferenceH, const char *, double)
Set a projection parameter value.
Definition: ogrspatialreference.cpp:4788
double OSRGetSemiMajor(OGRSpatialReferenceH, OGRErr *)
Get spheroid semi major axis.
Definition: ogrspatialreference.cpp:4122

Generated for GDAL by doxygen 1.8.14.