Skip to contents

Base64-encodes the SQL from obis_h3t_sql() into the ?q= parameter.

Usage

obis_h3t_url(
  base_url = "https://h3tcache.marinesensitivity.org/h3t/{z}/{x}/{y}.h3t",
  sql = NULL,
  release = NULL,
  db = NULL,
  ...
)

Arguments

base_url

tile URL template, e.g. "https://h3tcache.marinesensitivity.org/h3t/{z}/{x}/{y}.h3t", or the stats endpoint ".../h3t/stats". For mapgl::add_h3t_source() use the h3tiles:// scheme.

sql

the SQL from obis_h3t_sql() (or pass ... to build it).

release

optional release tag appended as &release=.

db

optional &db= registry name (default server uses obis).

...

passed to obis_h3t_sql() when sql is missing.

Value

the URL string with the ?q=<base64> query embedded.