Home | Trees | Indices | Help |
|
---|
|
object --+ | ??.instance --+ | Grid
This class represents a feature hitgrid.
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from |
Class Variables | |
__instance_size__ = 32
|
Properties | |
key Get/Set key to be used as unique indentifier for features The value should either be __id__ to refer to the feature.id() or some globally unique integer or string attribute field |
|
Inherited from |
Method Details |
__init__( (object)arg1, (int)width, (int)height [, (str)key='__id__' [, (int)resolution=1]]) -> None : Create a mapnik.Grid object C++ signature : void __init__(_object*,int,int [,std::string='__id__' [,unsigned int=1]])
|
helper for pickle
|
encode( (Grid)arg1 [, (str)encoding='utf' [, (bool)features=True [, (int)resolution=4]]]) -> dict : Encode the grid as as optimized json C++ signature : boost::python::dict encode(mapnik::hit_grid<int> [,std::string='utf' [,bool=True [,unsigned int=4]]]) |
get_pixel( (Grid)arg1, (int)arg2, (int)arg3) -> int : C++ signature : int get_pixel(mapnik::hit_grid<int>,int,int) |
height( (Grid)arg1) -> int : C++ signature : unsigned int height(mapnik::hit_grid<int> {lvalue}) |
painted( (Grid)arg1) -> bool : C++ signature : bool painted(mapnik::hit_grid<int>) |
view( (Grid)arg1, (int)arg2, (int)arg3, (int)arg4, (int)arg5) -> GridView : C++ signature : mapnik::hit_grid_view<mapnik::ImageData<int> > view(mapnik::hit_grid<int> {lvalue},unsigned int,unsigned int,unsigned int,unsigned int) |
width( (Grid)arg1) -> int : C++ signature : unsigned int width(mapnik::hit_grid<int> {lvalue}) |
Property Details |
keyGet/Set key to be used as unique indentifier for features The value should either be __id__ to refer to the feature.id() or some globally unique integer or string attribute field
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Aug 23 15:08:14 2012 | http://epydoc.sourceforge.net |