Created
September 23, 2021 14:09
-
-
Save ThomasG77/b3d6991a9d7ab3de6f7f13e7ed38e097 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
wget ftp://Admin_Express_ext:Dahnoh0eigheeFok@ftp3.ign.fr/ADMIN-EXPRESS-COG-CARTO_3-0__SHP__FRA_WM_2021-05-19.7z | |
7z e -aoa ADMIN-EXPRESS-COG-CARTO_3-0__SHP__FRA_WM_2021-05-19.7z -o/tmp/adminexpress | |
rm ADMIN-EXPRESS-COG-CARTO_3-0__SHP__FRA_WM_2021-05-19.7z | |
cd adminexpress | |
ogr2ogr -f GeoJSON ARRONDISSEMENT_MUNICIPAL.geojson ARRONDISSEMENT_MUNICIPAL.shp -lco RFC7946=YES | |
# Optional to paste from command line the GeoJSON content | |
# cat ARRONDISSEMENT_MUNICIPAL.geojson | xclip -selection clipboard | |
# Paste into http://GeoJSON.io website |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment