Last active
February 17, 2021 19:37
-
-
Save ThomasG77/420946967a519c0710753558996ace55 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://services.sandre.eaufrance.fr/telechargement/geo/ETH/BDTopage/2019/CoursEau/CoursEau_FXX-gpkg.zip | |
https://services.sandre.eaufrance.fr/telechargement/geo/ETH/BDTopage/2019/TronconHydrographique/TronconHydrographique_FXX-gpkg.zip | |
http://services.sandre.eaufrance.fr/telechargement/geo/ETH/BDTopage/2019/PlanEau/PlanEau_FXX-gpkg.zip | |
http://services.sandre.eaufrance.fr/telechargement/geo/ETH/BDTopage/2019/SurfaceElementaire/SurfaceElementaire_FXX-gpkg.zip | |
http://services.sandre.eaufrance.fr/telechargement/geo/ETH/BDTopage/2019/BassinHydrographique/BassinHydrographique_FXX-gpkg.zip | |
http://services.sandre.eaufrance.fr/telechargement/geo/ETH/BDTopage/2019/BassinVersantTopographique/BassinVersantTopographique_FXX-gpkg.zip | |
http://services.sandre.eaufrance.fr/telechargement/geo/ETH/BDTopage/2019/LimiteTerreMer/LimiteTerreMer_FXX-gpkg.zip | |
http://services.sandre.eaufrance.fr/telechargement/geo/ETH/BDTopage/2019/NoeudHydrographique/NoeudHydrographique_FXX-gpkg.zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# The txt file contains a list of GPKG download url with one layer | |
wget -i download-gpkg-topage-2019.txt | |
unp *.zip # Unzip | |
# In this case, simply merge each layer in it own destination layer | |
ogrmerge.py -f GPKG -o bd-topage-all-layers-2019.gpkg *FXX.gpkg | |
ogrinfo bd-topage-all-layers-2019.gpkg | |
# Return the following | |
# INFO: Open of `bd-topage-all-layers-2019.gpkg' | |
# using driver `GPKG' successful. | |
# 1: BassinHydrographique_FXX (Multi Polygon) | |
# 2: BassinVersantTopographique_FXX (Multi Polygon) | |
# 3: CoursEau_FXX (Multi Line String) | |
# 4: LimiteTerreMer_FXX_LimiteTerreMer (Multi Line String) | |
# 5: NoeudHydrographique_FXX (3D Multi Point) | |
# 6: PlanEau_FXX (Multi Polygon) | |
# 7: SurfaceElementaire_FXX (3D Multi Polygon) | |
# 8: TronconHydrographique_FXX (3D Multi Line String) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment