Map Projection Functions

:Associate with "Map Projection Functions" More...

Functions

GEOMLIBEXPORT ERRVALUE MapInfoExportGeoreference (const MAPPROJPARM &projparm, int xyunits, int &MapInfoProj, int &MapInfoDatum, double MapInfoProjParm[6], char ProjStr[256])
GEOMLIBEXPORT ERRVALUE MapInfoReadTabGeoreference (const FILEPATH &filepath, MAPPROJPARM &projparm, SIMPLE_ARRAY< CTRLPOINT3 > &points)
GEOMLIBEXPORT double ProjDistToMeters (const MAPPROJPARM *proj, double x1, double y1, double x2, double y2)
GEOMLIBEXPORT void ProjGetArcPrj (const MAPPROJPARM &ProjParm, MISTRINGLIST &PrjList)
GEOMLIBEXPORT ERRVALUE ProjGetERMapper (const MAPPROJPARM &projparm, char *ProjectionName, char *DatumName)
GEOMLIBEXPORT bool ProjSetArcPrj (MAPPROJPARM &ProjParm, const MISTRINGLIST &PrjList, double &xshift, double &yshift, double &scale)
GEOMLIBEXPORT ERRVALUE ProjSetERMapper (MAPPROJPARM &projparm, const char *ProjectionName, const char *DatumName)

Detailed Description

:Associate with "Map Projection Functions"


Function Documentation

GEOMLIBEXPORT ERRVALUE MapInfoExportGeoreference const MAPPROJPARM projparm,
int  xyunits,
int &  MapInfoProj,
int &  MapInfoDatum,
double  MapInfoProjParm[6],
char  ProjStr[256]
 

GEOMLIBEXPORT ERRVALUE MapInfoReadTabGeoreference const FILEPATH filepath,
MAPPROJPARM projparm,
SIMPLE_ARRAY< CTRLPOINT3 > &  points
 

GEOMLIBEXPORT double ProjDistToMeters const MAPPROJPARM proj,
double  x1,
double  y1,
double  x2,
double  y2
 

Compute distance in meters between two points in specified projection.

Deprecated:
Use SPATREF classes.
Returns:
Distance between points in meters. If the coordinate system is Latitude-Longitude the distance along a geodetic is returned (actual distance over curved surface).
Parameters:
proj  Projection parameters, will use GRS-1980 ellipsoid if NULL
x1  X coordinate of first point (in meters or degrees)
y1  Y coordinate of first point
x2  X coordinate of second point
y2  Y coordinate of second point

GEOMLIBEXPORT void ProjGetArcPrj const MAPPROJPARM ProjParm,
MISTRINGLIST PrjList
 

GEOMLIBEXPORT ERRVALUE ProjGetERMapper const MAPPROJPARM projparm,
char *  ProjectionName,
char *  DatumName
 

Set ER-Mapper projection and datum names from MAPPROJPARM.

Parameters:
projparm  Projection parameters
ProjectionName  ER-Mapper projection name returned, must be at least 16 characters
DatumName  ER-Mapper datum name returned, must be at least 16 characters

GEOMLIBEXPORT bool ProjSetArcPrj MAPPROJPARM ProjParm,
const MISTRINGLIST PrjList,
double &  xshift,
double &  yshift,
double &  scale
 

GEOMLIBEXPORT ERRVALUE ProjSetERMapper MAPPROJPARM projparm,
const char *  ProjectionName,
const char *  DatumName
 

Set projection parameters from ER-Mapper Projection and Datum names.

Parameters:
projparm  Projection parameters to fill in
ProjectionName  ER-Mapper projection name
DatumName  ER-Mapper datum name


Generated on Tue Dec 14 13:20:24 2004 for TNTsdk by  doxygen 1.3.8-20040913