SPATREF::ESRI Class Reference

Converter for ESRI projection parameters. Handles both "old" (< version 8) and WKT strings. More...

#include <mi32/spatrefext.h>

List of all members.

Static Public Member Functions

static ERRVALUE ConvertFromCRS (const COORDREFSYS &CoordRefSys, const FILEPATH &fp, bool GetWKT=true)
static ERRVALUE ConvertFromCRS (const COORDREFSYS &CoordRefSys, MISTRINGLIST &StrList, bool GetWKT=true)
static ERRVALUE ConvertToCRS (const FILEPATH &fp, COORDREFSYS &CoordRefSys, double &xshift, double &yshift, double &scale)
static ERRVALUE ConvertToCRS (const MISTRINGLIST &StrList, COORDREFSYS &CoordRefSys, double &xshift, double &yshift, double &scale)
static int ConvertZoneToLegacyMI (int esrizone)

Detailed Description

Converter for ESRI projection parameters. Handles both "old" (< version 8) and WKT strings.


Member Function Documentation

static ERRVALUE SPATREF::ESRI::ConvertFromCRS ( const COORDREFSYS CoordRefSys,
const FILEPATH fp,
bool  GetWKT = true 
) [static]

Convert COORDREFSYS to PRJ file.

Returns:
TRUE if successful, FALSE if can't convert, < 0 if error
Parameters:
CoordRefSys Coordinate Reference System to convert
fp PRJ file
GetWKT Return WKT string
static ERRVALUE SPATREF::ESRI::ConvertFromCRS ( const COORDREFSYS CoordRefSys,
MISTRINGLIST StrList,
bool  GetWKT = true 
) [static]

Convert COORDREFSYS to string list.

Returns:
TRUE if successful, FALSE if can't convert, < 0 if error
Parameters:
CoordRefSys Coordinate Reference System to convert
StrList Formatted string list returned
GetWKT Return WKT string
static ERRVALUE SPATREF::ESRI::ConvertToCRS ( const FILEPATH fp,
COORDREFSYS CoordRefSys,
double &  xshift,
double &  yshift,
double &  scale 
) [static]

Convert PRJ file to COORDREFSYS.

Parameters:
fp PRJ file
CoordRefSys Coordinate Reference System returned
xshift X shift value returned
yshift Y shift value returned
scale Scale value returned
static ERRVALUE SPATREF::ESRI::ConvertToCRS ( const MISTRINGLIST StrList,
COORDREFSYS CoordRefSys,
double &  xshift,
double &  yshift,
double &  scale 
) [static]

Convert string list to COORDREFSYS.

Parameters:
StrList Formatted string list
CoordRefSys Coordinate Reference System returned
xshift X shift value returned
yshift Y shift value returned
scale Scale value returned
static int SPATREF::ESRI::ConvertZoneToLegacyMI ( int  esrizone  )  [static]

Convert ESRI "zone" to legacy MicroImages zone.

Only valid for State Plane CRS.

Returns:
Legacy MicroImages zone or error < 0 if can't convert.
Parameters:
esrizone ESRI zone to convert

The documentation for this class was generated from the following file:

Generated on Sun Oct 7 21:40:29 2012 for TNTsdk 2012 by  doxygen 1.6.1