You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cartodb-postgresql/doc/CDB_XYZ_Extent.md

441 B

Determine the spatial extent of a tile based on the tile's XYZ coordinate.

Using the function

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

2/3/2

To determine its extent you would run,

SELECT CDB_XYZ_Extent(3,2,2)
--- Returns a WKB polygon in Webmercator (SRID 3857)

Arguments

CDB_XYZ_Extent(x,y,z)

  • x integer
  • y integer
  • z integer