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-any)gridmaker_0.1.0.zip(r-4.6-any)gridmaker_0.1.0.zip(r-4.5-any)
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

4.94 score 12 stars 12 scripts 6 exports 24 dependencies

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

TargetResultTimeFilesSyslog
linux-develOK159
source / vignettesOK191
linux-releaseOK157
macos-releaseOK203
macos-oldrelOK198
windows-develOK160
windows-releaseOK183
windows-oldrelOK165
wasm-releaseOK136

Exports:inspire_gridinspire_grid_from_extentinspire_grid_from_idsinspire_id_formatinspire_id_from_coordsinspire_id_to_coords

Dependencies:classclassIntcliDBIe1071fastmapgeometriesKernSmoothlaterlifecyclemagrittrotelpromisesproxypsR6Rcpprlangs2sfsfheadersterraunitswk

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