Passer au contenu

Telecharge le tableau d'assemble des dalles depuis le flux WFS (https://data.geopf.fr/private/wfs/wfs?apikey=interface_catalogue) couche "IGNF_LIDAR-HD_TA:nuage-dalle" assez lent (5000 entites a la fois) charge comme objet au format sf

Utilisation

load_classified_ta(
  url = "https://api.stac.teledetection.fr",
  save_dir = NULL,
  bbox = NULL
)

Arguments

url

text. link of the wfs source of the classified tiles extents, if set to NULL data will be loaded from the most recent file in save_dir with load_saved_ta. Replace nuage-dalle by mnt-dalle, mns-dalle or mnh-dalle to download the table of MNT, MNS or MNH.

save_dir

text. if specified, directory where the output is saved, with name ta_YYMMDD.gpkg (only for point clouds)

bbox

sf object from which a bbox can be extracted (only used if url is "https://api.stac.teledetection.fr")

Valeur de retour

An sf object of the tiles

Détails

ta_mnt <- lidarHD::load_classified_ta(url = "https://data.geopf.fr/private/wfs/wfs?apikey=interface_catalogue&SERVICE=WFS&REQUEST=GetFeature&VERSION=2.0.0&TYPENAMES=IGNF_LIDAR-HD_TA:mnt-dalle", save_dir = NULL)

Exemples

if (FALSE) ta <- load_classified_ta(bbox = sf::st_bbox(c(xmin = 5.72, xmax = 5.75, ymin =  45.11, ymax = 45.14), crs = sf::st_crs(4326))) # \dontrun{}