Package mapnik :: Class Feature

Class Feature

 object --+    
          |    
??.instance --+
              |
             Feature
Known Subclasses:

Instance Methods
 
__init__(...)
Raises an exception This class cannot be instantiated from Python
 
__reduce__(...)
helper for pickle
 
__str__(...)
__str__( (Feature)arg1) -> str :
 
envelope(...)
envelope( (Feature)arg1) -> Envelope :
 
get_geometry(...)
get_geometry( (Feature)arg1, (int)arg2) -> Geometry2d :
 
id(...)
id( (Feature)arg1) -> int :
 
num_geometries(...)
num_geometries( (Feature)arg1) -> int :

Inherited from unreachable.instance: __new__

Inherited from object: __delattr__, __getattribute__, __hash__, __reduce_ex__, __repr__, __setattr__

Properties
  attributes
  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)

__str__(...)
(Informal representation operator)

 

__str__( (Feature)arg1) -> str :

    C++ signature :
        std::string __str__(mapnik::feature<mapnik::geometry<mapnik::vertex<double, 2> >, boost::shared_ptr<mapnik::raster> > {lvalue})

Overrides: object.__str__

envelope(...)

 

envelope( (Feature)arg1) -> Envelope :

    C++ signature :
        mapnik::Envelope<double> envelope(mapnik::feature<mapnik::geometry<mapnik::vertex<double, 2> >, boost::shared_ptr<mapnik::raster> > {lvalue})

get_geometry(...)

 

get_geometry( (Feature)arg1, (int)arg2) -> Geometry2d :

    C++ signature :
        mapnik::geometry<mapnik::vertex<double, 2> > {lvalue} get_geometry(mapnik::feature<mapnik::geometry<mapnik::vertex<double, 2> >, boost::shared_ptr<mapnik::raster> > {lvalue},unsigned int)

id(...)

 

id( (Feature)arg1) -> int :

    C++ signature :
        int id(mapnik::feature<mapnik::geometry<mapnik::vertex<double, 2> >, boost::shared_ptr<mapnik::raster> > {lvalue})

num_geometries(...)

 

num_geometries( (Feature)arg1) -> int :

    C++ signature :
        unsigned int num_geometries(mapnik::feature<mapnik::geometry<mapnik::vertex<double, 2> >, boost::shared_ptr<mapnik::raster> > {lvalue})


Property Details

attributes

Get Method:
unreachable.attributes(self)

properties

Get Method:
unreachable(...)