Home | Trees | Indices | Help |
|
---|
|
object --+ | ??.instance --+ | Projection
Represents a map projection.
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from |
Class Variables | |
__instance_size__ = 48
|
|
__safe_for_unpickling__ = True
|
|
_c___module__ =
|
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=longlat +ellps=WGS84 +datum=WGS84 +no_defs') 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)
|
expanded( (Projection)arg1) -> str : normalize PROJ.4 definition by expanding +init= syntax C++ signature : std::string expanded(mapnik::projection {lvalue}) |
Projects the given object (Box2d or Coord) from the geographic space into the cartesian space. See also: Box2d.forward(self, projection), Coord.forward(self, projection). |
Projects the given object (Box2d or Coord) from the cartesian space into the geographic space. See also: Box2d.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 Fri Aug 3 18:07:09 2012 | http://epydoc.sourceforge.net |