Class: QgsTileXYZ

class qgis.core.QgsTileXYZ(tc: int = - 1, tr: int = - 1, tz: int = - 1)

Bases: sip.wrapper

Constructs a tile identifier from given column, row and zoom level indices

QgsTileXYZ(QgsTileXYZ)

Stores coordinates of a tile in a tile matrix set. Tile matrix is identified by the zoomLevel(), and the position within tile matrix is given by column() and row().

New in version 3.14:

Methods

column

Returns tile's column index (X)

row

Returns tile's row index (Y)

toString

Returns tile coordinates in a formatted string

zoomLevel

Returns tile's zoom level (Z)

column(self) int

Returns tile’s column index (X)

Return type

int

row(self) int

Returns tile’s row index (Y)

Return type

int

toString(self) str

Returns tile coordinates in a formatted string

Return type

str

zoomLevel(self) int

Returns tile’s zoom level (Z)

Return type

int