QGIS API Documentation  2.6.0-Brighton
 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< QgsOSMElementIDways () const
QList< QgsOSMElementIDrelations () const
- Public Member Functions inherited from QgsOSMElement
 QgsOSMElement ()
 QgsOSMElement (QgsOSMElementID::Type t, QgsOSMId id)
bool isValid () const
QgsOSMDatabasedatabase () const
QgsOSMElementID elemID () const
QgsOSMId id () 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.

Constructor & Destructor Documentation

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

Member Function Documentation

QgsPoint QgsOSMNode::point ( ) const
inline
QList<QgsOSMElementID> QgsOSMNode::relations ( ) const
QList<QgsOSMElementID> QgsOSMNode::ways ( ) const

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