libosmscout
1.1.1
Toggle main menu visibility
Loading...
Searching...
No Matches
libosmscout-map
include
osmscoutmap
MapData.h
Go to the documentation of this file.
1
#ifndef OSMSCOUT_MAP_MAPDATA_H
2
#define OSMSCOUT_MAP_MAPDATA_H
3
4
/*
5
This source is part of the libosmscout-map library
6
Copyright (C) 2019 Tim Teulings
7
8
This library is free software; you can redistribute it and/or
9
modify it under the terms of the GNU Lesser General Public
10
License as published by the Free Software Foundation; either
11
version 2.1 of the License, or (at your option) any later version.
12
13
This library is distributed in the hope that it will be useful,
14
but WITHOUT ANY WARRANTY; without even the implied warranty of
15
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16
Lesser General Public License for more details.
17
18
You should have received a copy of the GNU Lesser General Public
19
License along with this library; if not, write to the Free Software
20
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21
*/
22
23
#include <list>
24
#include <vector>
25
26
#include <
osmscoutmap/MapImportExport.h
>
27
28
#include <
osmscout/Node.h
>
29
#include <
osmscout/Area.h
>
30
#include <
osmscout/Way.h
>
31
#include <
osmscout/Route.h
>
32
33
#include <
osmscout/GroundTile.h
>
34
#include <
osmscout/elevation/SRTM.h
>
35
36
#include <
osmscout/system/Compiler.h
>
37
38
namespace
osmscout
{
39
45
class
OSMSCOUT_MAP_API
MapData
CLASS_FINAL
46
{
47
public
:
48
std::vector<NodeRef>
nodes
;
49
std::vector<AreaRef>
areas
;
50
std::vector<WayRef> ways;
51
std::vector<RouteRef>
routes
;
52
std::list<NodeRef>
poiNodes
;
53
std::list<AreaRef>
poiAreas
;
54
std::list<WayRef>
poiWays
;
55
std::list<GroundTile>
groundTiles
;
56
std::list<GroundTile>
baseMapTiles
;
57
SRTMDataRef
srtmTile
;
58
59
public
:
60
void
ClearDBData
();
61
};
62
63
using
MapDataRef
= std::shared_ptr<MapData>;
64
70
}
71
72
#endif
Area.h
Compiler.h
GroundTile.h
MapImportExport.h
OSMSCOUT_MAP_API
#define OSMSCOUT_MAP_API
Definition
MapImportExport.h:45
Node.h
Route.h
SRTM.h
Way.h
osmscout::CLASS_FINAL
Definition
Area.h:88
osmscout::CLASS_FINAL::baseMapTiles
std::list< GroundTile > baseMapTiles
List of ground tiles of base map (optional).
Definition
MapData.h:56
osmscout::CLASS_FINAL::nodes
std::vector< Point > nodes
List of nodes.
Definition
Way.h:57
osmscout::CLASS_FINAL::routes
std::vector< RouteRef > routes
Routes as retrieved from db.
Definition
MapData.h:51
osmscout::CLASS_FINAL::poiNodes
std::list< NodeRef > poiNodes
List of manually added nodes (not managed or changed by the db).
Definition
MapData.h:52
osmscout::CLASS_FINAL::areas
std::vector< AreaRef > areas
Areas as retrieved from db.
Definition
MapData.h:49
osmscout::CLASS_FINAL::poiAreas
std::list< AreaRef > poiAreas
List of manually added areas (not managed or changed by the db).
Definition
MapData.h:53
osmscout::CLASS_FINAL::groundTiles
std::list< GroundTile > groundTiles
List of ground tiles (optional).
Definition
MapData.h:55
osmscout::CLASS_FINAL::poiWays
std::list< WayRef > poiWays
List of manually added ways (not managed or changed by the db).
Definition
MapData.h:54
osmscout::CLASS_FINAL::srtmTile
SRTMDataRef srtmTile
Optional data with height information.
Definition
MapData.h:57
osmscout::CLASS_FINAL::ClearDBData
void ClearDBData()
osmscout
Definition
Area.h:39
osmscout::SRTMDataRef
std::shared_ptr< SRTMData > SRTMDataRef
Definition
SRTM.h:58
osmscout::MapDataRef
std::shared_ptr< MapData > MapDataRef
Definition
MapData.h:63
Generated by
1.17.0