Download scanned IGN maps for a Sequoia project
seq_scan.RdDownloads one or several scanned map products (SCAN25, SCAN100, OACI or
standard IGN maps) from the IGN WMS service for the parca layer of a
Sequoia project.
Usage
seq_scan(
dirname = ".",
type = c("scan25", "scan100", "oaci", "carte_ign"),
buffer = 1000,
res = 0.8,
crs = 2154,
overwrite = FALSE,
verbose = TRUE
)Arguments
- dirname
characterDirectory where the matrice file is located. Defaults to the current working directory.- type
character; One or several scanned map types to download. Must be one or more of:"scan25": SCAN25 topographic map"scan100": SCAN100 topographic map"oaci": OACI aeronautical chart"carte_ign": standard IGN map background
- buffer
numeric; Buffer aroundx(in meters) used to enlarge the download area.- res
numeric; Spatial resolution of the output raster (in map units, usually meters).- crs
numericorcharacter; CRS of the returned raster.- overwrite
logical; IfTRUE, the cached file is overwritten.- verbose
logical; IfTRUE, display GDAL messages during download.
Value
A named list of file paths written by seq_write(), one per type.
Details
This function is a convenience wrapper looping over get_scan(), allowing
the user to download several scanned map products in one call and
automatically write them to the project directory using seq_write().