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<unsigned short> [,std::string='utf' [,bool=True [,unsigned int=4]]]) |
height( (Grid)arg1) -> int : C++ signature : unsigned int height(mapnik::hit_grid<unsigned short> {lvalue}) |
painted( (Grid)arg1) -> bool : C++ signature : bool painted(mapnik::hit_grid<unsigned short>) |
view( (Grid)arg1, (int)arg2, (int)arg3, (int)arg4, (int)arg5) -> GridView : C++ signature : mapnik::hit_grid_view<mapnik::ImageData<unsigned short> > view(mapnik::hit_grid<unsigned short> {lvalue},unsigned int,unsigned int,unsigned int,unsigned int) |
width( (Grid)arg1) -> int : C++ signature : unsigned int width(mapnik::hit_grid<unsigned short> {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 Tue Apr 24 13:21:24 2012 | http://epydoc.sourceforge.net |