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
|
clear( (Grid)arg1) -> None : C++ signature : void clear(mapnik::hit_grid<long long> {lvalue}) |
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<long long> [,std::string='utf' [,bool=True [,unsigned int=4]]]) |
get_pixel( (Grid)arg1, (int)arg2, (int)arg3) -> long : C++ signature : long long get_pixel(mapnik::hit_grid<long long>,int,int) |
height( (Grid)arg1) -> int : C++ signature : unsigned int height(mapnik::hit_grid<long long> {lvalue}) |
painted( (Grid)arg1) -> bool : C++ signature : bool painted(mapnik::hit_grid<long long>) |
view( (Grid)arg1, (int)arg2, (int)arg3, (int)arg4, (int)arg5) -> GridView : C++ signature : mapnik::hit_grid_view<mapnik::ImageData<long long> > view(mapnik::hit_grid<long long> {lvalue},unsigned int,unsigned int,unsigned int,unsigned int) |
width( (Grid)arg1) -> int : C++ signature : unsigned int width(mapnik::hit_grid<long long> {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 Mon Jun 3 18:45:01 2013 | http://epydoc.sourceforge.net |