Skip to content

adapt_bd_topo

Purpose of the functionality

The new function should filter the BD TOPO and rename data fields of the tributary tables according to floodam.data::scheme_bd_topo_3.

BD TOPO is quite complex and quite complete. There are a lot of different layers (60 up to date). Thus, the functionality may be completed depending on the needs.

Within all this layers, "batiment" is quite important for cost-benefit analysis purposes because it is the source of many material damage. It is then proposed to start with:

  • extract_building, that will extract building information, and possibly perform eaip addition
  • extract_dwelling, that will extract what should be considered as dwelling within building and also perform a classification

The generic adapt_bd_topo is kept, but as a wrapper of other functions.

Functions to be added

  • adapt_bd_topo brief description
    • should be a wrapper of other functions
  • extract_building brief description
    • from an archive gpkg extract layer "batiment", add "commune" information and possibly eaip
    • saves result (sf object) in rds format, saves log information, gives the possibility to plot a "check map"
  • extract_dwelling brief description
    • from a rds building archive, extract and classify dwellings
    • saves result (sf object) in rds format, saves log information
Edited by Frédéric Grelot