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

Keeps track of raw tile data that need to be decoded. More...

#include <qgsvectortileloader.h>

Public Member Functions

 QgsVectorTileRawData (QgsTileXYZ tileID=QgsTileXYZ(), const QByteArray &raw=QByteArray())
 Constructs a raw tile object.
 

Public Attributes

QByteArray data
 Raw tile data.
 
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 that need to be decoded.

Since
QGIS 3.14

Definition at line 37 of file qgsvectortileloader.h.

Constructor & Destructor Documentation

◆ QgsVectorTileRawData()

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

Constructs a raw tile object.

Definition at line 41 of file qgsvectortileloader.h.

Member Data Documentation

◆ data

QByteArray QgsVectorTileRawData::data

Raw tile data.

Definition at line 58 of file qgsvectortileloader.h.

◆ id

QgsTileXYZ QgsVectorTileRawData::id

Tile position in tile matrix set.

Definition at line 45 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 55 of file qgsvectortileloader.h.


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