SPATREF Namespace Reference


Classes

class  COORDAXIS
 Coordinate axis definition. More...
class  COORDOP
 Coordinate Operation (conversion/transformation) service. More...
class  COORDOP_IMPL
 Base for coordinate operation implementation. More...
class  COORDOP_IMPL_FACTORY
 Factory class for creating COORDOP_IMPL instance. More...
class  COORDOP_LIST
 Coordinate Operation service with list management interface. More...
class  COORDOP_SINGLE
 Coordinate Operation service with attach/detach interface for use with operation implementations not created automatically by spatial reference system. More...
class  COORDOP_TARGET
 Target for densification operations. More...
class  COORDOP_ZONED
 Service for converting between 'zoned' and non-zoned reference systems. More...
class  COORDOPDEF
 Coordinate Operation Definition (CoordOpDef). More...
class  COORDOPMETHOD
 Coordinate Operation Method definition. More...
class  COORDOPPARM
 Coordinate operation parameter definition. More...
class  COORDREFSYS
 Coordinate Reference System (CRS). More...
class  COORDSYS
 Coordinate System definition. More...
class  DATUM
 Datum specification. More...
class  ELLIPSOID
 Ellipsoid specification. More...
class  ERMAPPER
 Converter for ERMapper coordinate reference definition. More...
class  ESRI
 Converter for ESRI projection parameters. Handles both "old" (< version 8) and WKT strings. More...
class  GDAL
class  GROUP
class  MAPINFO
 Converter for MapInfo CoordSys strings. More...
class  OGC_URN
 Converter for Open Geospatial Consortium (OGC) Universal Resource Name (URN) forms. More...
class  OGC_WKT
 Converter for Open Geospatial Consortium Well-Known Text forms. More...
class  PRIMEMERIDIAN
 Prime meridian specification. More...
class  SYSTEM
 Spatial Reference System class. More...
class  TYDAC
 Converter for Tydac Projection strings. More...

Typedefs

typedef MILIST< COORDAXISCOORDAXISLIST
typedef MILIST< COORDOPDEFCOORDOPDEFLIST
typedef MILIST< COORDOPMETHODCOORDOPMETHODLIST
typedef MILIST< COORDOPPARMCOORDOPPARMLIST
typedef MILIST< COORDREFSYSCOORDREFSYSLIST
typedef MILIST< COORDSYSCOORDSYSLIST
typedef MILIST< DATUMDATUMLIST
typedef MILIST< ELLIPSOIDELLIPSOIDLIST
typedef MILIST< GROUPGROUPLIST
typedef MILIST< PRIMEMERIDIANPRIMEMERIDIANLIST

Enumerations

enum  COORDOP_DIRECTION { COORDOP_DIRECTION_Reverse = -1, COORDOP_DIRECTION_Forward = 1 }
enum  COORDREFSYS_SELFLAGS {
  COORDREFSYS_SELFLAG_Default = 0x0000, COORDREFSYS_SELFLAG_AllowChangeDatumType = 0x0001, COORDREFSYS_SELFLAG_AllowGeocentric = 0x0002, COORDREFSYS_SELFLAG_AllowLocal = 0x0004,
  COORDREFSYS_SELFLAG_Allow3D = 0x0008, COORDREFSYS_SELFLAG_AllowCompound2DGR = 0x0010, COORDREFSYS_SELFLAG_AllowUndefined = 0x0020, COORDREFSYS_SELFLAG_Need3D = 0x0040,
  COORDREFSYS_SELFLAG_AllowCheckLegacy = 0x0080, COORDREFSYS_SELFLAG_AllowDftUndefined = 0x0100
}
enum  GETDISPLAY {
  GETDISPLAY_None = 0x00, GETDISPLAY_MicroImagesID = 0x01, GETDISPLAY_SkipName = 0x02, GETDISPLAY_SkipMethod = 0x04,
  GETDISPLAY_SkipValidArea = 0x08, GETDISPLAY_AllIDs = 0x10, GETDISPLAY_Remarks = 0x20
}
enum  PRIMEMERIDIAN_IDNUM { PRIMEMERIDIAN_IDNUM_Greenwich = 1001 }

Functions

ERRVALUE DlgGetCoordRefSys (MDLGPARENT dlgparent, COORDREFSYS &CoordRefSys, DATUM::TYPE DatumTypesAllowed=DATUM::TYPE_Geodetic, COORDSYS::TYPE CoordSysTypesAllowed=(COORDSYS::TYPE_Projected|COORDSYS::TYPE_Ellipsoidal|COORDSYS::TYPE_Equatorial), COORDREFSYS_SELFLAGS flags=COORDREFSYS_SELFLAG_Default)
ERRVALUE DlgGetCoordRefSys (MDLGPARENT dlgparent, COORDREFSYS &CoordRefSys, COORDREFSYS_SELFLAGS flags, DATUM::TYPE DatumTypesAllowed=DATUM::TYPE_Geodetic, COORDSYS::TYPE CoordSysTypesAllowed=(COORDSYS::TYPE_Projected|COORDSYS::TYPE_Ellipsoidal|COORDSYS::TYPE_Equatorial))
void DlgMapCalculator (MDLGPARENT dlgparent)
bool operator!= (const COORDREFSYS &lhs, const COORDREFSYS &rhs)
bool operator!= (const COORDOPDEF &lhs, const COORDOPDEF &rhs)
bool operator!= (const COORDSYS &lhs, const COORDSYS &rhs)
bool operator!= (const COORDOPMETHOD &lhs, const COORDOPMETHOD &rhs)
bool operator!= (const COORDOPPARM &lhs, const COORDOPPARM &rhs)
bool operator!= (const COORDAXIS &lhs, const COORDAXIS &rhs)
bool operator!= (const DATUM &lhs, const DATUM &rhs)
bool operator!= (const ELLIPSOID &lhs, const ELLIPSOID &rhs)
bool operator== (const COORDREFSYS &lhs, const COORDREFSYS &rhs)
bool operator== (const COORDOPDEF &lhs, const COORDOPDEF &rhs)
bool operator== (const COORDSYS &lhs, const COORDSYS &rhs)
bool operator== (const COORDOPMETHOD &lhs, const COORDOPMETHOD &rhs)
bool operator== (const COORDOPPARM &lhs, const COORDOPPARM &rhs)
bool operator== (const COORDAXIS &lhs, const COORDAXIS &rhs)
bool operator== (const DATUM &lhs, const DATUM &rhs)
bool operator== (const ELLIPSOID &lhs, const ELLIPSOID &rhs)
int LIBEXPORT ReadImageGeoreference (const FILEPATH &imgfilepath, SPATREF::COORDREFSYS &CoordRefSys, TRANS2D_AFFINE &TransAffine, SIMPLE_ARRAY< CTRLPOINT3 > &CtrlPoints)


Typedef Documentation

typedef MILIST<COORDAXIS> SPATREF::COORDAXISLIST

Definition at line 892 of file spatref.h.

typedef MILIST<COORDOPDEF> SPATREF::COORDOPDEFLIST

Definition at line 1921 of file spatref.h.

typedef MILIST<COORDOPMETHOD> SPATREF::COORDOPMETHODLIST

Definition at line 1414 of file spatref.h.

typedef MILIST<COORDOPPARM> SPATREF::COORDOPPARMLIST

Definition at line 1190 of file spatref.h.

typedef MILIST<COORDREFSYS> SPATREF::COORDREFSYSLIST

Definition at line 2305 of file spatref.h.

typedef MILIST<COORDSYS> SPATREF::COORDSYSLIST

Definition at line 1602 of file spatref.h.

typedef MILIST<DATUM> SPATREF::DATUMLIST

Definition at line 699 of file spatref.h.

typedef MILIST<ELLIPSOID> SPATREF::ELLIPSOIDLIST

Definition at line 445 of file spatref.h.

typedef MILIST<GROUP> SPATREF::GROUPLIST

Definition at line 2374 of file spatref.h.

typedef MILIST<PRIMEMERIDIAN> SPATREF::PRIMEMERIDIANLIST

Definition at line 532 of file spatref.h.


Enumeration Type Documentation

enum SPATREF::COORDOP_DIRECTION

Enumerator:
COORDOP_DIRECTION_Reverse 
COORDOP_DIRECTION_Forward 

Definition at line 74 of file coordop.h.

enum SPATREF::COORDREFSYS_SELFLAGS

Flags for selecting Coordinate Reference System.

Enumerator:
COORDREFSYS_SELFLAG_Default 
COORDREFSYS_SELFLAG_AllowChangeDatumType  Allow selection of different datum type.
COORDREFSYS_SELFLAG_AllowGeocentric  Allow selection of 3D cartesian geocentric CRS based on geodetic datum.
COORDREFSYS_SELFLAG_AllowLocal  Allow selection of cartesian CRS based on local datum (formerly known as "Arbitrary").
COORDREFSYS_SELFLAG_Allow3D  Allow 3D CRS (typically Ellipsoidal3D).
COORDREFSYS_SELFLAG_AllowCompound2DGR  Allow selection of compound 2D+gravity-related CRS.
COORDREFSYS_SELFLAG_AllowUndefined  Allow "Undefined" (formerly known as "None").
COORDREFSYS_SELFLAG_Need3D  Need 3D CRS.
COORDREFSYS_SELFLAG_AllowCheckLegacy  Allow compatibility toggle and check for usage in pre 7.0 versions.
COORDREFSYS_SELFLAG_AllowDftUndefined  Allow default to 'undefined' CRS.

Definition at line 2495 of file spatref.h.

enum SPATREF::GETDISPLAY

Enumerator:
GETDISPLAY_None 
GETDISPLAY_MicroImagesID  Show MicroImages ID number.
GETDISPLAY_SkipName  Skip name, usually because included by caller.
GETDISPLAY_SkipMethod  Skip method name for COORDOPDEF.
GETDISPLAY_SkipValidArea  Skip valid area for COORDOPDEF.
GETDISPLAY_AllIDs  Show all IDs.
GETDISPLAY_Remarks  Show 'remarks' from database.

Definition at line 296 of file spatref.h.

enum SPATREF::PRIMEMERIDIAN_IDNUM

Enumerator:
PRIMEMERIDIAN_IDNUM_Greenwich 

Definition at line 534 of file spatref.h.


Function Documentation

ERRVALUE SPATREF::DlgGetCoordRefSys ( MDLGPARENT  dlgparent,
COORDREFSYS &  CoordRefSys,
DATUM::TYPE  DatumTypesAllowed = DATUM::TYPE_Geodetic,
COORDSYS::TYPE  CoordSysTypesAllowed = (COORDSYS::TYPE_Projected | COORDSYS::TYPE_Ellipsoidal | COORDSYS::TYPE_Equatorial),
COORDREFSYS_SELFLAGS  flags = COORDREFSYS_SELFLAG_Default 
) [inline]

Dialog for user to specify coordinate reference system.

Parameters:
dlgparent  Parent for dialog
CoordRefSys  Coordinate Reference System definition passed/returned

Definition at line 2520 of file spatref.h.

ERRVALUE SPATREF::DlgGetCoordRefSys ( MDLGPARENT  dlgparent,
COORDREFSYS &  CoordRefSys,
COORDREFSYS_SELFLAGS  flags,
DATUM::TYPE  DatumTypesAllowed = DATUM::TYPE_Geodetic,
COORDSYS::TYPE  CoordSysTypesAllowed = (COORDSYS::TYPE_Projected|COORDSYS::TYPE_Ellipsoidal|COORDSYS::TYPE_Equatorial) 
)

Dialog for user to specify coordinate reference system.

Parameters:
dlgparent  Parent for dialog
CoordRefSys  Coordinate Reference System definition passed/returned

void SPATREF::DlgMapCalculator ( MDLGPARENT  dlgparent  ) 

Dialog for map calculator tools.

bool SPATREF::operator!= ( const COORDREFSYS &  lhs,
const COORDREFSYS &  rhs 
) [inline]

Definition at line 2314 of file spatref.h.

bool SPATREF::operator!= ( const COORDOPDEF &  lhs,
const COORDOPDEF &  rhs 
) [inline]

Definition at line 1930 of file spatref.h.

bool SPATREF::operator!= ( const COORDSYS &  lhs,
const COORDSYS &  rhs 
) [inline]

Definition at line 1612 of file spatref.h.

bool SPATREF::operator!= ( const COORDOPMETHOD &  lhs,
const COORDOPMETHOD &  rhs 
) [inline]

Definition at line 1423 of file spatref.h.

bool SPATREF::operator!= ( const COORDOPPARM &  lhs,
const COORDOPPARM &  rhs 
) [inline]

Definition at line 1199 of file spatref.h.

bool SPATREF::operator!= ( const COORDAXIS &  lhs,
const COORDAXIS &  rhs 
) [inline]

Definition at line 901 of file spatref.h.

bool SPATREF::operator!= ( const DATUM &  lhs,
const DATUM &  rhs 
) [inline]

Definition at line 709 of file spatref.h.

bool SPATREF::operator!= ( const ELLIPSOID &  lhs,
const ELLIPSOID &  rhs 
) [inline]

Definition at line 454 of file spatref.h.

bool SPATREF::operator== ( const COORDREFSYS &  lhs,
const COORDREFSYS &  rhs 
) [inline]

Definition at line 2307 of file spatref.h.

bool SPATREF::operator== ( const COORDOPDEF &  lhs,
const COORDOPDEF &  rhs 
) [inline]

Definition at line 1923 of file spatref.h.

bool SPATREF::operator== ( const COORDSYS &  lhs,
const COORDSYS &  rhs 
) [inline]

Definition at line 1605 of file spatref.h.

bool SPATREF::operator== ( const COORDOPMETHOD &  lhs,
const COORDOPMETHOD &  rhs 
) [inline]

Definition at line 1416 of file spatref.h.

bool SPATREF::operator== ( const COORDOPPARM &  lhs,
const COORDOPPARM &  rhs 
) [inline]

Definition at line 1192 of file spatref.h.

bool SPATREF::operator== ( const COORDAXIS &  lhs,
const COORDAXIS &  rhs 
) [inline]

Definition at line 894 of file spatref.h.

bool SPATREF::operator== ( const DATUM &  lhs,
const DATUM &  rhs 
) [inline]

Definition at line 702 of file spatref.h.

bool SPATREF::operator== ( const ELLIPSOID &  lhs,
const ELLIPSOID &  rhs 
) [inline]

Definition at line 447 of file spatref.h.

int LIBEXPORT SPATREF::ReadImageGeoreference ( const FILEPATH imgfilepath,
SPATREF::COORDREFSYS CoordRefSys,
TRANS2D_AFFINE TransAffine,
SIMPLE_ARRAY< CTRLPOINT3 > &  CtrlPoints 
)

Attempt to read georeference for image.

Returns:
TRUE if successful, FALSE if no georeference found, < 0 if error
Parameters:
imgfilepath  Path to image file
CoordRefSys  Coordinate reference system returned
TransAffine  Affine transformation returned if used
CtrlPoints  Array of control points returned if uses control points


Generated on Thu Apr 26 04:19:38 2007 for TNTsdk by  doxygen 1.5.2