Skip to content

CDB_XYZ_Resolution

andrewxhill edited this page Feb 8, 2013 · 5 revisions

Return pixel resolution of tiles at a given zoom level

Using the function

Take a common tile with coordinates x=3, y=2, z=2,

2/3/2

To determine the resolution of these pixesl,

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

Arguements

CDB_XYZ_Extent(x)

  • x integer
Clone this wiki locally