Package: vaster 0.6.0

Michael Sumner

vaster: Tools for Raster Grid Logic

Provides raster grid logic, operations that describe a discretized rectangular domain and do not require access to materialized data. Grids are arrays with dimension and extent, and many operations are functions of dimension only: number of columns, number of rows, or they are a combination of the dimension and the extent the range in x and the range in y in that order. Here we provide direct access to this logic without need for connection to any materialized data or formats. Grid logic includes functions that relate the cell index to row and column, or row and column to cell index, row, column or cell index to position. These methods are described in Loudon, TV, Wheeler, JF, Andrew, KP (1980) <doi:10.1016/0098-3004(80)90015-1>, and implementations were in part derived from Hijmans R (2024) <doi:10.32614/CRAN.package.terra>.

Authors:Michael Sumner [aut, cre], Robert Hijmans [ctb]

vaster_0.6.0.tar.gz
vaster_0.6.0.zip(r-4.7)vaster_0.6.0.zip(r-4.6)vaster_0.6.0.zip(r-4.5)
vaster_0.6.0.tgz(r-4.6-x86_64)vaster_0.6.0.tgz(r-4.6-arm64)vaster_0.6.0.tgz(r-4.5-x86_64)vaster_0.6.0.tgz(r-4.5-arm64)
vaster_0.6.0.tar.gz(r-4.7-arm64)vaster_0.6.0.tar.gz(r-4.7-x86_64)vaster_0.6.0.tar.gz(r-4.6-arm64)vaster_0.6.0.tar.gz(r-4.6-x86_64)
vaster_0.6.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
vaster/json (API)
NEWS

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

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

Pkgdown/docs site:https://hypertidy.github.io

On CRAN:

Conda:

raster

7.81 score 8 stars 4 packages 45 scripts 459 downloads 64 exports 0 dependencies

Last updated from:63ba4759e9. Checks:13 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK148
linux-devel-x86_64OK123
source / vignettesOK163
linux-release-arm64OK126
linux-release-x86_64OK118
macos-release-arm64OK100
macos-release-x86_64OK179
macos-oldrel-arm64OK91
macos-oldrel-x86_64OK234
windows-develOK179
windows-releaseOK245
windows-oldrelOK88
wasm-releaseOK95

Exports:adjacencyalign_extentbuffer_extentcell_from_colcell_from_extentcell_from_rowcell_from_row_colcell_from_rowcol_combinecell_from_xycol_from_cellcol_from_xdraw_extentextent_dim_to_gtextent_dimensionextent_from_cellextent_vrtfit_dimsfrom_xyzgdal_tegdal_tsgeo_transform0geo_world0geotransform_to_worldgt_dim_to_extentintersect_extentn_celln_coln_roworiginplot_extentraster_sfiorasterio_idxrasterio_to_sfiorasterio0row_from_cellrow_from_yrowcol_from_cellsfio_to_rasteriosnap_extentts_tevaster_boundaryvaster_boundary_cellvaster_listxyzvaster_longvcropworld_to_geotransformx_centrex_cornerx_from_cellx_from_colx_maxx_minx_resxlimxyxy_from_celly_centrey_cornery_from_celly_from_rowy_maxy_miny_resylim

Dependencies:

Cell Operations

Rendered fromcell-operations.Rmdusingknitr::rmarkdownon Jun 09 2026.

Last update: 2026-02-26
Started: 2026-02-26

Extent Alignment & Cropping

Rendered fromextent-alignment.Rmdusingknitr::rmarkdownon Jun 09 2026.

Last update: 2026-02-26
Started: 2026-02-26

GDAL Interoperability

Rendered fromgdal-interop.Rmdusingknitr::rmarkdownon Jun 09 2026.

Last update: 2026-02-26
Started: 2026-02-26

Grid Fundamentals & Concepts

Rendered fromgrid-fundamentals.Rmdusingknitr::rmarkdownon Jun 09 2026.

Last update: 2026-02-27
Started: 2026-02-26

grid-logic

Rendered fromgrid-logic.Rmdusingknitr::rmarkdownon Jun 09 2026.

Last update: 2025-08-04
Started: 2025-08-04

Readme and manuals

Help Manual

Help pageTopics
vaster: Tools for Raster Grid Logicvaster-package vaster
Cell adjacencyadjacency
Crop an extent, snapped to the grainalign_extent
Cellscells cell_from_col cell_from_extent cell_from_row cell_from_rowcol_combine cell_from_row_col cell_from_xy col_from_cell extent_from_cell rowcol_from_cell row_from_cell xy_from_cell x_from_cell y_from_cell
Coordinatescol_from_x coordinates row_from_y xy x_centre x_corner x_from_col y_centre y_corner y_from_row
Draw extentdraw_extent
Create geotransform from extent and dimensionextent_dim_to_gt
Dimension for an aligned extentextent_dimension
Extents from VRT (virtual raster data set of GDAL)extent_vrt
Aspect ratio of dimension conflated with bboxfit_dims
Derive a grid from XYZ pointsfrom_xyz
Geo transform parameter creatorgeo_transform0
World file parameter creatorgeotransform_to_world geo_world0
Gridgrid n_cell n_col n_row xlim x_max x_min x_res ylim y_max y_min y_res
Determine extent from geotransform vector and dimensiongt_dim_to_extent
Intersect extentintersect_extent
Origin of grid alignmentorigin
Plot an extentplot_extent
RasterIO index windowrasterio_idx raster_sfio
The sf/stars RasterIO listrasterio_to_sfio
GDAL RasterIO parameter creatorrasterio0
sf package RasterIO from RasterIO window vectorsfio_to_rasterio
Snap extent to resolution (buffer extent)buffer_extent snap_extent
Target size and extent for GDAL command linegdal_te gdal_ts ts_te
Grid boundary in native resolutionvaster_boundary
Grid boundary cell indexvaster_boundary_cell
Image xyz listvaster_listxyz
Convert to long form coordinatesvaster_long
Virtual grid modificationvcrop
Create geotransform from world vectorworld_to_geotransform