GCL::SPK Class Reference

Schweizer Projektionskoordinaten. More...

#include <spk.h>

Inheritance diagram for GCL::SPK:

GCL::Projection GCL::Ellipsoid GCL::SPKLV03 GCL::SPKLV95

List of all members.

Public Member Functions

 SPK (double x0=200000., double y0=600000.)
 constructor
virtual const char * map_name () const
 get map projection name
conversion routines
conversion between geodetic and map coordinates

void geo_to_map (double b, double l, double &y, double &x) const
 convert geodetic into map coordinates
void map_to_geo (double y, double x, double &b, double &l) const
 convert map into geodetic coordinates


Detailed Description

Schweizer Projektionskoordinaten.

Conversion routines for Schweizer Projektionskoordinaten (Swiss oblique Mercator projection). Reference ellipsoid: Bessel. Reference point: Bern. This projection is based upon three steps:

  1. conformal transformation of ellipsoid coordinates to a sphere,
  2. rotational transformation of the sperical system so that the specified projection origin will lie on the equator, and
  3. application of the Mercator projection to transform to the cartesian system.

For references see PDF document doc/refsysd.pdf.

Author:
Dirk Stallmann

Constructor & Destructor Documentation

GCL::SPK::SPK ( double  x0 = 200000.,
double  y0 = 600000. 
) [inline]

constructor

Constructor with default offsets for the reference system LV03 x0=200000 and y0=600000. For LV95 use the offsets x0=1200000 and y0=2600000.

References GCL::Projection::_b0, GCL::Projection::_l0, GCL::Projection::_x0, GCL::Projection::_y0, GCL::Projection::x0(), and GCL::Projection::y0().


Member Function Documentation

void GCL::SPK::geo_to_map ( double  b,
double  l,
double &  y,
double &  x 
) const [virtual]

convert geodetic into map coordinates

Parameters:
[in] b,l geodetic coordinates, latitude and longitude in radian
[out] x,y map coordinates in meter

Implements GCL::Projection.

References GCL::Projection::_b0, GCL::Projection::_l0, GCL::Projection::_x0, and GCL::Projection::_y0.

void GCL::SPK::map_to_geo ( double  y,
double  x,
double &  b,
double &  l 
) const [virtual]

convert map into geodetic coordinates

Parameters:
[in] x,y map coordinates in meter
[out] b,l geodetic coordinates, latitude and longitude in radian

Implements GCL::Projection.

References GCL::Projection::_b0, and GCL::Projection::_l0.


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

Generated on Wed Aug 6 15:31:16 2008 by  doxygen 1.5.5