Package: gridmaker 0.1.0

gridmaker: Create INSPIRE-Compliant Grids with IDs

Creates GISCO compatible and INSPIRE-compliant grids with IDs that look like 'CRS3035RES1000mN3497000E4448000' or '1kmN3497E4447'. Input can be 'sf', 'sfc' objects or bounding boxes. Output can be 'sf' polygons, 'sf' centroids, or just 'data.frame' with grid cell center or bottom left corner coordinates. The resulting grids are always aligned to rounded coordinates as per INSPIRE requirements.

Authors:Egor Kotov [aut, cre, cph], Jonas Lieth [ctb]

gridmaker_0.1.0.tar.gz
gridmaker_0.1.0.zip(r-4.7)gridmaker_0.1.0.zip(r-4.6)gridmaker_0.1.0.zip(r-4.5)
gridmaker_0.1.0.tgz(r-4.6-any)gridmaker_0.1.0.tgz(r-4.5-any)
gridmaker_0.1.0.tar.gz(r-4.7-any)gridmaker_0.1.0.tar.gz(r-4.6-any)
gridmaker_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
gridmaker/json (API)

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

Bug tracker:https://github.com/e-kotov/gridmaker/issues

Pkgdown/docs site:https://www.ekotov.pro

On CRAN:

Conda:

giscogridinspirequarto

5.02 score 11 stars 12 scripts 6 exports 25 dependencies

Last updated from:944b015921. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK170
source / vignettesOK214
linux-release-x86_64OK172
macos-release-arm64OK145
macos-oldrel-arm64OK155
windows-develOK165
windows-releaseOK172
windows-oldrelOK167
wasm-releaseOK128

Exports:inspire_gridinspire_grid_from_extentinspire_grid_from_idsinspire_id_formatinspire_id_from_coordsinspire_id_to_coords

Dependencies:classclassIntcliDBIe1071fastmapgeometriesKernSmoothlaterlifecyclemagrittrMASSotelpromisesproxypsR6Rcpprlangs2sfsfheadersterraunitswk

Create grid directly on disk (low memory usage)
Introduction | Example: Create a 100m grid for Spain | Setup | Get the country boundary | Create grid directly to GeoPackage | Performance Note | Create grid directly to GeoTIFF (raster) | Raster Attribute Tables (RAT) | Format-Specific RAT Behavior | Parallel Generation | Note on Parallel Backends | Read the grid from disk | Controlling memory usage | Automatic Memory Detection | Output formats | Vector formats (output_type = "sf_polygons" or "sf_points") | Recommended Formats | Other Supported Formats | Format Support | For Text Output | Raster formats (output_type = "spatraster") | Performance Comparison | Text/tabular formats (output_type = "dataframe") | Tips for large grids

Last update: 2026-01-11
Started: 2025-12-27

Quick Start: dump R docs and vignettes to text files for LLMs
Introduction | Installation | Example: Create a 1km grid for Luxembourg

Last update: 2025-12-07
Started: 2025-08-31

Readme and manuals

Help Manual

Help pageTopics
Create or Reconstruct an INSPIRE Gridinspire_grid inspire_grid.bbox inspire_grid.character inspire_grid.matrix inspire_grid.numeric inspire_grid.sf inspire_grid.sfc inspire_grid_from_extent inspire_grid_from_ids
Generate INSPIRE IDsinspire_id_coords inspire_id_from_coords inspire_id_to_coords
Convert INSPIRE IDs between long and short formatsinspire_id_format