Download BRGM geology data to a geometry
get_geol.RdDownloads BRGM geology layers for the departments intersecting x
(or for specified departments) and spatially filters them using a
buffered envelope around x.
Usage
get_geol(
x,
key = "carhab",
buffer = 100,
deps = NULL,
cache = NULL,
verbose = FALSE,
overwrite = FALSE
)Arguments
- x
sforsfc; Geometry used to determine relevant departments and to spatially filter geology data.- key
characterSource use to download geology from BRGM. Must be one of:"carhab": geological data used to created theCarHabdataset ;"bdcharm50": geological maps, vectorized and harmonised at 1:50,000 scale.
- buffer
numeric; Buffer distance (in meters) applied toxbefore spatial filtering. Default is100.- deps
characterornumeric; One or sevral french department code (seeget_cog()).- cache
character; Storage directory. Defaults to the user cache directory (seetools::R_user_dir()).- verbose
logicalIfTRUE, display messages.- overwrite
logicalIfTRUE, overwrite zipfile.
Details
The function:
Identifies departments intersecting
x(ifdepsis not provided) ;Downloads geology layers using
get_brgm();Filters features intersecting a buffered envelope around
x.
All geometries are returned in EPSG:2154.