Subversion Repositories eFlore/Applications.cel

Rev

Rev 442 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 442 Rev 3473
Line 102... Line 102...
102
	var $longOfOrigin;							// For Lambert Projection
102
	var $longOfOrigin;							// For Lambert Projection
103
	var $firstStdParallel;						// For lambert Projection
103
	var $firstStdParallel;						// For lambert Projection
104
	var $secondStdParallel;						// For lambert Projection
104
	var $secondStdParallel;						// For lambert Projection
Line 105... Line 105...
105
 
105
 
106
	// constructor
106
	// constructor
107
	function gPoint($datum='WGS 84')			// Default datum is WGS 84
107
	function __construct($datum='WGS 84')			// Default datum is WGS 84
108
	{
108
	{
109
		$this->a = $this->ellipsoid[$datum][0];		// Set datum Equatorial Radius
109
		$this->a = $this->ellipsoid[$datum][0];		// Set datum Equatorial Radius
110
		$this->e2 = $this->ellipsoid[$datum][1];	// Set datum Square of eccentricity
110
		$this->e2 = $this->ellipsoid[$datum][1];	// Set datum Square of eccentricity
111
		$this->datum = $datum;						// Save the datum
111
		$this->datum = $datum;						// Save the datum