16 #ifndef QGSVECTORTILEMVTDECODER_H
17 #define QGSVECTORTILEMVTDECODER_H
23 #include <QStringList>
26 #include "vector_tile.pb.h"
49 bool decode(
QgsTileXYZ tileID,
const QByteArray &rawTileData );
52 QStringList layers()
const;
55 QStringList layerFieldNames(
const QString &layerName )
const;
63 const QSet< QString > *layerSubset =
nullptr )
const;
66 vector_tile::Tile tile;
69 QMap<QString, int> mLayerNameToIndex;
The feature class encapsulates a single feature including its unique ID, geometry and a list of field...
Stores coordinates of a tile in a tile matrix set.
This class is responsible for decoding raw tile data written with Mapbox Vector Tiles encoding.
~QgsVectorTileMVTDecoder()
Encapsulates properties of a vector tile matrix set, including tile origins and scaling information.
QMap< QString, QVector< QgsFeature > > QgsVectorTileFeatures
Features of a vector tile, grouped by sub-layer names (key of the map)