ProtectDataUse: Recherche statuts de protection

Description Usage Arguments Value Author(s) Examples

View source: R/ProtectDataUse.R

Description

La fonction recherche tous les statuts de protection situés sur ou à proximité immédiate d'une propriété. La fonction nécessite en entrée - un fichier géoréférencé au format sf contenant tous les statuts de protection en France métropolitaine. Ce fichier peut être construit avec la fonction ProtectDataCreate - un fichier géoréférencé du périmètre au format sf.

Usage

1
ProtectDataUse(shp1, shp2, width = 50, nom = "Protect")

Arguments

shp1

= périmètre du territoire au format sf ou shp.

shp2

= périmètre du territoire au format sf ou shp.

width

= taille du buffer en mètre. Par défaut width= 50 m.

nom

= nom du fichier en sortie. Par défaut il s'appellera Protect.shp et sera enregistré sur le répertoire en cours.

Value

La fonction enregistre un fichier au format .shp contenant tous les statuts de protection existant sur la propriété. Il renvoie également une carte réalisée avec ggplot.

Author(s)

Bruciamacchie Max

Examples

1
2
3
4
5
6
7
library(DataForet)
library(PPtools)
load("~/pCloud Sync/Packages/Forestree/StatutProtec.Rdata")
data(FD, package = "PPtools")
perim <- FD %>% filter(IIDTN_FRT =="F09844P")
graph <- ProtectDataUse(Protect, perim, width=100)
graph

Bruciamacchie/Forestree documentation built on Feb. 23, 2022, 3:50 p.m.