Package mapnik :: Class Feature

Class Feature

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

A Feature.

TODO: docs

Instance Methods
 
__contains__(...)
__contains__( (Feature)arg1, (object)arg2) -> bool :
 
__delitem__(...)
__delitem__( (Feature)arg1, (object)arg2) -> None :
 
__getitem__(...)
__getitem__( (object)arg1, (object)arg2) -> object :
 
__init__(self, id, wkt=None, **properties)
x.__init__(...) initializes x; see help(type(x)) for signature
 
__iter__(...)
__iter__( (object)arg1) -> object :
 
__len__(...)
__len__( (Feature)arg1) -> int :
 
__reduce__(...)
helper for pickle
 
__setitem__(...)
__setitem__( (Feature)arg1, (object)arg2, (object)arg3) -> None :
 
__str__(...)
__str__( (Feature)arg1) -> str :
 
_c___init__(...)
__init__( (object)arg1, (int)arg2) -> None : Default ctor.
 
add_geometries_from_wkb(...)
add_geometries_from_wkb( (Feature)arg1, (str)arg2) -> None :
 
add_geometries_from_wkt(...)
add_geometries_from_wkt( (Feature)arg1, (str)arg2) -> None :
 
envelope(...)
envelope( (Feature)arg1) -> Box2d :
 
geometries(...)
geometries( (Feature)arg1) -> Path :
 
id(...)
id( (Feature)arg1) -> int :
 
iteritems(...)
iteritems( (object)arg1) -> object :

Inherited from unreachable.instance: __new__

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

Class Variables
  __instance_size__ = 32
  _c___doc__ = None
  _c___module__ = 'mapnik._mapnik'
Properties
  attributes
  properties

Inherited from object: __class__

Method Details

__contains__(...)
(In operator)

 

__contains__( (Feature)arg1, (object)arg2) -> bool :

    C++ signature :
        bool __contains__(mapnik::feature<mapnik::geometry<mapnik::vertex<double, 2>, mapnik::vertex_vector>, boost::shared_ptr<mapnik::raster> > {lvalue},_object*)

__delitem__(...)
(Index deletion operator)

 

__delitem__( (Feature)arg1, (object)arg2) -> None :

    C++ signature :
        void __delitem__(mapnik::feature<mapnik::geometry<mapnik::vertex<double, 2>, mapnik::vertex_vector>, boost::shared_ptr<mapnik::raster> > {lvalue},_object*)

__getitem__(...)
(Indexing operator)

 

__getitem__( (object)arg1, (object)arg2) -> object :

    C++ signature :
        boost::python::api::object __getitem__(boost::python::back_reference<mapnik::feature<mapnik::geometry<mapnik::vertex<double, 2>, mapnik::vertex_vector>, boost::shared_ptr<mapnik::raster> >&>,_object*)

__init__(self, id, wkt=None, **properties)
(Constructor)

 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

__iter__(...)

 

__iter__( (object)arg1) -> object :

    C++ signature :
        boost::python::objects::iterator_range<boost::python::return_value_policy<boost::python::return_by_value, boost::python::default_call_policies>, std::_Rb_tree_iterator<std::pair<std::string const, mapnik::value> > > __iter__(boost::python::back_reference<mapnik::feature<mapnik::geometry<mapnik::vertex<double, 2>, mapnik::vertex_vector>, boost::shared_ptr<mapnik::raster> >&>)

__len__(...)
(Length operator)

 

__len__( (Feature)arg1) -> int :

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

__reduce__(...)

 

helper for pickle

Overrides: object.__reduce__
(inherited documentation)

__setitem__(...)
(Index assignment operator)

 

__setitem__( (Feature)arg1, (object)arg2, (object)arg3) -> None :

    C++ signature :
        void __setitem__(mapnik::feature<mapnik::geometry<mapnik::vertex<double, 2>, mapnik::vertex_vector>, boost::shared_ptr<mapnik::raster> > {lvalue},_object*,_object*)

__str__(...)
(Informal representation operator)

 

__str__( (Feature)arg1) -> str :

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

Overrides: object.__str__

_c___init__(...)

 

__init__( (object)arg1, (int)arg2) -> None :
    Default ctor.

    C++ signature :
        void __init__(_object*,int)

add_geometries_from_wkb(...)

 

add_geometries_from_wkb( (Feature)arg1, (str)arg2) -> None :

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

add_geometries_from_wkt(...)

 

add_geometries_from_wkt( (Feature)arg1, (str)arg2) -> None :

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

envelope(...)

 

envelope( (Feature)arg1) -> Box2d :

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

geometries(...)

 

geometries( (Feature)arg1) -> Path :

    C++ signature :
        boost::ptr_vector<mapnik::geometry<mapnik::vertex<double, 2>, mapnik::vertex_vector>, boost::heap_clone_allocator, std::allocator<void*> > {lvalue} geometries(mapnik::feature<mapnik::geometry<mapnik::vertex<double, 2>, mapnik::vertex_vector>, boost::shared_ptr<mapnik::raster> > {lvalue})

id(...)

 

id( (Feature)arg1) -> int :

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

iteritems(...)

 

iteritems( (object)arg1) -> object :

    C++ signature :
        boost::python::objects::iterator_range<boost::python::return_value_policy<boost::python::return_by_value, boost::python::default_call_policies>, std::_Rb_tree_iterator<std::pair<std::string const, mapnik::value> > > iteritems(boost::python::back_reference<mapnik::feature<mapnik::geometry<mapnik::vertex<double, 2>, mapnik::vertex_vector>, boost::shared_ptr<mapnik::raster> >&>)


Property Details

attributes

Get Method:
unreachable.attributes(self)

properties

Get Method:
unreachable.properties(self)