libosmscout  0.1
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules
osmscout::MapData Class Referencefinal

#include <MapData.h>

Public Member Functions

void ClearDBData ()
 Deletes the content hold by this instance. More...
 

Public Attributes

std::vector< AreaRefareas
 Areas as retrieved from db. More...
 
std::list< GroundTilebaseMapTiles
 List of ground tiles of base map (optional) More...
 
std::list< GroundTilegroundTiles
 List of ground tiles (optional) More...
 
std::vector< NodeRefnodes
 Nodes as retrieved from db. More...
 
std::list< AreaRefpoiAreas
 List of manually added areas (not managed or changed by the db) More...
 
std::list< NodeRefpoiNodes
 List of manually added nodes (not managed or changed by the db) More...
 
std::list< WayRefpoiWays
 List of manually added ways (not managed or changed by the db) More...
 
std::vector< RouteRefroutes
 Routes as retrieved from db. More...
 
SRTMDataRef srtmTile
 Optional data with height information. More...
 
std::vector< WayRefways
 Ways as retrieved from db. More...
 

Detailed Description

This is the data structure holding all to be rendered data.

Member Function Documentation

◆ ClearDBData()

void osmscout::MapData::ClearDBData ( )

Deletes the content hold by this instance.

References areas, nodes, and ways.

Member Data Documentation

◆ areas

std::vector<AreaRef> osmscout::MapData::areas

◆ baseMapTiles

std::list<GroundTile> osmscout::MapData::baseMapTiles

List of ground tiles of base map (optional)

Referenced by osmscout::MapPainterQt::DrawGroundTiles().

◆ groundTiles

std::list<GroundTile> osmscout::MapData::groundTiles

List of ground tiles (optional)

◆ nodes

std::vector<NodeRef> osmscout::MapData::nodes

◆ poiAreas

std::list<AreaRef> osmscout::MapData::poiAreas

List of manually added areas (not managed or changed by the db)

◆ poiNodes

std::list<NodeRef> osmscout::MapData::poiNodes

List of manually added nodes (not managed or changed by the db)

Referenced by osmscout::MapPainterStatistics::DumpMapPainterStatistics().

◆ poiWays

std::list<WayRef> osmscout::MapData::poiWays

List of manually added ways (not managed or changed by the db)

◆ routes

std::vector<RouteRef> osmscout::MapData::routes

Routes as retrieved from db.

Referenced by osmscout::MapService::AddTileDataToMapData().

◆ srtmTile

SRTMDataRef osmscout::MapData::srtmTile

Optional data with height information.

Referenced by osmscout::MapPainter::DrawContourLines(), and osmscout::MapPainter::DrawHillShading().

◆ ways

std::vector<WayRef> osmscout::MapData::ways

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