CDB_XYZ_Extent

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

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)

Arguements

CDB_XYZ_Extent(x,y,z)

  • x integer
  • y integer
  • z integer
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.