Skip to content

CDB_XYZ_Resolution

Sandro Santilli edited this page May 8, 2014 · 1 revision

Return pixel resolution of tiles at a given zoom level

Using the function

Take a common tile with zoom, z=2,

2/3/2

To determine the resolution of these pixels,

SELECT CDB_XYZ_Resolution(2)
--- Returns a float, 39135.7587890625

Arguements

CDB_XYZ_Resolution(z)

  • z integer
Clone this wiki locally