libosmscout 1.1.1
Loading...
Searching...
No Matches
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
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>
35
37
38namespace 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;
58
59 public:
61 };
62
63 using MapDataRef = std::shared_ptr<MapData>;
64
70}
71
72#endif
#define OSMSCOUT_MAP_API
Definition MapImportExport.h:45
Definition Area.h:88
std::list< GroundTile > baseMapTiles
List of ground tiles of base map (optional).
Definition MapData.h:56
std::vector< Point > nodes
List of nodes.
Definition Way.h:57
std::vector< RouteRef > routes
Routes as retrieved from db.
Definition MapData.h:51
std::list< NodeRef > poiNodes
List of manually added nodes (not managed or changed by the db).
Definition MapData.h:52
std::vector< AreaRef > areas
Areas as retrieved from db.
Definition MapData.h:49
std::list< AreaRef > poiAreas
List of manually added areas (not managed or changed by the db).
Definition MapData.h:53
std::list< GroundTile > groundTiles
List of ground tiles (optional).
Definition MapData.h:55
std::list< WayRef > poiWays
List of manually added ways (not managed or changed by the db).
Definition MapData.h:54
SRTMDataRef srtmTile
Optional data with height information.
Definition MapData.h:57
Definition Area.h:39
std::shared_ptr< SRTMData > SRTMDataRef
Definition SRTM.h:58
std::shared_ptr< MapData > MapDataRef
Definition MapData.h:63