QGIS API Documentation 3.39.0-Master (bca3cdb6021)
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
QgsVectorTileRawData Class Reference

Keeps track of raw tile data from one or more sources that need to be decoded. More...

#include <qgsvectortileloader.h>

Public Member Functions

 QgsVectorTileRawData (QgsTileXYZ tileID, const QMap< QString, QByteArray > &data)
 Constructs a raw tile object for one or more sources.
 
 QgsVectorTileRawData (QgsTileXYZ tileID=QgsTileXYZ(), const QByteArray &data=QByteArray())
 Constructs a raw tile object for single source.
 

Public Attributes

QMap< QString, QByteArray > data
 Raw tile data by source ID.
 
QgsTileXYZ id
 Tile position in tile matrix set.
 
QgsTileXYZ tileGeometryId
 Tile id associated with the raw tile data.
 

Detailed Description

Keeps track of raw tile data from one or more sources that need to be decoded.

Since
QGIS 3.14

Definition at line 38 of file qgsvectortileloader.h.

Constructor & Destructor Documentation

◆ QgsVectorTileRawData() [1/2]

QgsVectorTileRawData::QgsVectorTileRawData ( QgsTileXYZ  tileID = QgsTileXYZ(),
const QByteArray &  data = QByteArray() 
)
inline

Constructs a raw tile object for single source.

Definition at line 42 of file qgsvectortileloader.h.

◆ QgsVectorTileRawData() [2/2]

QgsVectorTileRawData::QgsVectorTileRawData ( QgsTileXYZ  tileID,
const QMap< QString, QByteArray > &  data 
)
inline

Constructs a raw tile object for one or more sources.

Definition at line 46 of file qgsvectortileloader.h.

Member Data Documentation

◆ data

QMap<QString, QByteArray> QgsVectorTileRawData::data

Raw tile data by source ID.

Definition at line 63 of file qgsvectortileloader.h.

◆ id

QgsTileXYZ QgsVectorTileRawData::id

Tile position in tile matrix set.

Definition at line 50 of file qgsvectortileloader.h.

◆ tileGeometryId

QgsTileXYZ QgsVectorTileRawData::tileGeometryId

Tile id associated with the raw tile data.

This may differ from the tile id in the situation where lower zoom level tiles have been used to replace missing higher zoom level tiles. In this case, the tileGeometryId should be used when decoding tiles to features in order to obtain correct geometry scaling and placement, while the actual tile id should be used when determining the region of the tile for clipping purposes.

Definition at line 60 of file qgsvectortileloader.h.


The documentation for this class was generated from the following file: