Package mapnik :: Module _mapnik :: Class Path

Class Path

 object --+    
          |    
??.instance --+
              |
             Path

Instance Methods
 
__getitem__(...)
__getitem__( (Path)arg1, (int)arg2) -> Geometry2d :
 
__init__(...)
__init__( (object)arg1) -> None :
 
__len__(...)
__len__( (Path)arg1) -> int :
 
__reduce__(...)
helper for pickle
 
add_geojson(...)
add_geojson( (Path)arg1, (str)arg2) -> None :
 
add_wkb(...)
add_wkb( (Path)arg1, (str)arg2) -> None :
 
add_wkt(...)
add_wkt( (Path)arg1, (str)arg2) -> None :
 
envelope(...)
envelope( (Path)arg1) -> Box2d :
 
to_geojson(...)
to_geojson( (Path)arg1) -> str :
 
to_wkb(...)
to_wkb( (Path)arg1, (wkbByteOrder)arg2) -> object :
 
to_wkt(...)
to_wkt( (Path)arg1) -> str :

Inherited from unreachable.instance: __new__

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

Static Methods
 
from_geojson(...)
from_geojson( (str)arg1) -> Path :
 
from_wkb(...)
from_wkb( (str)arg1) -> Path :
 
from_wkt(...)
from_wkt( (str)arg1) -> Path :
Class Variables
  __instance_size__ = 32
Properties

Inherited from object: __class__

Method Details

__getitem__(...)
(Indexing operator)

 

__getitem__( (Path)arg1, (int)arg2) -> Geometry2d :

    C++ signature :
        mapnik::geometry<double, mapnik::vertex_vector> __getitem__(boost::ptr_vector<mapnik::geometry<double, mapnik::vertex_vector>, boost::heap_clone_allocator, std::allocator<void*> > {lvalue},int)

__init__(...)
(Constructor)

 

__init__( (object)arg1) -> None :

    C++ signature :
        void __init__(_object*)

Overrides: object.__init__

__len__(...)
(Length operator)

 

__len__( (Path)arg1) -> int :

    C++ signature :
        unsigned long __len__(boost::ptr_vector<mapnik::geometry<double, mapnik::vertex_vector>, boost::heap_clone_allocator, std::allocator<void*> > {lvalue})

__reduce__(...)

 

helper for pickle

Overrides: object.__reduce__
(inherited documentation)

add_geojson(...)

 

add_geojson( (Path)arg1, (str)arg2) -> None :

    C++ signature :
        void add_geojson(boost::ptr_vector<mapnik::geometry<double, mapnik::vertex_vector>, boost::heap_clone_allocator, std::allocator<void*> > {lvalue},std::string)

add_wkb(...)

 

add_wkb( (Path)arg1, (str)arg2) -> None :

    C++ signature :
        void add_wkb(boost::ptr_vector<mapnik::geometry<double, mapnik::vertex_vector>, boost::heap_clone_allocator, std::allocator<void*> > {lvalue},std::string)

add_wkt(...)

 

add_wkt( (Path)arg1, (str)arg2) -> None :

    C++ signature :
        void add_wkt(boost::ptr_vector<mapnik::geometry<double, mapnik::vertex_vector>, boost::heap_clone_allocator, std::allocator<void*> > {lvalue},std::string)

envelope(...)

 

envelope( (Path)arg1) -> Box2d :

    C++ signature :
        mapnik::box2d<double> envelope(boost::ptr_vector<mapnik::geometry<double, mapnik::vertex_vector>, boost::heap_clone_allocator, std::allocator<void*> > {lvalue})

from_geojson(...)
Static Method

 

from_geojson( (str)arg1) -> Path :

    C++ signature :
        boost::shared_ptr<boost::ptr_vector<mapnik::geometry<double, mapnik::vertex_vector>, boost::heap_clone_allocator, std::allocator<void*> > > from_geojson(std::string)

from_wkb(...)
Static Method

 

from_wkb( (str)arg1) -> Path :

    C++ signature :
        boost::shared_ptr<boost::ptr_vector<mapnik::geometry<double, mapnik::vertex_vector>, boost::heap_clone_allocator, std::allocator<void*> > > from_wkb(std::string)

from_wkt(...)
Static Method

 

from_wkt( (str)arg1) -> Path :

    C++ signature :
        boost::shared_ptr<boost::ptr_vector<mapnik::geometry<double, mapnik::vertex_vector>, boost::heap_clone_allocator, std::allocator<void*> > > from_wkt(std::string)

to_geojson(...)

 

to_geojson( (Path)arg1) -> str :

    C++ signature :
        std::string to_geojson(boost::ptr_vector<mapnik::geometry<double, mapnik::vertex_vector>, boost::heap_clone_allocator, std::allocator<void*> >)

to_wkb(...)

 

to_wkb( (Path)arg1, (wkbByteOrder)arg2) -> object :

    C++ signature :
        _object* to_wkb(boost::ptr_vector<mapnik::geometry<double, mapnik::vertex_vector>, boost::heap_clone_allocator, std::allocator<void*> >,mapnik::util::wkbByteOrder)

to_wkt(...)

 

to_wkt( (Path)arg1) -> str :

    C++ signature :
        std::string to_wkt(boost::ptr_vector<mapnik::geometry<double, mapnik::vertex_vector>, boost::heap_clone_allocator, std::allocator<void*> >)