Package mapnik :: Module _mapnik :: Class Featureset

Class Featureset

 object --+    
          |    
??.instance --+
              |
             Featureset

Instance Methods
 
__init__(...)
Raises an exception This class cannot be instantiated from Python
 
__iter__(...)
__iter__( (object)arg1) -> object :
 
__reduce__(...)
helper for pickle
 
next(...)
next( (Featureset)arg1) -> Feature :

Inherited from unreachable.instance: __new__

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

Properties
  features
The list of features.

Inherited from object: __class__

Method Details

__init__(...)
(Constructor)

 

Raises an exception This class cannot be instantiated from Python

Overrides: object.__init__

__iter__(...)

 

__iter__( (object)arg1) -> object :

    C++ signature :
        boost::python::api::object __iter__(boost::python::api::object)

__reduce__(...)

 

helper for pickle

Overrides: object.__reduce__
(inherited documentation)

next(...)

 

next( (Featureset)arg1) -> Feature :

    C++ signature :
        boost::shared_ptr<mapnik::feature_impl> next(boost::shared_ptr<mapnik::Featureset>)


Property Details

features

The list of features.

Usage: >>> m.query_map_point(0, 10, 10) <mapnik._mapnik.Featureset object at 0x1004d2938> >>> fs = m.query_map_point(0, 10, 10) >>> for f in fs.features: >>> print f <mapnik.Feature object at 0x105e64140>

Get Method:
unreachable(...)