QGIS API Documentation  2.10.1-Pisa
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | List of all members
QgsOSMNode Class Reference

A node is one of the core elements in the OpenStreetMap data model. More...

#include <qgsosmbase.h>

Inheritance diagram for QgsOSMNode:
Inheritance graph
[legend]

Public Member Functions

 QgsOSMNode ()
 
 QgsOSMNode (QgsOSMId id, const QgsPoint &point)
 
QgsPoint point () const
 
QList< QgsOSMElementIDrelations () const
 
QList< QgsOSMElementIDways () const
 
- Public Member Functions inherited from QgsOSMElement
 QgsOSMElement ()
 
 QgsOSMElement (QgsOSMElementID::Type t, QgsOSMId id)
 
QgsOSMDatabasedatabase () const
 
QgsOSMElementID elemID () const
 
QgsOSMId id () const
 
bool isValid () const
 

Detailed Description

A node is one of the core elements in the OpenStreetMap data model.

It consists of a single geospatial point using a latitude and longitude. A third optional dimension, altitude, can be recorded; key:ele and a node can also be defined at a particular layer=* or level=*. Nodes can be used to define standalone point features or be used to define the path of a way.

Definition at line 58 of file qgsosmbase.h.

Constructor & Destructor Documentation

QgsOSMNode::QgsOSMNode ( )
inline

Definition at line 61 of file qgsosmbase.h.

QgsOSMNode::QgsOSMNode ( QgsOSMId  id,
const QgsPoint point 
)
inline

Definition at line 62 of file qgsosmbase.h.

Member Function Documentation

QgsPoint QgsOSMNode::point ( ) const
inline

Definition at line 64 of file qgsosmbase.h.

QList<QgsOSMElementID> QgsOSMNode::relations ( ) const
QList<QgsOSMElementID> QgsOSMNode::ways ( ) const

The documentation for this class was generated from the following file: