亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? ogr_spatialref.h

?? mitab,讀取MapInfo的地圖文件
?? H
?? 第 1 頁 / 共 2 頁
字號:
/******************************************************************************
 * $Id: ogr_spatialref.h 10646 2007-01-18 02:38:10Z warmerdam $
 *
 * Project:  OpenGIS Simple Features Reference Implementation
 * Purpose:  Classes for manipulating spatial reference systems in a
 *           platform non-specific manner.
 * Author:   Frank Warmerdam, warmerdam@pobox.com
 *
 ******************************************************************************
 * Copyright (c) 1999,  Les Technologies SoftMap Inc.
 *
 * 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.
 ****************************************************************************/

#ifndef _OGR_SPATIALREF_H_INCLUDED
#define _OGR_SPATIALREF_H_INCLUDED

#include "ogr_srs_api.h"

/**
 * \file ogr_spatialref.h
 *
 * Coordinate systems services.
 */

/************************************************************************/
/*                             OGR_SRSNode                              */
/************************************************************************/

/**
 * Objects of this class are used to represent value nodes in the parsed
 * representation of the WKT SRS format.  For instance UNIT["METER",1]
 * would be rendered into three OGR_SRSNodes.  The root node would have a
 * value of UNIT, and two children, the first with a value of METER, and the
 * second with a value of 1.
 *
 * Normally application code just interacts with the OGRSpatialReference
 * object, which uses the OGR_SRSNode to implement it's data structure;
 * however, this class is user accessable for detailed access to components
 * of an SRS definition.
 */

class CPL_DLL OGR_SRSNode
{
    char        *pszValue;

    OGR_SRSNode **papoChildNodes;
    OGR_SRSNode *poParent;

    int         nChildren;

    void        ClearChildren();
    int         NeedsQuoting() const;
    
  public:
                OGR_SRSNode(const char * = NULL);
                ~OGR_SRSNode();

    int         IsLeafNode() const { return nChildren == 0; }
    
    int         GetChildCount() const { return nChildren; }
    OGR_SRSNode *GetChild( int );
    const OGR_SRSNode *GetChild( int ) const;

    OGR_SRSNode *GetNode( const char * );
    const OGR_SRSNode *GetNode( const char * ) const;

    void        InsertChild( OGR_SRSNode *, int );
    void        AddChild( OGR_SRSNode * );
    int         FindChild( const char * ) const;
    void        DestroyChild( int );
    void        StripNodes( const char * );

    const char  *GetValue() const { return pszValue; }
    void        SetValue( const char * );

    void        MakeValueSafe();
    OGRErr      FixupOrdering();

    OGR_SRSNode *Clone() const;

    OGRErr      importFromWkt( char ** );
    OGRErr      exportToWkt( char ** ) const;
    OGRErr      exportToPrettyWkt( char **, int = 1) const;
    
    OGRErr      applyRemapper( const char *pszNode, 
                               char **papszSrcValues, 
                               char **papszDstValues, 
                               int nStepSize = 1,
                               int bChildOfHit = FALSE );
};

/************************************************************************/
/*                         OGRSpatialReference                          */
/************************************************************************/

/**
 * This class respresents a OpenGIS Spatial Reference System, and contains
 * methods for converting between this object organization and well known
 * text (WKT) format.  This object is reference counted as one instance of
 * the object is normally shared between many OGRGeometry objects.
 *
 * Normally application code can fetch needed parameter values for this
 * SRS using GetAttrValue(), but in special cases the underlying parse tree
 * (or OGR_SRSNode objects) can be accessed more directly.
 *
 * See <a href="osr_tutorial.html">the tutorial</a> for more information on
 * how to use this class.
 */

class CPL_DLL OGRSpatialReference
{
    double      dfFromGreenwich;
    double      dfToMeter;
    double      dfToDegrees;

    OGR_SRSNode *poRoot;

    int         nRefCount;
    int         bNormInfoSet;

    OGRErr      ValidateProjection();
    int         IsAliasFor( const char *, const char * );
    void        GetNormInfo() const;

  public:
                OGRSpatialReference(const OGRSpatialReference&);
                OGRSpatialReference(const char * = NULL);
                
    virtual    ~OGRSpatialReference();
                
    OGRSpatialReference &operator=(const OGRSpatialReference&);

    int         Reference();
    int         Dereference();
    int         GetReferenceCount() const { return nRefCount; }
    void        Release();

    OGRSpatialReference *Clone() const;
    OGRSpatialReference *CloneGeogCS() const;

    OGRErr      exportToWkt( char ** ) const;
    OGRErr      exportToPrettyWkt( char **, int = FALSE) const;
    OGRErr      exportToProj4( char ** ) const;
    OGRErr      exportToPCI( char **, char **, double ** ) const;
    OGRErr      exportToUSGS( long *, long *, double **, long * ) const;
    OGRErr      exportToPanorama( long *, long *, double **, long * ) const;
    OGRErr      exportToXML( char **, const char * = NULL ) const;
    OGRErr      exportToPanorama( long *, long *, long *, long *, double *,
                                  double *, double *, double * ) const;
    OGRErr      importFromWkt( char ** );
    OGRErr      importFromProj4( const char * );
    OGRErr      importFromEPSG( int );
    OGRErr      importFromESRI( char ** );
    OGRErr      importFromPCI( const char *, const char * = NULL,
                               double * = NULL );
    OGRErr      importFromUSGS( long, long, double *, long );
    OGRErr      importFromPanorama( long, long, long, long,
                                    double, double, double, double );
    OGRErr      importFromWMSAUTO( const char *pszAutoDef );
    OGRErr      importFromXML( const char * );
    OGRErr      importFromDict( const char *pszDict, const char *pszCode );
    OGRErr      importFromURN( const char * );

    OGRErr      morphToESRI();
    OGRErr      morphFromESRI();

    OGRErr      Validate();
    OGRErr      StripCTParms( OGR_SRSNode * = NULL );
    OGRErr      FixupOrdering();
    OGRErr      Fixup();

    // Machinary for accessing parse nodes
    OGR_SRSNode *GetRoot() { return poRoot; }
    const OGR_SRSNode *GetRoot() const { return poRoot; }
    void        SetRoot( OGR_SRSNode * );
    
    OGR_SRSNode *GetAttrNode(const char *);
    const OGR_SRSNode *GetAttrNode(const char *) const;
    const char  *GetAttrValue(const char *, int = 0) const;

    OGRErr      SetNode( const char *, const char * );
    OGRErr      SetNode( const char *, double );
    
    OGRErr      SetLinearUnitsAndUpdateParameters( const char *pszName, 
                                                   double dfInMeters );
    OGRErr      SetLinearUnits( const char *pszName, double dfInMeters );
    double      GetLinearUnits( char ** = NULL ) const;

    OGRErr      SetAngularUnits( const char *pszName, double dfInRadians );
    double      GetAngularUnits( char ** = NULL ) const;

    double      GetPrimeMeridian( char ** = NULL ) const;

    int         IsGeographic() const;
    int         IsProjected() const;
    int         IsLocal() const;
    int         IsSameGeogCS( const OGRSpatialReference * ) const;
    int         IsSame( const OGRSpatialReference * ) const;

    void        Clear();
    OGRErr      SetLocalCS( const char * );
    OGRErr      SetProjCS( const char * );
    OGRErr      SetProjection( const char * );
    OGRErr      SetGeogCS( const char * pszGeogName,
                           const char * pszDatumName,
                           const char * pszEllipsoidName,
                           double dfSemiMajor, double dfInvFlattening,
                           const char * pszPMName = NULL,
                           double dfPMOffset = 0.0,
                           const char * pszUnits = NULL,
                           double dfConvertToRadians = 0.0 );
    OGRErr      SetWellKnownGeogCS( const char * );
    OGRErr      CopyGeogCSFrom( const OGRSpatialReference * poSrcSRS );

    OGRErr      SetFromUserInput( const char * );

    OGRErr      SetTOWGS84( double, double, double,
                            double = 0.0, double = 0.0, double = 0.0,
                            double = 0.0 );
    OGRErr      GetTOWGS84( double *padfCoef, int nCoeff = 7 ) const;
    
    double      GetSemiMajor( OGRErr * = NULL ) const;
    double      GetSemiMinor( OGRErr * = NULL ) const;
    double      GetInvFlattening( OGRErr * = NULL ) const;

    OGRErr      SetAuthority( const char * pszTargetKey, 
                              const char * pszAuthority, 
                              int nCode );

    OGRErr      AutoIdentifyEPSG();

    const char *GetAuthorityCode( const char * pszTargetKey ) const;
    const char *GetAuthorityName( const char * pszTargetKey ) const;

    const char *GetExtension( const char *pszTargetKey, 
                              const char *pszName,
                              const char *pszDefault = NULL ) const;
    OGRErr      SetExtension( const char *pszTargetKey, 
                              const char *pszName, 
                              const char *pszValue );
                           
    OGRErr      SetProjParm( const char *, double );
    double      GetProjParm( const char *, double =0.0, OGRErr* = NULL ) const;

    OGRErr      SetNormProjParm( const char *, double );
    double      GetNormProjParm( const char *, double=0.0, OGRErr* =NULL)const;

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
美腿丝袜在线亚洲一区| 日本欧美一区二区| 国产成人精品三级| 欧美精品一区二区三区四区| 日韩精品免费专区| 日韩一区二区三免费高清| 国产91露脸合集magnet| 久久精品视频免费| 丁香婷婷深情五月亚洲| 中文字幕在线免费不卡| 日本韩国一区二区| 国产一区在线观看视频| 精品久久国产字幕高潮| 国产91露脸合集magnet| 亚洲成人av免费| 欧美在线999| 最好看的中文字幕久久| 久久伊99综合婷婷久久伊| 国产在线播放一区二区三区| 色婷婷av一区二区三区大白胸| 日本一区二区三区四区| 欧美日韩视频专区在线播放| 美女网站色91| 亚洲视频一区二区免费在线观看 | 亚洲伦理在线精品| 亚洲男人天堂av| 欧美日韩高清在线播放| 亚洲少妇屁股交4| 韩国三级电影一区二区| 色综合欧美在线| 国产精品久久三| 国产一区二区在线影院| 欧美一卡二卡在线观看| 国产亚洲综合在线| 日本三级亚洲精品| 欧美在线三级电影| 中文字幕精品一区| 激情综合一区二区三区| 欧美女孩性生活视频| 亚洲综合自拍偷拍| 欧美老年两性高潮| 午夜电影久久久| 在线观看亚洲a| www激情久久| 精品影视av免费| 极品少妇xxxx精品少妇| 亚洲欧美在线视频观看| 成人a级免费电影| 天天操天天综合网| 国产精品色眯眯| 日韩色视频在线观看| 风流少妇一区二区| 美女爽到高潮91| 亚洲成人免费av| 日韩码欧中文字| 国产三级精品视频| 欧美一级高清大全免费观看| 欧美在线一区二区| bt7086福利一区国产| 国产自产2019最新不卡| 日韩中文字幕av电影| 亚洲风情在线资源站| 国产精品久久久久久久久快鸭| 亚洲精品在线免费播放| 欧美日韩中文字幕一区二区| 波多野结衣亚洲一区| 国产电影一区二区三区| 久久99日本精品| 精品一区二区在线视频| 亚洲va在线va天堂| 亚洲成人av在线电影| 亚洲一区二区欧美日韩| 亚洲精品视频免费看| 亚洲欧洲精品一区二区三区不卡| 国产女同性恋一区二区| 国产亚洲女人久久久久毛片| 精品福利一二区| 亚洲精品一区二区精华| 精品美女在线播放| 久久午夜国产精品| 欧美精品一区二区三区在线| 久久五月婷婷丁香社区| 久久精品视频在线免费观看| 国产日韩欧美麻豆| 国产精品视频免费| 中文字幕日韩精品一区| 亚洲少妇屁股交4| 一二三四社区欧美黄| 洋洋成人永久网站入口| 天天免费综合色| 极品少妇xxxx偷拍精品少妇| 国产一区二区三区观看| 国产a区久久久| www.一区二区| 在线免费观看成人短视频| 欧美自拍偷拍一区| 3atv在线一区二区三区| 久久综合色天天久久综合图片| 久久精品亚洲乱码伦伦中文| 亚洲天堂网中文字| 丝袜诱惑制服诱惑色一区在线观看| 美日韩一区二区| 国产福利一区二区| 91老师片黄在线观看| 在线播放亚洲一区| 国产色产综合产在线视频| 亚洲日本一区二区三区| 亚洲午夜在线视频| 国产精品一级黄| 91女神在线视频| 777久久久精品| 国产精品全国免费观看高清| 亚洲国产美国国产综合一区二区| 另类欧美日韩国产在线| 成人黄色电影在线| 91精品国产高清一区二区三区| 久久久久国产精品人| 一区二区三区欧美| 国产一区二区在线电影| 日本伦理一区二区| 欧美精品一区二区三区蜜臀| 一区二区三区日韩欧美| 国产在线看一区| 欧美午夜精品久久久久久超碰| 久久网站热最新地址| 一区二区高清免费观看影视大全 | 久久精品72免费观看| 成人av在线播放网站| 日韩欧美aaaaaa| 亚洲色图欧洲色图| 国产在线精品一区二区不卡了| 欧美午夜电影一区| 中文一区在线播放| 久久99精品国产| 欧美在线观看一区二区| 欧美国产激情一区二区三区蜜月| 午夜精品久久久久影视| www.亚洲精品| 欧美激情综合网| 蜜桃av一区二区三区| 在线国产亚洲欧美| 亚洲欧美日韩人成在线播放| 国产一区二区0| 日韩免费看的电影| 日韩中文字幕av电影| 欧美综合色免费| 亚洲精品国产精品乱码不99 | 亚洲18色成人| 99九九99九九九视频精品| 日韩色视频在线观看| 日韩和的一区二区| 欧美日韩一区二区三区在线看| 国产精品美女一区二区三区| 国内精品久久久久影院一蜜桃| 欧美日韩中文精品| 亚洲一区二区偷拍精品| 91网站黄www| 亚洲精品国产无套在线观| 波多野结衣一区二区三区 | 99久久久精品| 国产精品不卡一区二区三区| 大陆成人av片| 国产欧美日韩在线视频| 国产乱码精品一区二区三区五月婷| 制服丝袜亚洲播放| 蜜桃一区二区三区在线观看| 欧美日韩国产经典色站一区二区三区 | 久久99精品久久久久久动态图| 777xxx欧美| 免费成人在线播放| 久久综合久久99| 国产精品一线二线三线| 久久久久一区二区三区四区| 国产在线国偷精品免费看| 国产日产欧美一区二区三区 | 精品一区二区三区香蕉蜜桃| 精品国产乱码久久久久久牛牛 | 日韩欧美国产综合| 国产原创一区二区| 国产日韩欧美a| 91一区在线观看| 亚洲成在人线在线播放| 51精品秘密在线观看| 老司机精品视频在线| 国产亚洲视频系列| 成人免费黄色大片| 亚洲一区二区在线视频| 欧美一区二区三区喷汁尤物| 国产在线一区观看| 亚洲欧美色图小说| 欧美日韩一二三| 久久精品国产99国产| 国产欧美日韩麻豆91| a亚洲天堂av| 视频一区在线播放| 精品国产麻豆免费人成网站| av午夜一区麻豆| 亚洲午夜视频在线观看| 欧美电影免费观看高清完整版在线| 成人激情动漫在线观看|