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.

Parameters
  • tc (int = -1) –

  • tr (int = -1) –

  • tz

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