Package: vaster 0.0.2.9004

Michael Sumner

vaster: Tools for Raster Grid Logic

Provides raster grid logic, the grid operations that don't require access to materialized data, i.e. most of them. Grids are arrays with dimension and extent, and many operations are functions of just the dimension 'nrows', 'ncols' or a combination of the dimension and the extent 'xmin', 'xmax', 'ymin', 'ymax'. 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. Cell index, and row,column posiiton exist independently of any other use of a raster grid.

Authors:Michael Sumner [aut, cre]

vaster_0.0.2.9004.tar.gz
vaster_0.0.2.9004.zip(r-4.5)vaster_0.0.2.9004.zip(r-4.4)vaster_0.0.2.9004.zip(r-4.3)
vaster_0.0.2.9004.tgz(r-4.4-x86_64)vaster_0.0.2.9004.tgz(r-4.4-arm64)vaster_0.0.2.9004.tgz(r-4.3-x86_64)vaster_0.0.2.9004.tgz(r-4.3-arm64)
vaster_0.0.2.9004.tar.gz(r-4.5-noble)vaster_0.0.2.9004.tar.gz(r-4.4-noble)
vaster_0.0.2.9004.tgz(r-4.4-emscripten)vaster_0.0.2.9004.tgz(r-4.3-emscripten)
vaster.pdf |vaster.html
vaster/json (API)
NEWS

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

Peer review:

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

On CRAN:

raster

3.92 score 7 stars 2 packages 9 scripts 71 exports 0 dependencies

Last updated 6 months agofrom:0e934ba049. Checks:OK: 9. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 31 2024
R-4.5-win-x86_64OKOct 31 2024
R-4.5-linux-x86_64OKOct 31 2024
R-4.4-win-x86_64OKOct 31 2024
R-4.4-mac-x86_64OKOct 31 2024
R-4.4-mac-aarch64OKOct 31 2024
R-4.3-win-x86_64OKOct 31 2024
R-4.3-mac-x86_64OKOct 31 2024
R-4.3-mac-aarch64OKOct 31 2024

Exports:align_extentbablbrbuffer_extentcell_from_colcell_from_extentcell_from_rowcell_from_row_colcell_from_rowcol_combinecell_from_xycol_from_cellcol_from_xextent_dim_to_gtextent_dimensionextent_from_cellextent_vrtfrom_xyzgeo_transform0geo_world0geotransform_to_worldgt_dim_to_extentimage0image1intersect_extentlan_celln_coln_roworiginplot_extentraraster_sfiorasterio_idxrasterio_to_sfiorasterio0row_from_cellrow_from_yrowcol_from_cellsfio_to_rasteriosnap_extenttatetext0tltrtsts_tevaster_boundaryvaster_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:

Readme and manuals

Help Manual

Help pageTopics
Adjacency, for use in creating area based meshesadjacencies ba bl br image0 image1 la ra ta text0 tl tr
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 VRTextent_vrt
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 eotransform vector and dimensiongt_dim_to_extent
Intersect extentintersect_extent
Origin of grid alignmentorigin
Plot an extentplot_extent
The sf RasterIO is the RasterIO window in a list format used by the sf package, it contains the same information, and is created by 'raster_sfio()'.rasterio_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, extentte ts ts_te
Grid boundary in native resolutionvaster_boundary
Image xyz listvaster_listxyz
Convert to long form coordinatesvaster_long
Virtual grid modificationvcrop
Create geotransform from world vectorworld_to_geotransform