| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
??.instance --+
|
Projection
Represents a map projection.
| Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from |
|||
| Class Variables | |
__instance_size__ = 16
|
|
__safe_for_unpickling__ = True
|
|
| Properties | |
|
geographic This property is True if the projection is a geographic projection (i.e. |
|
|
Inherited from |
|
| Method Details |
__getinitargs__( (Projection)arg1) -> tuple :
C++ signature :
boost::python::tuple __getinitargs__(mapnik::projection)
|
__init__( (object)arg1 [, (str)proj4_string]) -> None :
Constructs a new projection from its PROJ.4 string representation.
The parameterless version of this constructor is equivalent to
Projection('+proj=latlong +ellps=WGS84')
The constructor will throw a RuntimeError in case the projection
cannot be initialized.
C++ signature :
void __init__(_object* [,std::string])
|
helper for pickle
|
repr(x)
|
Projects the given object (Envelope or Coord) from the geographic space into the cartesian space. See also: Envelope.forward(self, projection), Coord.forward(self, projection). |
Projects the given object (Envelope or Coord) from the cartesian space into the geographic space. See also: Envelope.inverse(self, projection), Coord.inverse(self, projection). |
params( (Projection)arg1) -> str :
Returns the PROJ.4 string for this projection.
C++ signature :
std::string params(mapnik::projection {lvalue})
|
| Property Details |
geographicThis property is True if the projection is a geographic projection (i.e. it uses lon/lat coordinates)
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Sun Nov 8 09:00:49 2009 | http://epydoc.sourceforge.net |