tiler <a hef=“https://github.com/ropensci/tiler/blob/master/data-raw/tiler.png?raw=true” _target=“blank”> =====================================================================================================================================================================================================================================================================================
tiler package provides a tile generator function for creating map tile sets for use with packages such as
leaflet. In addition to generating map tiles based on a common raster layer source, it also handles the non-geographic edge case, producing map tiles from arbitrary images. These map tiles, which have a a non-geographic simple coordinate reference system, can also be used with
leaflet when applying the simple CRS option.
Map tiles can be created from an input file with any of the following extensions:
nc for spatial maps and
bmp for basic images.
This package helps R users who wish to create geographic and non-geographic map tiles easily and seamlessly with only a single line of R code. The intent is to do this with a package that has
tiler from CRAN with:
Install the development version from GitHub with:
For non-geographic tiles, using a
png file is recommended for quality and file size.
jpg may yield a lower quality result, while a large, high resolution
bmp file may have an enormous file size compared to
bmp are optionally supported by
tiler. This means they are not installed and imported with
tiler. It is assumed the user will provide
png images. If using
bmp and the packages
bmp are not installed, respectively,
tile will print a message to the console notifying of the required package installations.
See the introduction vignette for more details and examples.
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.