📄 ogr_srs_api.h
字号:
/****************************************************************************** * $Id: ogr_srs_api.h,v 1.58 2006/04/11 18:45:41 fwarmerdam Exp $ * * Project: OpenGIS Simple Features Reference Implementation * Purpose: C API and constant declarations for OGR Spatial References. * Author: Frank Warmerdam, warmerdam@pobox.com * ****************************************************************************** * Copyright (c) 2000, Frank Warmerdam * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, distribute, sublicense, * and/or sell copies of the Software, and to permit persons to whom the * Software is furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included * in all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER * DEALINGS IN THE SOFTWARE. ****************************************************************************** * * $Log: ogr_srs_api.h,v $ * Revision 1.58 2006/04/11 18:45:41 fwarmerdam * Fixed definition of a chain. * * Revision 1.57 2006/03/31 17:44:20 fwarmerdam * header updates * * Revision 1.56 2005/12/01 04:59:46 fwarmerdam * added two point equidistant support * * Revision 1.55 2005/10/10 14:45:47 dron * Added OSRImportFromPanorama()/OSRExportToPanorama() wrappers. * * Revision 1.54 2005/10/03 18:13:28 fwarmerdam * Fixed prototype for OSRSetGEOS(). * * Revision 1.53 2005/09/21 00:50:08 fwarmerdam * Added Release * * Revision 1.52 2005/05/09 15:39:44 fwarmerdam * Added TM_MI_21 as per email from Safe. * * Revision 1.51 2005/04/06 00:02:05 fwarmerdam * various osr and oct functions now stdcall * * Revision 1.50 2005/02/17 16:34:17 fwarmerdam * OSRCloneCS() should be OSRClone(). * * Revision 1.49 2005/02/11 14:21:28 fwarmerdam * added GEOS projection support * * Revision 1.48 2005/01/05 21:02:33 fwarmerdam * added Goode Homolosine * * Revision 1.47 2004/11/11 18:28:45 fwarmerdam * added Bonne projection support * * Revision 1.46 2004/09/23 16:20:13 fwarmerdam * added OSRCleanup * * Revision 1.45 2004/05/12 19:25:54 dron * SRS_DN_WGS72 constant added. * * Revision 1.44 2004/05/10 17:05:14 warmerda * added AutoIdentifyEPSG() * * Revision 1.43 2004/05/06 19:26:04 dron * Added OSRSetProjection() function. * * Revision 1.42 2004/03/04 18:04:45 warmerda * added importFromDict() support * * Revision 1.41 2004/02/07 17:31:21 dron * Added OSRExportToUSGS() method. * * Revision 1.40 2004/02/05 17:07:59 dron * Support for HOM projection, specified by two points on centerline. * * Revision 1.39 2004/02/01 14:23:29 dron * Added OSRImportFromUSGS(). * * Revision 1.38 2004/01/24 09:35:00 warmerda * added TransformEx support to capture per point reprojection failure * * Revision 1.37 2003/09/09 07:49:52 dron * Added OSRExportToPCI(). * * Revision 1.36 2003/08/31 14:51:01 dron * Added OSRImportFromPCI(). * * Revision 1.35 2003/08/18 13:26:01 warmerda * added SetTMVariant() and related definitions * * Revision 1.34 2003/06/21 23:24:36 warmerda * added Set/Get TOWGS84 calls * * Revision 1.33 2003/06/19 17:10:26 warmerda * a couple fixes in last commit * * Revision 1.32 2003/06/18 18:24:17 warmerda * added projection specific set methods to C API * * Revision 1.31 2003/06/10 09:31:12 dron * Added OSRSetAngularUnits() and OSRGetAngularUnits(). * * Revision 1.30 2003/05/30 15:39:53 warmerda * Added override units capability for SetStatePlane() * * Revision 1.29 2003/03/21 22:15:11 warmerda * added C XML import/export entry points * * Revision 1.28 2003/03/12 14:29:34 warmerda * Rename OGRAxisOrientation and OGRDatumType values to avoid conflicts with * the real OGC definitions in applications such as Cadcorps. * * Revision 1.27 2003/02/25 04:53:38 warmerda * added OSRCopyGeogCSFrom * * Revision 1.26 2003/02/06 04:53:12 warmerda * added Fixup() method * * Revision 1.25 2003/01/08 18:14:28 warmerda * added FixupOrdering() * * Revision 1.24 2002/12/16 17:07:13 warmerda * added NormProjParm functions, and OSRGetPrimeMeridian * * Revision 1.23 2002/12/14 22:59:14 warmerda * added Krovak in ESRI compatible way * * Revision 1.22 2002/12/09 18:55:07 warmerda * moved DMS stuff to gdal/port * * Revision 1.21 2002/12/09 16:11:53 warmerda * added DMS translation * * Revision 1.20 2002/11/25 16:12:54 warmerda * added GetAuthorityCode/Name * * Revision 1.19 2002/09/26 18:13:25 warmerda * avoid double def * * Revision 1.18 2002/06/11 18:02:03 warmerda * add PROJ.4 normalization and EPSG support * * Revision 1.17 2001/10/11 19:27:12 warmerda * upgraded validation infrastructure * * Revision 1.16 2001/10/10 20:42:43 warmerda * added ESRI WKT morphing support * * Revision 1.15 2001/09/21 16:21:02 warmerda * added Clear(), and SetFromUserInput() methods * * Revision 1.14 2000/11/09 06:21:32 warmerda * added limited ESRI prj support * * Revision 1.13 2000/10/20 04:19:38 warmerda * added setstateplane * * Revision 1.12 2000/10/16 21:26:07 warmerda * added some level of LOCAL_CS support * * Revision 1.11 2000/09/01 20:58:01 warmerda * added CPL_DLL for entry points * * Revision 1.10 2000/08/30 20:06:14 warmerda * added projection method list functions * * Revision 1.9 2000/08/28 20:13:23 warmerda * added importFromProj4 * * Revision 1.8 2000/07/11 01:02:06 warmerda * added ExportToProj4() * * Revision 1.7 2000/07/09 20:48:02 warmerda * added exportToPrettyWkt * * Revision 1.6 2000/05/30 22:45:44 warmerda * added OSRCloneGeogCS() * * Revision 1.5 2000/04/26 18:25:56 warmerda * added missing CPL_DLL attributes * * Revision 1.4 2000/03/22 01:09:43 warmerda * added SetProjCS and SetWellKnownTextCS * * Revision 1.3 2000/03/20 23:33:51 warmerda * updated docs a bit * * Revision 1.2 2000/03/20 22:39:31 warmerda * Added C API. * * Revision 1.1 2000/03/16 19:04:14 warmerda * New * */#ifndef _OGR_SRS_API_H_INCLUDED#define _OGR_SRS_API_H_INCLUDED#include "ogr_core.h"CPL_C_START/** * \file ogr_srs_api.h * * C spatial reference system services and defines. * * See also: ogr_spatialref.h *//* -------------------------------------------------------------------- *//* Axis orientations (corresponds to CS_AxisOrientationEnum). *//* -------------------------------------------------------------------- */typedef enum { OAO_Other=0, OAO_North=1, OAO_South=2, OAO_East=3, OAO_West=4, OAO_Up=5, OAO_Down=6} OGRAxisOrientation; /* -------------------------------------------------------------------- *//* Datum types (corresponds to CS_DatumType). *//* -------------------------------------------------------------------- */typedef enum { ODT_HD_Min=1000, ODT_HD_Other=1000, ODT_HD_Classic=1001, ODT_HD_Geocentric=1002, ODT_HD_Max=1999, ODT_VD_Min=2000, ODT_VD_Other=2000,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -