File indexing completed on 2024-05-19 03:53:14

0001 // SPDX-License-Identifier: LGPL-2.1-or-later
0002 //
0003 // SPDX-FileCopyrightText: 2015 Stanciu Marius-Valeriu <stanciumarius94@gmail.com>
0004 //
0005 
0006 #ifndef MARBLE_OSMRELATIONTAGWRITER_H
0007 #define MARBLE_OSMRELATIONTAGWRITER_H
0008 
0009 
0010 #include <QMap>
0011 
0012 namespace Marble
0013 {
0014 
0015 class GeoDataPolygon;
0016 class GeoWriter;
0017 class GeoDataPlacemark;
0018 class OsmPlacemarkData;
0019 
0020 class OsmRelationTagWriter
0021 {
0022 
0023 public:
0024     static void writeRelation( const QVector<GeoDataPlacemark*>& relation, const QString& id,
0025                            const QMap<QString,QString>& tags, GeoWriter& writer );
0026 
0027     static void writeMultipolygon( const GeoDataPolygon& polygon,
0028                                    const OsmPlacemarkData& osmData, GeoWriter& writer );
0029 };
0030 
0031 }
0032 
0033 #endif
0034 
0035 
0036