chopin0.9.9 package

Spatial Parallel Computing by Hierarchical Data Partitioning

kernelfunction

Kernel functions

par_multirasters

Parallelize spatial computation over multiple raster files

dot-par_screen

Prescreen input data for parallelization

extract_at

Extract raster values with point buffers or polygons

get_clip_ext

Setting the clipping extent

indexing

Subset for nonidentical package class objects

chopin-package

Computation of spatial data by hierarchical and objective partitioning...

datamod

Return the input's GIS data model type

dep_check

Return the package the input object is based on

dep_switch

Switch spatial data class

dot-check_character

Check the class of an input object

dot-check_raster

Check Raster Input

dot-check_vector

Check the subject object and perform necessary conversions if needed.

dot-intersect_extent

Get intersection extent

par_convert_f

Map specified arguments to others in literals

par_cut_coords

Partition coordinates into quantile polygons

par_def_q

Quantile definition

par_grid_mirai

Parallelize spatial computation over the computational grids

par_grid

Parallelize spatial computation over the computational grids

par_hierarchy_mirai

Parallelize spatial computation by hierarchy in input data

par_hierarchy

Parallelize spatial computation by hierarchy in input data

par_make_balanced

Generate groups based on balanced clustering

par_make_dggrid

Convert DGGRID indices to sf object

par_make_grid

Generate grid polygons

par_make_h3

Convert H3 indices to sf object

par_merge_grid

Merge adjacent grid polygons with given rules

par_multirasters_mirai

Parallelize spatial computation over multiple raster files

par_pad_balanced

Extension of par_make_balanced for padded grids

par_pad_grid

Get a set of computational grids

par_split_list

Split grid list to a nested list of row-wise data frames

reproject_std

Check coordinate system then reproject

reproject_to_raster

Align vector CRS to raster's

summarize_aw

Area weighted summary using two polygon objects

summarize_sedc

Calculate Sum of Exponentially Decaying Contributions (SEDC) covariate...

Geospatial data computation is parallelized by grid, hierarchy, or raster files. Based on 'future' (Bengtsson, 2024 <doi:10.32614/CRAN.package.future>) and 'mirai' (Gao et al., 2025 <doi:10.32614/CRAN.package.mirai>) parallel back-ends, 'terra' (Hijmans et al., 2025 <doi:10.32614/CRAN.package.terra>) and 'sf' (Pebesma et al., 2024 <doi:10.32614/CRAN.package.sf>) functions as well as convenience functions in the package can be distributed over multiple threads. The simplest way of parallelizing generic geospatial computation is to start from par_pad_*() functions to par_grid(), par_hierarchy(), or par_multirasters() functions. Virtually any functions accepting classes in 'terra' or 'sf' packages can be used in the three parallelization functions. A common raster-vector overlay operation is provided as a function extract_at(), which uses 'exactextractr' (Baston, 2023 <doi:10.32614/CRAN.package.exactextractr>), with options for kernel weights for summarizing raster values at vector geometries. Other convenience functions for vector-vector operations including simple areal interpolation (summarize_aw()) and summation of exponentially decaying weights (summarize_sedc()) are also provided.

  • Maintainer: Insang Song
  • License: MIT + file LICENSE
  • Last published: 2025-09-10