RAVE
Lib.rave_projection.usgs Class Reference

PROJ 4.7.0 and higher interface (requires Proj.py, _proj.so). More...

Public Member Functions

 __init__ (self, description, definition)
 Initializer.
 proj (self, xy)
 Forward projection.
 invproj (self, xy)
 Inverse projection.
 tostring (self)
 String representation of a projection definition @ returns string representation of the projection.

Public Attributes

 name = description
 definition = definition
 instance = Proj.Proj(definition)

Detailed Description

PROJ 4.7.0 and higher interface (requires Proj.py, _proj.so).

Constructor & Destructor Documentation

◆ __init__()

Lib.rave_projection.usgs.__init__ ( self,
description,
definition )

Initializer.

Parameters
descriptionstring containing this projection's identifier
definitionPROJ.4 string containing the projection definition

Member Function Documentation

◆ invproj()

Lib.rave_projection.usgs.invproj ( self,
xy )

Inverse projection.

Parameters
tuplecontaining X/Y in projection-specific coordinates
Returns
xy tuple containing lon/lat coordinate pair

◆ proj()

Lib.rave_projection.usgs.proj ( self,
xy )

Forward projection.

Parameters
xytuple containing lon/lat coordinate pair
Returns
tuple containing X/Y in projection-specific coordinates

◆ tostring()

Lib.rave_projection.usgs.tostring ( self)

String representation of a projection definition @ returns string representation of the projection.


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