isSpatial: Some spatial helper functions

View source: R/postProcessTo.R

.isGriddedR Documentation

Some spatial helper functions

Description

Some spatial helper functions

Usage

.isGridded(x)

.isVector(x)

.isSF(x)

.isSpat(x)

.isSpatialAny(x)

.isCRSany(x)

Arguments

x

A spatial object.

Details

.isGridded returns TRUE if the object is a SpatRaster or Raster

.isVector returns TRUE if the object is SpatVector, spatial or sf

.isSF returns TRUE if the object is sf or sfc

.isSpat returns TRUE if the object is SpatVector or SpatRaster

.isSpatialAny returns TRUE if the object returns TRUE for .isGridded or .isVector

Value

Logical.


reproducible documentation built on Aug. 26, 2026, 1:07 a.m.