MAPPROJPARM Struct Reference

Parameters for a specific map projection, coordinate system and geodetic datum. More...

#include <mi32/mapproj.h>

List of all members.

Public Member Functions

void Clear ()
DATUM GetDatum () const
DEPRECATED double GetDistanceInMeters (const DPOINT2D &point1, const DPOINT2D &point2) const
DEPRECATED double GetDistanceInMeters (double x1, double y1, double x2, double y2) const
PROJECTION GetProjection () const
INT16 GetProjSub () const
PROJSYS GetSystem () const
INT16 GetZone () const
 MAPPROJPARM ()
void SetDatum (DATUM datum)
ERRVALUE SetProjectionAEAC (double LatStdParallel1, double LatStdParallel2, double LonCentralMeridian, double LatOrigin=0.0, double FalseEasting=0.0, double FalseNorthing=0.0)
void SetProjectionArbitrary ()
ERRVALUE SetProjectionAzimuthalEquidistant (double LonCenter, double LatCenter, double FalseEasting=0.0, double FalseNorthing=0.0)
ERRVALUE SetProjectionBOCC (bool skewed=true)
ERRVALUE SetProjectionCassini (double LonCenter, double LatCenter, double FalseEasting=0.0, double FalseNorthing=0.0)
ERRVALUE SetProjectionEquidistantConic1SP (double LatStdParallel, double LonCentralMeridian, double LatOrigin=0.0, double FalseEasting=0.0, double FalseNorthing=0.0)
ERRVALUE SetProjectionEquidistantConic2SP (double LatStdParallel1, double LatStdParallel2, double LonCentralMeridian, double LatOrigin=0.0, double FalseEasting=0.0, double FalseNorthing=0.0)
ERRVALUE SetProjectionEquirectangular (double LonCentralMeridian, double LatTrueScale, double FalseEasting=0.0, double FalseNorthing=0.0)
ERRVALUE SetProjectionGnomonic (double LonCenter, double LatCenter, double FalseEasting=0.0, double FalseNorthing=0.0)
ERRVALUE SetProjectionGVNSP (double Height, double LonCenter, double LatCenter, double FalseEasting=0.0, double FalseNorthing=0.0)
ERRVALUE SetProjectionLAEA (double LonCenter, double LatCenter, double FalseEasting=0.0, double FalseNorthing=0.0)
ERRVALUE SetProjectionLandsatSOM (int satellite, int path)
ERRVALUE SetProjectionLCC (double LatStdParallel1, double LatStdParallel2, double LonCentralMeridian, double LatOrigin=0.0, double FalseEasting=0.0, double FalseNorthing=0.0, double ScaleFactor=1.0)
ERRVALUE SetProjectionMercator (double ScaleFactor, double LonCentralMeridian, double LatTrueScale, double FalseEasting=0.0, double FalseNorthing=0.0)
ERRVALUE SetProjectionMillerCylindrical (double LonCentralMeridian, double FalseEasting=0.0, double FalseNorthing=0.0)
ERRVALUE SetProjectionObliqueMercatorA (double ScaleFactor, double LatOrigin, double LonGeodeticPoint1, double LatGeodeticPoint1, double LonGeodeticPoint2, double LatGeodeticPoint2, double FalseEasting=0.0, double FalseNorthing=0.0)
ERRVALUE SetProjectionObliqueMercatorB (double ScaleFactor, double AzimuthAngle, double LonAzimuthPoint, double LatOrigin, double FalseEasting=0.0, double FalseNorthing=0.0)
ERRVALUE SetProjectionOrthographic (double LonCenter, double LatCenter, double FalseEasting=0.0, double FalseNorthing=0.0)
ERRVALUE SetProjectionPolarStereo (double ScaleFactor, double LonDownward, double LatTrueScale, double FalseEasting=0.0, double FalseNorthing=0.0)
ERRVALUE SetProjectionPolyconic (double ScaleFactor, double LonCentralMeridian, double LatOrigin=0.0, double FalseEasting=0.0, double FalseNorthing=0.0)
ERRVALUE SetProjectionRobinson (double LonCentralMeridian, double FalseEasting=0.0, double FalseNorthing=0.0)
ERRVALUE SetProjectionSinusoidal (double LonCentralMeridian, double FalseEasting=0.0, double FalseNorthing=0.0)
ERRVALUE SetProjectionStereographic (double ScaleFactor, double LonCenter, double LatCenter, double FalseEasting=0.0, double FalseNorthing=0.0)
void SetProjectionSwissConformal (double FalseEasting=0.0, double FalseNorthing=0.0)
ERRVALUE SetProjectionTransverseMercator (double ScaleFactor, double LonCentralMeridian, double LatOrigin=0.0, double FalseEasting=0.0, double FalseNorthing=0.0)
ERRVALUE SetProjectionVanDerGrintenI (double LonCentralMeridian, double FalseEasting=0.0, double FalseNorthing=0.0)
ERRVALUE SetSystemGaussKruger (INT16 gkzone, bool southzone=false)
void SetSystemLatLon ()
void SetSystemNZMG ()
void SetSystemUPS (bool southpole=false)
ERRVALUE SetSystemUTM (INT16 utmzone, bool southzone=false)


Detailed Description

Parameters for a specific map projection, coordinate system and geodetic datum.

Definition at line 653 of file mapproj.h.


Constructor & Destructor Documentation

MAPPROJPARM::MAPPROJPARM  )  [inline]
 

Default constructor.

Definition at line 667 of file mapproj.h.


Member Function Documentation

void MAPPROJPARM::Clear  )  [inline]
 

Clear all parameters and reset to Arbitrary Local coordinates.

Definition at line 671 of file mapproj.h.

DATUM MAPPROJPARM::GetDatum  )  const [inline]
 

Get datum ID.

Definition at line 675 of file mapproj.h.

DEPRECATED double MAPPROJPARM::GetDistanceInMeters const DPOINT2D point1,
const DPOINT2D point2
const [inline]
 

Determine distance in meters between specified points.

Deprecated:
Use SPATREF classes.
Returns:
Distance in meters. If the coordinate system is Latitude-Longitude the distance along a geodetic is returned (actual distance over curved surface).

Definition at line 698 of file mapproj.h.

DEPRECATED double MAPPROJPARM::GetDistanceInMeters double  x1,
double  y1,
double  x2,
double  y2
const [inline]
 

Compute distance in meters between specified points.

Deprecated:
Use SPATREF classes.
Returns:
Distance in meters. If the coordinate system is Latitude-Longitude the distance along a geodetic is returned (actual distance over curved surface).

Definition at line 684 of file mapproj.h.

PROJECTION MAPPROJPARM::GetProjection  )  const [inline]
 

Get projection ID.

Definition at line 705 of file mapproj.h.

INT16 MAPPROJPARM::GetProjSub  )  const [inline]
 

Get sub-projection ID.

Definition at line 709 of file mapproj.h.

PROJSYS MAPPROJPARM::GetSystem  )  const [inline]
 

Get system ID.

Definition at line 713 of file mapproj.h.

INT16 MAPPROJPARM::GetZone  )  const [inline]
 

Get zone ID.

Definition at line 717 of file mapproj.h.

void MAPPROJPARM::SetDatum DATUM  datum  )  [inline]
 

Set datum ID.

Definition at line 721 of file mapproj.h.

ERRVALUE MAPPROJPARM::SetProjectionAEAC double  LatStdParallel1,
double  LatStdParallel2,
double  LonCentralMeridian,
double  LatOrigin = 0.0,
double  FalseEasting = 0.0,
double  FalseNorthing = 0.0
[inline]
 

Set projection to Albers Equal-Area Conic.

Parameters:
LatStdParallel1  Latitude of first standard parallel (degrees)
LatStdParallel2  Latitude of second standard parallel (degrees)
LonCentralMeridian  Longitude of central meridian (degrees)
LatOrigin  Latitude of origin (degrees)
FalseEasting  False easting (meters)
FalseNorthing  False northing (meters)

Definition at line 726 of file mapproj.h.

void MAPPROJPARM::SetProjectionArbitrary  )  [inline]
 

Set projection to arbitrary.

Definition at line 747 of file mapproj.h.

ERRVALUE MAPPROJPARM::SetProjectionAzimuthalEquidistant double  LonCenter,
double  LatCenter,
double  FalseEasting = 0.0,
double  FalseNorthing = 0.0
[inline]
 

Set projection to Azimuthal Equidistant.

Parameters:
LonCenter  Longitude of center of projection (degrees)
LatCenter  Latitude of center of projection (degrees)
FalseEasting  False easting (meters)
FalseNorthing  False northing (meters)

Definition at line 755 of file mapproj.h.

ERRVALUE MAPPROJPARM::SetProjectionBOCC bool  skewed = true  )  [inline]
 

Set projection to Bipolar Oblique Conformal Conic.

Parameters:
skewed  true if skewed, false if not

Definition at line 765 of file mapproj.h.

ERRVALUE MAPPROJPARM::SetProjectionCassini double  LonCenter,
double  LatCenter,
double  FalseEasting = 0.0,
double  FalseNorthing = 0.0
[inline]
 

Set projection to Cassini.

Parameters:
LonCenter  Longitude of center of projection (degrees)
LatCenter  Latitude of center of projection (degrees)
FalseEasting  False easting (meters)
FalseNorthing  False northing (meters)

Definition at line 776 of file mapproj.h.

ERRVALUE MAPPROJPARM::SetProjectionEquidistantConic1SP double  LatStdParallel,
double  LonCentralMeridian,
double  LatOrigin = 0.0,
double  FalseEasting = 0.0,
double  FalseNorthing = 0.0
[inline]
 

Set projection to Equidistant Conic with single standard parallel.

Parameters:
LatStdParallel  Latitude of standard parallel (degrees)
LonCentralMeridian  Longitude of central meridian (degrees)
LatOrigin  Latitude of origin (degrees)
FalseEasting  False easting (meters)
FalseNorthing  False northing (meters)

Definition at line 786 of file mapproj.h.

ERRVALUE MAPPROJPARM::SetProjectionEquidistantConic2SP double  LatStdParallel1,
double  LatStdParallel2,
double  LonCentralMeridian,
double  LatOrigin = 0.0,
double  FalseEasting = 0.0,
double  FalseNorthing = 0.0
[inline]
 

Set projection to Equidistant Conic with two standard parallels.

Parameters:
LatStdParallel1  Latitude of first standard parallel (degrees)
LatStdParallel2  Latitude of second standard parallel (degrees)
LonCentralMeridian  Longitude of central meridian (degrees)
LatOrigin  Latitude of origin (degrees)
FalseEasting  False easting (meters)
FalseNorthing  False northing (meters)

Definition at line 806 of file mapproj.h.

ERRVALUE MAPPROJPARM::SetProjectionEquirectangular double  LonCentralMeridian,
double  LatTrueScale,
double  FalseEasting = 0.0,
double  FalseNorthing = 0.0
[inline]
 

Set projection to Equirectangular.

Parameters:
LonCentralMeridian  Longitude of central meridian (degrees)
LatTrueScale  Latitude of true scale (degrees)
FalseEasting  False easting (meters)
FalseNorthing  False northing (meters)

Definition at line 828 of file mapproj.h.

ERRVALUE MAPPROJPARM::SetProjectionGnomonic double  LonCenter,
double  LatCenter,
double  FalseEasting = 0.0,
double  FalseNorthing = 0.0
[inline]
 

Set projection to Gnomonic.

Parameters:
LonCenter  Longitude of center of projection (degrees)
LatCenter  Latitude of center of projection (degrees)
FalseEasting  False easting (meters)
FalseNorthing  False northing (meters)

Definition at line 838 of file mapproj.h.

ERRVALUE MAPPROJPARM::SetProjectionGVNSP double  Height,
double  LonCenter,
double  LatCenter,
double  FalseEasting = 0.0,
double  FalseNorthing = 0.0
[inline]
 

Set projection to General Vertical Near-Side Perspective.

Parameters:
Height  Height above sphere of reference (meters)
LonCenter  Longitude of center of projection (degrees)
LatCenter  Latitude of center of projection (degrees)
FalseEasting  False easting (meters)
FalseNorthing  False northing (meters)

Definition at line 848 of file mapproj.h.

ERRVALUE MAPPROJPARM::SetProjectionLAEA double  LonCenter,
double  LatCenter,
double  FalseEasting = 0.0,
double  FalseNorthing = 0.0
[inline]
 

Set projection to Lambert Azimuthal Equal-Area.

Parameters:
LonCenter  Longitude of center of projection (degrees)
LatCenter  Latitude of center of projection (degrees)
FalseEasting  False easting (meters)
FalseNorthing  False northing (meters)

Definition at line 859 of file mapproj.h.

ERRVALUE MAPPROJPARM::SetProjectionLandsatSOM int  satellite,
int  path
[inline]
 

Set projection to Landsat Space Oblique Mercator.

Parameters:
satellite  Satellite (1-5)
path  Satellite path (1-251)

Definition at line 892 of file mapproj.h.

ERRVALUE MAPPROJPARM::SetProjectionLCC double  LatStdParallel1,
double  LatStdParallel2,
double  LonCentralMeridian,
double  LatOrigin = 0.0,
double  FalseEasting = 0.0,
double  FalseNorthing = 0.0,
double  ScaleFactor = 1.0
[inline]
 

Set projection to Lambert Conformal Conic.

Parameters:
LatStdParallel1  Latitude of first standard parallel (degrees)
LatStdParallel2  Latitude of second standard parallel (degrees)
LonCentralMeridian  Longitude of central meridian (degrees)
LatOrigin  Latitude of origin (degrees)
FalseEasting  False easting (meters)
FalseNorthing  False northing (meters)
ScaleFactor  Scale factor

Definition at line 869 of file mapproj.h.

ERRVALUE MAPPROJPARM::SetProjectionMercator double  ScaleFactor,
double  LonCentralMeridian,
double  LatTrueScale,
double  FalseEasting = 0.0,
double  FalseNorthing = 0.0
[inline]
 

Set projection to Mercator.

Parameters:
ScaleFactor  Scale factor at central meridian
LonCentralMeridian  Longitude of central meridian (degrees)
LatTrueScale  Latitude of true scale (degrees)
FalseEasting  False easting (meters)
FalseNorthing  False northing (meters)

Definition at line 905 of file mapproj.h.

ERRVALUE MAPPROJPARM::SetProjectionMillerCylindrical double  LonCentralMeridian,
double  FalseEasting = 0.0,
double  FalseNorthing = 0.0
[inline]
 

Set projection to MillerCylindrical.

Parameters:
LonCentralMeridian  Longitude of central meridian (degrees)
FalseEasting  False easting (meters)
FalseNorthing  False northing (meters)

Definition at line 916 of file mapproj.h.

ERRVALUE MAPPROJPARM::SetProjectionObliqueMercatorA double  ScaleFactor,
double  LatOrigin,
double  LonGeodeticPoint1,
double  LatGeodeticPoint1,
double  LonGeodeticPoint2,
double  LatGeodeticPoint2,
double  FalseEasting = 0.0,
double  FalseNorthing = 0.0
[inline]
 

Set projection to Oblique Mercator (format A).

Parameters:
ScaleFactor  Scale factor at center
LatOrigin  Latitude of origin (degrees)
LonGeodeticPoint1  Longitude of first point defining central geodetic line of projection
LatGeodeticPoint1  Latitude of first point defining central geodetic line of projection
LonGeodeticPoint2  Longitude of second point defining central geodetic line of projection
LatGeodeticPoint2  Latitude of second point defining central geodetic line of projection
FalseEasting  False easting (meters)
FalseNorthing  False northing (meters)

Definition at line 925 of file mapproj.h.

ERRVALUE MAPPROJPARM::SetProjectionObliqueMercatorB double  ScaleFactor,
double  AzimuthAngle,
double  LonAzimuthPoint,
double  LatOrigin,
double  FalseEasting = 0.0,
double  FalseNorthing = 0.0
[inline]
 

Set projection to Oblique Mercator (format B).

Parameters:
ScaleFactor  Scale factor at center
AzimuthAngle  Angle of azimuth east of north for central line of projection
LonAzimuthPoint  Longitude of point along central line of projection where azimuth is measured (degrees)
LatOrigin  Latitude of origin (degrees)
FalseEasting  False easting (meters)
FalseNorthing  False northing (meters)

Definition at line 950 of file mapproj.h.

ERRVALUE MAPPROJPARM::SetProjectionOrthographic double  LonCenter,
double  LatCenter,
double  FalseEasting = 0.0,
double  FalseNorthing = 0.0
[inline]
 

Set projection to Orthographic.

Parameters:
LonCenter  Longitude of center of projection (degrees)
LatCenter  Latitude of center of projection (degrees)
FalseEasting  False easting (meters)
FalseNorthing  False northing (meters)

Definition at line 971 of file mapproj.h.

ERRVALUE MAPPROJPARM::SetProjectionPolarStereo double  ScaleFactor,
double  LonDownward,
double  LatTrueScale,
double  FalseEasting = 0.0,
double  FalseNorthing = 0.0
[inline]
 

Set projection to Polar Stereographic.

Parameters:
ScaleFactor  Scale factor at center
LonDownward  Longitude directed straight down from pole
LatTrueScale  Latitude of true scale (degrees)
FalseEasting  False easting (meters)
FalseNorthing  False northing (meters)

Definition at line 981 of file mapproj.h.

ERRVALUE MAPPROJPARM::SetProjectionPolyconic double  ScaleFactor,
double  LonCentralMeridian,
double  LatOrigin = 0.0,
double  FalseEasting = 0.0,
double  FalseNorthing = 0.0
[inline]
 

Set projection to Polyconic.

Parameters:
ScaleFactor  Scale factor at center of projection
LonCentralMeridian  Longitude of central meridian (degrees)
LatOrigin  Latitude of origin (degrees)
FalseEasting  False easting (meters)
FalseNorthing  False northing (meters)

Definition at line 992 of file mapproj.h.

ERRVALUE MAPPROJPARM::SetProjectionRobinson double  LonCentralMeridian,
double  FalseEasting = 0.0,
double  FalseNorthing = 0.0
[inline]
 

Set projection to Robinson.

Parameters:
LonCentralMeridian  Longitude of central meridian (degrees)
FalseEasting  False easting (meters)
FalseNorthing  False northing (meters)

Definition at line 1003 of file mapproj.h.

ERRVALUE MAPPROJPARM::SetProjectionSinusoidal double  LonCentralMeridian,
double  FalseEasting = 0.0,
double  FalseNorthing = 0.0
[inline]
 

Set projection to Sinusoidal.

Parameters:
LonCentralMeridian  Longitude of central meridian (degrees)
FalseEasting  False easting (meters)
FalseNorthing  False northing (meters)

Definition at line 1012 of file mapproj.h.

ERRVALUE MAPPROJPARM::SetProjectionStereographic double  ScaleFactor,
double  LonCenter,
double  LatCenter,
double  FalseEasting = 0.0,
double  FalseNorthing = 0.0
[inline]
 

Set projection to Stereographic.

Parameters:
ScaleFactor  Scale factor at center of projection
LonCenter  Longitude of center of projection (degrees)
LatCenter  Latitude of center of projection (degrees)
FalseEasting  False easting (meters)
FalseNorthing  False northing (meters)

Definition at line 1021 of file mapproj.h.

void MAPPROJPARM::SetProjectionSwissConformal double  FalseEasting = 0.0,
double  FalseNorthing = 0.0
[inline]
 

Set projection to Swiss Conformal.

Parameters:
FalseEasting  False easting (meters)
FalseNorthing  False northing (meters)

Definition at line 1032 of file mapproj.h.

ERRVALUE MAPPROJPARM::SetProjectionTransverseMercator double  ScaleFactor,
double  LonCentralMeridian,
double  LatOrigin = 0.0,
double  FalseEasting = 0.0,
double  FalseNorthing = 0.0
[inline]
 

Set projection to Transverse Mercator.

Parameters:
ScaleFactor  Scale factor at center of projection
LonCentralMeridian  Longitude of central meridian (degrees)
LatOrigin  Latitude of origin (degrees)
FalseEasting  False easting (meters)
FalseNorthing  False northing (meters)

Definition at line 1045 of file mapproj.h.

ERRVALUE MAPPROJPARM::SetProjectionVanDerGrintenI double  LonCentralMeridian,
double  FalseEasting = 0.0,
double  FalseNorthing = 0.0
[inline]
 

Set projection to Van der Grinten I.

Parameters:
LonCentralMeridian  Longitude of central meridian (degrees)
FalseEasting  False easting (meters)
FalseNorthing  False northing (meters)

Definition at line 1056 of file mapproj.h.

ERRVALUE MAPPROJPARM::SetSystemGaussKruger INT16  gkzone,
bool  southzone = false
[inline]
 

Set coordinate system to Gauss-Kruger.

Parameters:
gkzone  Zone (1-60, or -1 - -60 as alternative for South zones)
southzone  South zones

Definition at line 1065 of file mapproj.h.

void MAPPROJPARM::SetSystemLatLon  )  [inline]
 

Set coordinate system to Latitude-Longitude.

Definition at line 1088 of file mapproj.h.

void MAPPROJPARM::SetSystemNZMG  )  [inline]
 

Set parameters for Universal Transverse Mercator projection system.

Definition at line 1098 of file mapproj.h.

void MAPPROJPARM::SetSystemUPS bool  southpole = false  )  [inline]
 

Set parameters for Universal Polar Stereographic projection system.

Definition at line 1107 of file mapproj.h.

ERRVALUE MAPPROJPARM::SetSystemUTM INT16  utmzone,
bool  southzone = false
[inline]
 

Set parameters for Universal Transverse Mercator projection system.

Parameters:
utmzone  Zone (1-60, or -1 - -60 as alternative for South zones)
southzone  South zones

Definition at line 1116 of file mapproj.h.


The documentation for this struct was generated from the following file:
Generated on Tue Dec 14 13:19:58 2004 for TNTsdk by  doxygen 1.3.8-20040913