|
Osmium
0.1
|
#include <from_way.hpp>


Protected Member Functions | |
| FromWay (const Osmium::OSM::WayNodeList &way_node_list, bool reverse=false, osm_object_id_t id=0) | |
| SHPObject * | create_line_or_polygon (int shp_type) const |
Protected Attributes | |
| const Osmium::OSM::WayNodeList * | m_way_node_list |
| const bool | m_reverse |
| Osmium::Geometry::FromWay::FromWay | ( | const Osmium::OSM::WayNodeList & | way_node_list, |
| bool | reverse = false, |
||
| osm_object_id_t | id = 0 |
||
| ) | [inline, protected] |
| SHPObject* Osmium::Geometry::FromWay::create_line_or_polygon | ( | int | shp_type | ) | const [inline, protected] |
Create a SHPObject for this way and return it.
Caller takes ownership. You have to call SHPDestroyObject() with this geometry when you are done.
const bool Osmium::Geometry::FromWay::m_reverse [protected] |
const Osmium::OSM::WayNodeList* Osmium::Geometry::FromWay::m_way_node_list [protected] |
1.7.6.1