Package: affinity 0.2.5

Michael D. Sumner

affinity: Raster Georeferencing, Grid Affine Transforms, Cell Abstraction

Tools for raster georeferencing, grid affine transforms, and general raster logic. These functions provide converters between raster specifications, world vector, geotransform, 'RasterIO' window, and 'RasterIO window' in 'sf' package list format. There are functions to offset a matrix by padding any of four corners (useful for vectorizing neighbourhood operations), and helper functions to harvesting user clicks on a graphics device to use for simple georeferencing of images. Methods used are available from <https://en.wikipedia.org/wiki/World_file> and <https://gdal.org/user/raster_data_model.html>.

Authors:Michael D. Sumner [aut, cre]

affinity_0.2.5.tar.gz
affinity_0.2.5.zip(r-4.5)affinity_0.2.5.zip(r-4.4)affinity_0.2.5.zip(r-4.3)
affinity_0.2.5.tgz(r-4.5-any)affinity_0.2.5.tgz(r-4.4-any)affinity_0.2.5.tgz(r-4.3-any)
affinity_0.2.5.tar.gz(r-4.5-noble)affinity_0.2.5.tar.gz(r-4.4-noble)
affinity_0.2.5.tgz(r-4.4-emscripten)affinity_0.2.5.tgz(r-4.3-emscripten)
affinity.pdf |affinity.html
affinity/json (API)
NEWS

# Install 'affinity' in R:
install.packages('affinity', repos = c('https://hypertidy.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/hypertidy/affinity/issues

Datasets:

On CRAN:

Conda:

4.85 score 14 stars 7 scripts 347 downloads 23 exports 14 dependencies

Last updated 4 years agofrom:d55748a57f. Checks:9 OK. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKMar 11 2025
R-4.5-winOKMar 11 2025
R-4.5-macOKMar 11 2025
R-4.5-linuxOKMar 11 2025
R-4.4-winOKMar 11 2025
R-4.4-macOKMar 11 2025
R-4.4-linuxOKMar 11 2025
R-4.3-winOKMar 11 2025
R-4.3-macOKMar 11 2025

Exports:affinethingassignprojblbrdomathextent_dim_to_gtgeo_transform0geo_world0geotransform_to_worldgt_dim_to_extentimage0image1raster_io0raster_to_gtraster_to_rasterioraster_to_sfioraster_to_worldrasterio_to_sfiosfio_to_rasteriotext0tltrworld_to_geotransform

Dependencies:clicrsmetagluelatticelifecyclePROJproj4rasterRcppreprojrlangspterrawk

adjacencies

Rendered fromadjacencies.Rmdusingknitr::rmarkdownon Mar 11 2025.

Last update: 2021-05-18
Started: 2020-09-09