Package pygeodesy :: Module lcc :: Class Conic
[frames] | no frames]

Class Conic

 object --+        
          |        
 bases.Base --+    
              |    
 object --+   |    
          |   |    
bases.Named --+    
              |    
   datum._Based --+
                  |
                 Conic

Lambert conformal conic projection (1- or 2-SP).

Instance Methods
 
__init__(self, latlon0, par1, par2=None, E0=0, N0=0, k0=1, opt3=0, name='', auth='')
New Lambert conformal conic projection.
 
copy(self, name='')
Copies this conic.
 
toDatum(self, datum)
Converts this conic to the given datum.
 
convertDatum(self, datum)
Converts this conic to the given datum.
 
toStr(self, prec=8)
Returns this conic as a string.

Inherited from datum._Based: __ne__

Inherited from bases.Base: __repr__, __str__, classname, others, toStr2, topsub

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Class Variables
  _n_ = 0
(INTERNAL) Precomputed 1 / n.
Properties
  auth
Gets the authentication authority (string).
  datum
Gets the datum (Datum).
  E0
Gets the false easting (meter).
  k0
Gets scale factor (scalar).
  lat0
Gets the origin latitude (degrees90).
  lon0
Gets the central meridian (degrees180).
  N0
Gets the false northing (meter).
  name
Gets the conic name (string).
  name2
Gets the conic and datum names as "conic.datum" (string).
  par1
Gets the 1st standard parallel (degrees90).
  par2
Gets the 2nd standard parallel (degrees90).
  opt3
Gets the optional meridian (degrees180).
  SP
Gets the number of standard parallels (int).

Inherited from object: __class__

Method Details

__init__(self, latlon0, par1, par2=None, E0=0, N0=0, k0=1, opt3=0, name='', auth='')
(Constructor)

 

New Lambert conformal conic projection.

Parameters:
  • latlon0 - Origin including an ellipsoidal datum (LatLon).
  • par1 - First standard parallel (degrees90).
  • par2 - Second standard parallel (degrees90).
  • E0 - False easting in meter (scalar).
  • N0 - False northing in meter (scalar).
  • k0 - Scale factor (scalar).
  • opt3 - Optional meridian (degrees180).
  • name - Name of the conic (string).
  • auth - Authentication authority (string).
Returns:
A Lambert projection (Conic).
Raises:
  • TypeError - If latlon is not ellipsoidal.
Overrides: object.__init__

Example:

>>> from pygeodesy import Conic, Datums, ellipsoidalNvector
>>> ll0 = ellipsoidalNvector.LatLon(23, -96, datum=Datums.NAD27)
>>> Snyder = Conic(ll0, 33, 45, E0=0, N0=0, name='Snyder')

copy(self, name='')

 

Copies this conic.

Returns:
Conic, unregistered (Conic).

toDatum(self, datum)

 

Converts this conic to the given datum.

Parameters:
  • datum - Ellipsoidal datum to use (Datum).
Returns:
Converted conic, unregistered (Conic).
Raises:
  • TypeError - If datum is not ellipsoidal.

convertDatum(self, datum)

 

Converts this conic to the given datum.

Parameters:
  • datum - Ellipsoidal datum to use (Datum).
Returns:
Converted conic, unregistered (Conic).
Raises:
  • TypeError - If datum is not ellipsoidal.

toStr(self, prec=8)

 

Returns this conic as a string.

Parameters:
  • prec - Number of decimals, unstripped (int).
Returns:
Conic attributes (string).
Overrides: bases.Base.toStr

Property Details

auth

Gets the authentication authority (string).

Get Method:
auth(self) - Gets the authentication authority (string).

datum

Gets the datum (Datum).

Get Method:
datum(self) - Gets the datum (Datum).

E0

Gets the false easting (meter).

Get Method:
E0(self) - Gets the false easting (meter).

k0

Gets scale factor (scalar).

Get Method:
k0(self) - Gets scale factor (scalar).

lat0

Gets the origin latitude (degrees90).

Get Method:
lat0(self) - Gets the origin latitude (degrees90).

lon0

Gets the central meridian (degrees180).

Get Method:
lon0(self) - Gets the central meridian (degrees180).

N0

Gets the false northing (meter).

Get Method:
N0(self) - Gets the false northing (meter).

name

Gets the conic name (string).

Get Method:
name(self) - Gets the conic name (string).
Set Method:
name(self, name) - Sets the conic name.

name2

Gets the conic and datum names as "conic.datum" (string).

Get Method:
name2(self) - Gets the conic and datum names as "conic.datum" (string).

par1

Gets the 1st standard parallel (degrees90).

Get Method:
par1(self) - Gets the 1st standard parallel (degrees90).

par2

Gets the 2nd standard parallel (degrees90).

Get Method:
par2(self) - Gets the 2nd standard parallel (degrees90).

opt3

Gets the optional meridian (degrees180).

Get Method:
opt3(self) - Gets the optional meridian (degrees180).

SP

Gets the number of standard parallels (int).

Get Method:
SP(self) - Gets the number of standard parallels (int).