rasterpic: Convert Digital Images into 'SpatRaster' Objects

Create 'SpatRaster' objects, as defined by the 'terra' package, from digital images using a spatial object as a geographic reference. Supported inputs include objects from the 'sf', 'terra' and 'stars' packages. The main function is an S3 generic, so other packages can provide methods for additional spatial classes.

Package details

AuthorDiego Hernangómez [aut, cre, cph] (ORCID: <https://orcid.org/0000-0001-8457-4658>)
MaintainerDiego Hernangómez <diego.hernangomezherrero@gmail.com>
LicenseMIT + file LICENSE
Version0.5.0
URL https://dieghernan.github.io/rasterpic/ https://github.com/dieghernan/rasterpic
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("rasterpic")

Try the rasterpic package in your browser

Any scripts or data that you put into this service are public.

rasterpic documentation built on May 21, 2026, 5:07 p.m.