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_ONEWAY
 Base for one-way coordinate operation implementation. 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  FGDC
 Converter for Federal Geographic Data Committee (FDGC) metadata projection parameters. More...
class  GDAL
 Converter for GDAL projection parameters. More...
class  GEOTIFF
 Converter for GeoTIFF coordinate reference definition. More...
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, const MISTRING &title, COORDREFSYS &CoordRefSys, COORDREFSYS_SELFLAGS flags=COORDREFSYS_SELFLAG_Default, DATUM::TYPE DatumTypesAllowed=DATUM::TYPE_Geodetic, COORDSYS::TYPE CoordSysTypesAllowed=(COORDSYS::TYPE_Projected|COORDSYS::TYPE_Ellipsoidal|COORDSYS::TYPE_Equatorial))
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


Enumeration Type Documentation

Enumerator:
COORDOP_DIRECTION_Reverse 
COORDOP_DIRECTION_Forward 

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.

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.

Enumerator:
PRIMEMERIDIAN_IDNUM_Greenwich 

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
ERRVALUE SPATREF::DlgGetCoordRefSys ( MDLGPARENT  dlgparent,
const MISTRING title,
COORDREFSYS &  CoordRefSys,
COORDREFSYS_SELFLAGS  flags = COORDREFSYS_SELFLAG_Default,
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 with title.

Parameters:
dlgparent Parent for dialog
title Title for dialog.
CoordRefSys Coordinate Reference System definition passed/returned
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]
bool SPATREF::operator!= ( const COORDOPDEF &  lhs,
const COORDOPDEF &  rhs 
) [inline]
bool SPATREF::operator!= ( const COORDSYS &  lhs,
const COORDSYS &  rhs 
) [inline]
bool SPATREF::operator!= ( const COORDOPMETHOD &  lhs,
const COORDOPMETHOD &  rhs 
) [inline]
bool SPATREF::operator!= ( const COORDOPPARM &  lhs,
const COORDOPPARM &  rhs 
) [inline]
bool SPATREF::operator!= ( const COORDAXIS &  lhs,
const COORDAXIS &  rhs 
) [inline]
bool SPATREF::operator!= ( const DATUM &  lhs,
const DATUM &  rhs 
) [inline]
bool SPATREF::operator!= ( const ELLIPSOID &  lhs,
const ELLIPSOID &  rhs 
) [inline]
bool SPATREF::operator== ( const COORDREFSYS &  lhs,
const COORDREFSYS &  rhs 
) [inline]
bool SPATREF::operator== ( const COORDOPDEF &  lhs,
const COORDOPDEF &  rhs 
) [inline]
bool SPATREF::operator== ( const COORDSYS &  lhs,
const COORDSYS &  rhs 
) [inline]
bool SPATREF::operator== ( const COORDOPMETHOD &  lhs,
const COORDOPMETHOD &  rhs 
) [inline]
bool SPATREF::operator== ( const COORDOPPARM &  lhs,
const COORDOPPARM &  rhs 
) [inline]
bool SPATREF::operator== ( const COORDAXIS &  lhs,
const COORDAXIS &  rhs 
) [inline]
bool SPATREF::operator== ( const DATUM &  lhs,
const DATUM &  rhs 
) [inline]
bool SPATREF::operator== ( const ELLIPSOID &  lhs,
const ELLIPSOID &  rhs 
) [inline]
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 Sun Oct 7 21:40:25 2012 for TNTsdk 2012 by  doxygen 1.6.1