Class: 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().

Added in version 3.14.

class qgis.core.QgsTileXYZ[source]

Bases: object

__init__(tc: int = -1, tr: int = -1, tz: int = -1)

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

Parameters:
  • tc (int = -1)

  • tr (int = -1)

  • tz (int = -1)

__init__(a0: QgsTileXYZ)
Parameters:

a0 (QgsTileXYZ)

column(self) int[source]

Returns tile’s column index (X)

Return type:

int

row(self) int[source]

Returns tile’s row index (Y)

Return type:

int

toString(self) str[source]

Returns tile coordinates in a formatted string

Return type:

str

zoomLevel(self) int[source]

Returns tile’s zoom level (Z)

Return type:

int