Skip to contents

Convenience wrapper around tile_coords_to_xy() and nls_tile_rast_zxy().

Usage

nls_tile_rast_lonlat(
  base_url = "https://mapseries-tilesets.s3.amazonaws.com/os/town-england/North",
  z,
  lon,
  lat
)

Arguments

base_url

Base URL for the NLS tile set.

z

Zoom level.

lon

Longitude.

lat

Latitude.

Value

A terra::SpatRaster in EPSG:3857.