Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • floodam-data floodam-data
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 19
    • Issues 19
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

La forge institutionnelle d'INRAE étant en production depuis le 10 juin 2025, nous vous recommandons d'y créer tous vos nouveaux projets.

  • flood-appraisal
  • floodamfloodam
  • floodam-datafloodam-data
  • Issues
  • #24
Closed
Open
Issue created Dec 30, 2022 by Grelot Frederic@frederic.grelot🏊🏿Owner

manage BD Topo

Management of BD Topo database

BD Topo is a DB that describes the lad use in France in a vector format. Current version is 3.0. It has many layers, all of them are interesting, but are not treated in floodam.data.

There are 3 formats for the archives :

  • SHP, normally this format can be handled by floodam.data but it is no more a priority
  • GPKG, which is the one that should be treated by floodam.data
  • SQL, not handled at the moment in floodam.data (and not a goal for version 1.0.0.0)

BD Topo can be downloaded from IGN or from data.cquest :

  • https://geoservices.ign.fr/bdtopo gives the link to archives for IGN. It is not clear if all releases are available. Apparently, one per year, at least.
  • https://data.cquest.org/ign/bdtopo/ gives the link to archive without restriction in terms of date. It is organized by release in terms of date (one release, one folder).

Functions/dataset to be added

  • download_bd_topo
    • description download the data from official repository (and data.cquest as it is by far more reliable...)
    • adaptation of download.bd_topo
    • use new journal (add_log_info)
    • output archive in original version
  • adapt_bd_topo
    • description format the data from official repository in aimed data based on scheme_bd_topo_3_0
    • should be something that encapsulates extract_building, extract_dwelling
    • define first all layers of interest and the view needed (complete the lis, we will decide fater if included in version 1.0.0.0 or later)
      • extract_building_agriculture
      • extract_road
    • use new journal (add_log_info)
    • output: archive in formatted version
  • scheme_bd_topo_3_2
    • description global data to be used for formatting data
    • verification of what has already be done in scheme_bd_topo_3 (that should be replaced)
    • it could be interesting to complete scheme with former version also !
  • analyse_bd_topo
    • description some analyses to be performed after downloading and formatting.
    • should be something that encapsulates analyse_dwelling and further analyses.
  • vignettes/bd_topo_fr
    • description presentation of the data in French
    • complete what has already be done
  • vignettes/bd_topo_en
    • description presentation of the data in English
    • complete what has already be done, from tanslation of bd_topo_fr when it is done

For each function/dataset. Please follow this procedure

  • creation of function
    • code of function
    • documentation of function
    • example for function
    • test for function
  • creation of dataset
    • script for creation of "raw" data (if needed)
    • storage of raw data in ascii format, normally in inst/extdata
    • script in to maintain data in /data-raw
    • documentation of data
Edited Jan 31, 2023 by Grelot Frederic
Assignee
Assign to
Time tracking