NEWS.md
Patch for CRAN when mapbox not available.
Add zero block code for 401 error (think that means we have no valid key, but manifests as cache problem).
Added a suite of Tasmap sources for ‘cc_location()’.
Removed bad-practice use on terra internals, thanks to Robert Hijmans.
o BREAKING CHANGES
base_url
is now ignored by cc_location()
and family, use get_tiles()
for custom Mapbox styles. This is part of the decoupling of raster load from tile getting.
tiles_to_polygon()
now returns wk rct vector, not sf.
Made functions casey(), mawson(), and davis() defunct, because mapbox doesn’t work down there now? (might update with virtualearth)
Functions cc_location()
and friends now return terra SpatRaster. These functions now ignore arguments ‘max_tiles’ and ‘zoom’, but gain a new argument ‘dimension’. If this is not set something resembling the graphics device is used.
o CHANGES
Removed magrittr.
New function unpack_rgb()
to calculate elevation from packed Byte Mapbox terrain-rgb.
New function read_tiles()
replaces old use of cc_location()
to actually read downloaded tiles.
ceramic no longer imports from spex.
Objects from {terra}, {stars}, {wk} and {geos} are now supported for using in cc_location(loc = )
.
No custom styles are available now for cc_location, there’s only ‘mapbox.satellite’.
Removed raster handling support.
Removed virtual tiles (see hypertidy/grout).
Begin move to use GDAL for the read, separate tile downloading from raster input.
Fixed cc_kingston
location.
Removed all references to non-supported mapbox styles, we now have ‘mapbox.satellite’ and and ‘mapbox.terrain-rgb’. Others can be used with a custom styles URL from your own mapbox account.
Removed unused LazyData in DESCRIPTION.
Removed dependency rgdal.
Standardized use of longlat and spherical mercator spec.
Tweaked behaviour of debug
argument, thanks to prompt by Grant Williamson.
Fix bug in cc_elevation that prevent use of Amazon tiles.
Removed unused data set.
Added Value elements for several documentation pages.
Function down_loader()
is no longer exported.
Function slippy_cache()
is now deprecated, please use ceramic_cache()
.
New focus on tile-downloading versus tile-loading (as a raster object). The function get_tiles()
does nothing but download the tiles. The functions cc_location()
and cc_elevation()
trigger get_tiles()
to download if needed, and then merge tiles into the appropriate raster object.
New function ceramic_cache()
to replace deprecated older function.
Function get_api_key()
is now exported.
In debug
mode the files are only printed, not downloaded. In this case the tile object is returned invisibly.
down_loader()
and higher level functions that use it will report on the download task about to occur.
Function get_tiles()
will happily download tiles for any source at any zoom for the entire world.
Renamed internal get_loc()
function to get_tiles()
.
Imagery getter functions now accept type = "elevation-tiles-prod"
for AWS terrain tiles.
Function cc_location
, cc_elevation
and friends now allow loc
input to be sf, raster, sp types in any projection.
Function cc_location
and cc_elevation
and friends now allow input of either max_tiles
or zoom
.