Home | Trees | Indices | Help |
|
---|
|
Classes | |
Color | |
DatasourceCache | |
Feature | |
Featureset | |
FontEngine | |
Geometry2d | |
Image This class represents a 32 bit RGBA image. |
|
ImageView A view into an image. |
|
Layer A Mapnik map layer. |
|
Layers | |
LinePatternSymbolizer | |
LineSymbolizer | |
Map The map object. |
|
Names | |
Parameter | |
Parameters | |
PointDatasource | |
PointSymbolizer | |
PolygonPatternSymbolizer | |
PolygonSymbolizer | |
ProjTransform | |
Properties | |
Query a spatial query data object |
|
RasterSymbolizer | |
Rule | |
Rules | |
ShieldSymbolizer | |
Singleton | |
Stroke | |
Style | |
Symbolizer | |
Symbolizers | |
TextSymbolizer | |
ViewTransform | |
aspect_fix_mode | |
label_placement | |
line_cap | |
line_join |
Functions | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
int : |
|
||
|
|||
|
|||
|
|||
|
|||
|
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>) |
Filter( (str)arg1) -> Filter : C++ signature : boost::shared_ptr<mapnik::filter<mapnik::feature<mapnik::geometry<mapnik::vertex<double, 2> >, boost::shared_ptr<mapnik::raster> > > > Filter(std::string) |
forward_( (Coord)arg1, (Projection)arg2) -> Coord : C++ signature : mapnik::coord<double, 2> forward_(mapnik::coord<double, 2>,mapnik::projection) forward_( (Envelope)arg1, (Projection)arg2) -> Envelope : C++ signature : mapnik::Envelope<double> forward_(mapnik::Envelope<double>,mapnik::projection) |
inverse_( (Coord)arg1, (Projection)arg2) -> Coord : C++ signature : mapnik::coord<double, 2> inverse_(mapnik::coord<double, 2>,mapnik::projection) inverse_( (Envelope)arg1, (Projection)arg2) -> Envelope : C++ signature : mapnik::Envelope<double> inverse_(mapnik::Envelope<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]) -> None : C++ signature : void load_map_from_string(mapnik::Map {lvalue},std::string [,bool]) |
Get the Mapnik version number C++ signature : unsigned int mapnik_version()
|
render( (Map)arg1, (Image)arg2, (int)arg3, (int)arg4) -> None : Render Map to an AGG Image32 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) >>> render(m,im,1,1) C++ signature : void render(mapnik::Map,mapnik::Image32 {lvalue},unsigned int,unsigned int) render( (Map)arg1, (Image)arg2) -> None : Render Map to an AGG Image32 Usage: >>> from mapnik import Map, Image, render, load_map >>> m = Map(256,256) >>> load_map(m,'mapfile.xml') >>> im = Image(m.width,m.height) >>> render(m,im) C++ signature : void render(mapnik::Map,mapnik::Image32 {lvalue}) render( (Map)arg1, (object)arg2, (int)arg3, (int)arg4) -> None : Render Map to Cairo Surface using offsets Usage: >>> from mapnik import Map, render, load_map >>> from cairo import SVGSurface >>> m = Map(256,256) >>> load_map(m,'mapfile.xml') >>> surface = SVGSurface('image.svg', m.width, m.height) >>> render(m,surface,1,1) C++ signature : void render(mapnik::Map,PycairoSurface*,unsigned int,unsigned int) render( (Map)arg1, (object)arg2) -> None : Render Map to Cairo Surface Usage: >>> from mapnik import Map, render, load_map >>> from cairo import SVGSurface >>> m = Map(256,256) >>> load_map(m,'mapfile.xml') >>> surface = SVGSurface('image.svg', m.width, m.height) >>> render(m,surface) C++ signature : void render(mapnik::Map,PycairoSurface*) render( (Map)arg1, (object)arg2, (int)arg3, (int)arg4) -> None : Render Map to Cairo Context using offsets Usage: >>> from mapnik import Map, render, load_map >>> from cairo import SVGSurface, Context >>> surface = SVGSurface('image.svg', m.width, m.height) >>> ctx = Context(surface) >>> load_map(m,'mapfile.xml') >>> render(m,context,1,1) C++ signature : void render(mapnik::Map,PycairoContext*,unsigned int,unsigned int) render( (Map)arg1, (object)arg2) -> None : Render Map to Cairo Context Usage: >>> from mapnik import Map, render, load_map >>> from cairo import SVGSurface, Context >>> surface = SVGSurface('image.svg', m.width, m.height) >>> ctx = Context(surface) >>> load_map(m,'mapfile.xml') >>> render(m,context) C++ signature : void render(mapnik::Map,PycairoContext*) |
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,'image8bit.png','png256') >>> render_to_file(m,'image32bit.png','png') 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) |
save_map( (Map)arg1, (str)arg2) -> None : Save Map object to XML file Usage: >>> from mapnik import Map, load_map, save_map >>> m = Map(256,256) >>> load_map(m,'mapfile_wgs84.xml') >>> m.srs '+proj=latlong +datum=WGS84' >>> m.srs = '+init=espg:3395' >>> save_map(m,'mapfile_mercator.xml') C++ signature : void save_map(mapnik::Map,std::string) |
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) |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sun Mar 29 22:17:15 2009 | http://epydoc.sourceforge.net |