⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ogr_spatialref.h

📁 用于读取TAB、MIF、SHP文件的类
💻 H
📖 第 1 页 / 共 2 页
字号:
    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;    static int  IsAngularParameter( const char * );    static int  IsLongitudeParameter( const char * );    static int  IsLinearParameter( const char * );    /** Albers Conic Equal Area */    OGRErr      SetACEA( double dfStdP1, double dfStdP2,                         double dfCenterLat, double dfCenterLong,                         double dfFalseEasting, double dfFalseNorthing );        /** Azimuthal Equidistant */    OGRErr      SetAE( double dfCenterLat, double dfCenterLong,                       double dfFalseEasting, double dfFalseNorthing );    /** Bonne */    OGRErr      SetBonne( double dfStdP1, double dfCentralMeridian,                          double dfFalseEasting, double dfFalseNorthing );        /** Cylindrical Equal Area */    OGRErr      SetCEA( double dfStdP1, double dfCentralMeridian,                        double dfFalseEasting, double dfFalseNorthing );    /** Cassini-Soldner */    OGRErr      SetCS( double dfCenterLat, double dfCenterLong,                       double dfFalseEasting, double dfFalseNorthing );    /** Equidistant Conic */    OGRErr      SetEC( double dfStdP1, double dfStdP2,                       double dfCenterLat, double dfCenterLong,                       double dfFalseEasting, double dfFalseNorthing );    /** Eckert IV */    OGRErr      SetEckertIV( double dfCentralMeridian,                             double dfFalseEasting, double dfFalseNorthing );    /** Eckert VI */    OGRErr      SetEckertVI( double dfCentralMeridian,                             double dfFalseEasting, double dfFalseNorthing );    /** Equirectangular */    OGRErr      SetEquirectangular(double dfCenterLat, double dfCenterLong,                            double dfFalseEasting, double dfFalseNorthing );    /** Geostationary Satellite */    OGRErr      SetGEOS( double dfCentralMeridian, double dfSatelliteHeight,                          double dfFalseEasting, double dfFalseNorthing );    /** Goode Homolosine */    OGRErr      SetGH( double dfCentralMeridian,                        double dfFalseEasting, double dfFalseNorthing );    /** Gall Stereograpic */    OGRErr      SetGS( double dfCentralMeridian,                       double dfFalseEasting, double dfFalseNorthing );        /** Gnomonic */    OGRErr      SetGnomonic(double dfCenterLat, double dfCenterLong,                            double dfFalseEasting, double dfFalseNorthing );    OGRErr      SetHOM( double dfCenterLat, double dfCenterLong,                        double dfAzimuth, double dfRectToSkew,                        double dfScale,                        double dfFalseEasting, double dfFalseNorthing );    OGRErr      SetHOM2PNO( double dfCenterLat,                            double dfLat1, double dfLong1,                            double dfLat2, double dfLong2,                            double dfScale,                            double dfFalseEasting, double dfFalseNorthing );    /** Krovak Oblique Conic Conformal */    OGRErr      SetKrovak( double dfCenterLat, double dfCenterLong,                           double dfAzimuth, double dfPseudoStdParallelLat,                           double dfScale,                            double dfFalseEasting, double dfFalseNorthing );    /** Lambert Azimuthal Equal-Area */    OGRErr      SetLAEA( double dfCenterLat, double dfCenterLong,                         double dfFalseEasting, double dfFalseNorthing );    /** Lambert Conformal Conic */    OGRErr      SetLCC( double dfStdP1, double dfStdP2,                        double dfCenterLat, double dfCenterLong,                        double dfFalseEasting, double dfFalseNorthing );    /** Lambert Conformal Conic 1SP */    OGRErr      SetLCC1SP( double dfCenterLat, double dfCenterLong,                           double dfScale,                           double dfFalseEasting, double dfFalseNorthing );    /** Lambert Conformal Conic (Belgium) */    OGRErr      SetLCCB( double dfStdP1, double dfStdP2,                         double dfCenterLat, double dfCenterLong,                         double dfFalseEasting, double dfFalseNorthing );        /** Miller Cylindrical */    OGRErr      SetMC( double dfCenterLat, double dfCenterLong,                       double dfFalseEasting, double dfFalseNorthing );    /** Mercator */    OGRErr      SetMercator( double dfCenterLat, double dfCenterLong,                             double dfScale,                              double dfFalseEasting, double dfFalseNorthing );    OGRErr      SetMercator2SP( double dfStdP1,                                double dfCenterLat, double dfCenterLong,                                double dfFalseEasting, double dfFalseNorthing );    /** Mollweide */    OGRErr      SetMollweide( double dfCentralMeridian,                              double dfFalseEasting, double dfFalseNorthing );    /** New Zealand Map Grid */    OGRErr      SetNZMG( double dfCenterLat, double dfCenterLong,                         double dfFalseEasting, double dfFalseNorthing );    /** Oblique Stereographic */    OGRErr      SetOS( double dfOriginLat, double dfCMeridian,                       double dfScale,                       double dfFalseEasting,double dfFalseNorthing);        /** Orthographic */    OGRErr      SetOrthographic( double dfCenterLat, double dfCenterLong,                                 double dfFalseEasting,double dfFalseNorthing);    /** Polyconic */    OGRErr      SetPolyconic( double dfCenterLat, double dfCenterLong,                              double dfFalseEasting, double dfFalseNorthing );    /** Polar Stereographic */    OGRErr      SetPS( double dfCenterLat, double dfCenterLong,                       double dfScale,                       double dfFalseEasting, double dfFalseNorthing);        /** Robinson */    OGRErr      SetRobinson( double dfCenterLong,                              double dfFalseEasting, double dfFalseNorthing );        /** Sinusoidal */    OGRErr      SetSinusoidal( double dfCenterLong,                                double dfFalseEasting, double dfFalseNorthing );        /** Stereographic */    OGRErr      SetStereographic( double dfCenterLat, double dfCenterLong,                                  double dfScale,                                 double dfFalseEasting,double dfFalseNorthing);    /** Swiss Oblique Cylindrical */    OGRErr      SetSOC( double dfLatitudeOfOrigin, double dfCentralMeridian,                        double dfFalseEasting, double dfFalseNorthing );        /** Transverse Mercator */    OGRErr      SetTM( double dfCenterLat, double dfCenterLong,                       double dfScale,                       double dfFalseEasting, double dfFalseNorthing );    /** Transverse Mercator variants. */    OGRErr      SetTMVariant( const char *pszVariantName,                               double dfCenterLat, double dfCenterLong,                              double dfScale,                              double dfFalseEasting, double dfFalseNorthing );    /** Tunesia Mining Grid  */    OGRErr      SetTMG( double dfCenterLat, double dfCenterLong,                         double dfFalseEasting, double dfFalseNorthing );    /** Transverse Mercator (South Oriented) */    OGRErr      SetTMSO( double dfCenterLat, double dfCenterLong,                         double dfScale,                         double dfFalseEasting, double dfFalseNorthing );    /** Two Point Equidistant */    OGRErr      SetTPED( double dfLat1, double dfLong1,                          double dfLat2, double dfLong2,                          double dfFalseEasting, double dfFalseNorthing );        /** VanDerGrinten */    OGRErr      SetVDG( double dfCenterLong,                        double dfFalseEasting, double dfFalseNorthing );    /** Universal Transverse Mercator */    OGRErr      SetUTM( int nZone, int bNorth = TRUE );    int         GetUTMZone( int *pbNorth = NULL ) const;    /** State Plane */    OGRErr      SetStatePlane( int nZone, int bNAD83 = TRUE,                               const char *pszOverrideUnitName = NULL,                               double dfOverrideUnit = 0.0 );};/************************************************************************//*                     OGRCoordinateTransformation                      *//*                                                                      *//*      This is really just used as a base class for a private          *//*      implementation.                                                 *//************************************************************************//** * Object for transforming between coordinate systems. * * Also, see OGRCreateSpatialReference() for creating transformations. */ class CPL_DLL OGRCoordinateTransformation{public:    virtual ~OGRCoordinateTransformation() {}    // From CT_CoordinateTransformation    /** Fetch internal source coordinate system. */    virtual OGRSpatialReference *GetSourceCS() = 0;    /** Fetch internal target coordinate system. */    virtual OGRSpatialReference *GetTargetCS() = 0;    // From CT_MathTransform    /**     * Transform points from source to destination space.     *     * This method is the same as the C function OCTTransform().     *     * The method TransformEx() allows extended success information to      * be captured indicating which points failed to transform.      *     * @param nCount number of points to transform.     * @param x array of nCount X vertices, modified in place.     * @param y array of nCount Y vertices, modified in place.     * @param z array of nCount Z vertices, modified in place.     * @return TRUE on success, or FALSE if some or all points fail to     * transform.     */    virtual int Transform( int nCount,                            double *x, double *y, double *z = NULL ) = 0;    /**     * Transform points from source to destination space.     *     * This method is the same as the C function OCTTransformEx().     *     * @param nCount number of points to transform.     * @param x array of nCount X vertices, modified in place.     * @param y array of nCount Y vertices, modified in place.     * @param z array of nCount Z vertices, modified in place.     * @param pabSuccess array of per-point flags set to TRUE if that point      * transforms, or FALSE if it does not.     *     * @return TRUE if some or all points transform successfully, or FALSE if      * if none transform.     */    virtual int TransformEx( int nCount,                              double *x, double *y, double *z = NULL,                             int *pabSuccess = NULL ) = 0;};OGRCoordinateTransformation CPL_DLL *OGRCreateCoordinateTransformation( OGRSpatialReference *poSource,                                    OGRSpatialReference *poTarget );#endif /* ndef _OGR_SPATIALREF_H_INCLUDED */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -