16 #ifndef QGSVECTORTILEMVTDECODER_H
17 #define QGSVECTORTILEMVTDECODER_H
23 #include <QStringList>
26 #include "vector_tile.pb.h"
43 bool decode(
QgsTileXYZ tileID,
const QByteArray &rawTileData );
46 QStringList layers()
const;
49 QStringList layerFieldNames(
const QString &layerName )
const;
57 const QSet< QString > *layerSubset =
nullptr )
const;
60 vector_tile::Tile tile;
62 QMap<QString, int> mLayerNameToIndex;
The feature class encapsulates a single feature including its id, geometry and a list of field/values...
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()
QgsVectorTileMVTDecoder()
QMap< QString, QVector< QgsFeature > > QgsVectorTileFeatures
Features of a vector tile, grouped by sub-layer names (key of the map)