Home | Trees | Indices | Help |
|
---|
|
Functions | |||
|
|||
|
|||
|
|||
|
|||
|
|||
bool : |
|
||
bool : |
|
||
bool : |
|
||
|
|||
|
|||
|
|||
int : |
|
||
str : |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Variables | |
COLORIZER_DISCRETE = mapnik._mapnik.ColorizerMode.COLORIZER_DI
|
|
COLORIZER_EXACT = mapnik._mapnik.ColorizerMode.COLORIZER_EXACT
|
|
COLORIZER_INHERIT = mapnik._mapnik.ColorizerMode.COLORIZER_INH
|
|
COLORIZER_LINEAR = mapnik._mapnik.ColorizerMode.COLORIZER_LINEAR
|
|
__package__ = None
|
Function Details |
CreateDatasource( (dict)arg1) -> Datasource : C++ signature : boost::shared_ptr<mapnik::datasource> CreateDatasource(boost::python::dict) |
Describe( (Datasource)arg1) -> str : C++ signature : std::string Describe(boost::shared_ptr<mapnik::datasource>) |
Expression( (str)expr) -> Expression : Expression string C++ signature : boost::shared_ptr<boost::variant<mapnik::value, mapnik::attribute, boost::recursive_wrapper<mapnik::binary_node<mapnik::tags::plus> >, boost::recursive_wrapper<mapnik::binary_node<mapnik::tags::minus> >, boost::recursive_wrapper<mapnik::binary_node<mapnik::tags::mult> >, boost::recursive_wrapper<mapnik::binary_node<mapnik::tags::div> >, boost::recursive_wrapper<mapnik::binary_node<mapnik::tags::mod> >, boost::recursive_wrapper<mapnik::binary_node<mapnik::tags::less> >, boost::recursive_wrapper<mapnik::binary_node<mapnik::tags::less_equal> >, boost::recursive_wrapper<mapnik::binary_node<mapnik::tags::greater> >, boost::recursive_wrapper<mapnik::binary_node<mapnik::tags::greater_equal> >, boost::recursive_wrapper<mapnik::binary_node<mapnik::tags::equal_to> >, boost::recursive_wrapper<mapnik::binary_node<mapnik::tags::not_equal_to> >, boost::recursive_wrapper<mapnik::unary_node<mapnik::tags::logical_not> >, boost::recursive_wrapper<mapnik::binary_node<mapnik::tags::logical_and> >, boost::recursive_wrapper<mapnik::binary_node<mapnik::tags::logical_or> >, boost::recursive_wrapper<mapnik::regex_match_node>, boost::recursive_wrapper<mapnik::regex_replace_node>, boost::detail::variant::void_, boost::detail::variant::void_> > Expression(std::string) |
PathExpression( (str)expr) -> PathExpression : PathExpression string C++ signature : boost::shared_ptr<std::vector<boost::variant<std::string, mapnik::attribute, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_>, std::allocator<boost::variant<std::string, mapnik::attribute, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_> > > > PathExpression(std::string) |
forward_( (Coord)arg1, (Projection)arg2) -> Coord : C++ signature : mapnik::coord<double, 2> forward_(mapnik::coord<double, 2>,mapnik::projection) forward_( (Box2d)arg1, (Projection)arg2) -> Box2d : C++ signature : mapnik::box2d<double> forward_(mapnik::box2d<double>,mapnik::projection) |
Get cairo library status C++ signature : bool has_cairo()
|
Get jpeg read/write support status C++ signature : bool has_jpeg()
|
Get pycairo module status C++ signature : bool has_pycairo()
|
inverse_( (Coord)arg1, (Projection)arg2) -> Coord : C++ signature : mapnik::coord<double, 2> inverse_(mapnik::coord<double, 2>,mapnik::projection) inverse_( (Box2d)arg1, (Projection)arg2) -> Box2d : C++ signature : mapnik::box2d<double> inverse_(mapnik::box2d<double>,mapnik::projection) |
load_map( (Map)arg1, (str)arg2 [, (bool)arg3]) -> None : C++ signature : void load_map(mapnik::Map {lvalue},std::string [,bool]) |
load_map_from_string( (Map)arg1, (str)arg2 [, (bool)arg3 [, (str)arg4]]) -> None : C++ signature : void load_map_from_string(mapnik::Map {lvalue},std::string [,bool [,std::string]]) |
Get the Mapnik version number C++ signature : unsigned int mapnik_version()
|
Get the Mapnik version string C++ signature : std::string mapnik_version_string()
|
render( (Map)arg1, (Image)arg2 [, (float)arg3 [, (int)arg4 [, (int)arg5]]]) -> None : Render Map to an AGG image_32 using offsets Usage: >>> from mapnik import Map, Image, render, load_map >>> m = Map(256,256) >>> load_map(m,'mapfile.xml') >>> im = Image(m.width,m.height) >>> scale_factor=2.0 >>> offset = [100,50] >>> render(m,im) >>> render(m,im,scale_factor) >>> render(m,im,scale_factor,offset[0],offset[1]) C++ signature : void render(mapnik::Map,mapnik::image_32 {lvalue} [,double [,unsigned int [,unsigned int]]]) |
render_grid( (Map)map, (int)layer [, (str)key='__id__' [, (int)resolution=4 [, (list)fields=[]]]]) -> dict : C++ signature : boost::python::dict render_grid(mapnik::Map,unsigned int [,std::string='__id__' [,unsigned int=4 [,boost::python::list=[]]]]) |
render_layer( (Map)map, (Image)image, (int)layer) -> None : C++ signature : void render_layer(mapnik::Map,mapnik::image_32 {lvalue},unsigned int) render_layer( (Map)map, (Grid)grid, (int)layer [, (list)fields=[]]) -> None : C++ signature : void render_layer(mapnik::Map,mapnik::hit_grid<unsigned short> {lvalue},unsigned int [,boost::python::list=[]]) |
render_tile_to_file( (Map)arg1, (int)arg2, (int)arg3, (int)arg4, (int)arg5, (str)arg6, (str)arg7) -> None : TODO C++ signature : void render_tile_to_file(mapnik::Map,unsigned int,unsigned int,unsigned int,unsigned int,std::string,std::string) |
render_to_file( (Map)arg1, (str)arg2, (str)arg3) -> None : Render Map to file using explicit image type. Usage: >>> from mapnik import Map, render_to_file, load_map >>> m = Map(256,256) >>> load_map(m,'mapfile.xml') >>> render_to_file(m,'image32bit.png','png') 8 bit (paletted) PNG can be requested with 'png256': >>> render_to_file(m,'8bit_image.png','png256') JPEG quality can be controlled by adding a suffix to 'jpeg' between 0 and 100 (default is 85): >>> render_to_file(m,'top_quality.jpeg','jpeg100') >>> render_to_file(m,'medium_quality.jpeg','jpeg50') C++ signature : void render_to_file(mapnik::Map,std::string,std::string) render_to_file( (Map)arg1, (str)arg2) -> None : Render Map to file (type taken from file extension) Usage: >>> from mapnik import Map, render_to_file, load_map >>> m = Map(256,256) >>> render_to_file(m,'image.jpeg') C++ signature : void render_to_file(mapnik::Map,std::string) render_to_file( (Map)arg1, (str)arg2, (str)arg3, (float)arg4) -> None : Render Map to file using explicit image type and scale factor. Usage: >>> from mapnik import Map, render_to_file, load_map >>> m = Map(256,256) >>> scale_factor = 4 >>> render_to_file(m,'image.jpeg',scale_factor) C++ signature : void render_to_file(mapnik::Map,std::string,std::string,double) |
save_map( (Map)arg1, (str)arg2 [, (bool)arg3]) -> None : C++ signature : void save_map(mapnik::Map,std::string [,bool]) |
save_map_to_string( (Map)arg1 [, (bool)arg2]) -> str : C++ signature : std::string save_map_to_string(mapnik::Map [,bool]) |
scale_denominator( (Map)arg1, (bool)arg2) -> float : Return the Map Scale Denominator. Also available as Map.scale_denominator() Usage: >>> from mapnik import Map, Projection, scale_denominator, load_map >>> m = Map(256,256) >>> load_map(m,'mapfile.xml') >>> scale_denominator(m,Projection(m.srs).geographic) C++ signature : double scale_denominator(mapnik::Map,bool) |
Variables Details |
COLORIZER_DISCRETE
|
COLORIZER_INHERIT
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue Apr 24 13:21:23 2012 | http://epydoc.sourceforge.net |