Package mapnik :: Module _mapnik :: Class GridView

Class GridView

 object --+    
          |    
??.instance --+
              |
             GridView

This class represents a feature hitgrid subset.

Instance Methods
 
__init__(...)
Raises an exception This class cannot be instantiated from Python
 
__reduce__(...)
helper for pickle
 
encode(...)
encode( (GridView)arg1 [, (str)encoding='utf' [, (bool)add_features=True [, (int)resolution=4]]]) -> dict : Encode the grid as as optimized json
 
height(...)
height( (GridView)arg1) -> int :
 
width(...)
width( (GridView)arg1) -> int :

Inherited from unreachable.instance: __new__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties

Inherited from object: __class__

Method Details

__init__(...)
(Constructor)

 

Raises an exception This class cannot be instantiated from Python

Overrides: object.__init__

__reduce__(...)

 

helper for pickle

Overrides: object.__reduce__
(inherited documentation)

encode(...)

 

encode( (GridView)arg1 [, (str)encoding='utf' [, (bool)add_features=True [, (int)resolution=4]]]) -> dict :
    Encode the grid as as optimized json
    

    C++ signature :
        boost::python::dict encode(mapnik::hit_grid_view<mapnik::ImageData<unsigned short> > [,std::string='utf' [,bool=True [,unsigned int=4]]])

height(...)

 

height( (GridView)arg1) -> int :

    C++ signature :
        unsigned int height(mapnik::hit_grid_view<mapnik::ImageData<unsigned short> > {lvalue})

width(...)

 

width( (GridView)arg1) -> int :

    C++ signature :
        unsigned int width(mapnik::hit_grid_view<mapnik::ImageData<unsigned short> > {lvalue})