For a given Region, return the number of zoom levels. Zoom levels are
zero-indexed, with 0 being the highest zoom level (resolution) and the return value
(minus 1) being the lowest zoom level (resolution).
Usage
get_zoom_levels(region, connection = con, schema = "CORE_DATA", ds = -1)
Arguments
- region
A Region object
- connection
The database connection object
- schema
The database schema name
- ds
A date-stamp of today plus ds
(an integer) is used to filter Snowflake queries.
Value
A number specifying the total number of zoom levels