PROJ 4.7.0 and higher interface (requires Proj.py, _proj.so)
More...
|
| | __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.
|
| |
|
|
| name = description |
| |
|
| definition = definition |
| |
|
| instance = Proj.Proj(definition) |
| |
PROJ 4.7.0 and higher interface (requires Proj.py, _proj.so)
◆ __init__()
| Lib.rave_projection.usgs.__init__ |
( |
| self, |
|
|
| description, |
|
|
| definition ) |
Initializer.
- Parameters
-
| description | string containing this projection's identifier |
| definition | PROJ.4 string containing the projection definition |
◆ invproj()
| Lib.rave_projection.usgs.invproj |
( |
| self, |
|
|
| xy ) |
Inverse projection.
- Parameters
-
| tuple | containing 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
-
| xy | tuple 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: