Skip to content

Instantly share code, notes, and snippets.

@ggtr1138
Created August 1, 2023 08:19
Show Gist options
  • Save ggtr1138/c40d24676270e96350a7b9fb64eb583b to your computer and use it in GitHub Desktop.
Save ggtr1138/c40d24676270e96350a7b9fb64eb583b to your computer and use it in GitHub Desktop.
Get all laposte_hexasmal
wget -O laposte_hexasmal_1.geojson 'https://datanova.laposte.fr/data-fair/api/v1/datasets/laposte-hexasmal/lines?size=10000&page=1&q_mode=simple&format=geojson'
wget -O laposte_hexasmal_2.geojson 'https://datanova.laposte.fr/data-fair/api/v1/datasets/laposte-hexasmal/lines?size=10000&page=2&q_mode=simple&format=geojson'
wget -O laposte_hexasmal_3.geojson 'https://datanova.laposte.fr/data-fair/api/v1/datasets/laposte-hexasmal/lines?size=10000&page=3&q_mode=simple&format=geojson'
wget -O laposte_hexasmal_4.geojson 'https://datanova.laposte.fr/data-fair/api/v1/datasets/laposte-hexasmal/lines?size=10000&page=4&q_mode=simple&format=geojson'
jq -s . laposte_hexasmal_1.geojson laposte_hexasmal_2.geojson laposte_hexasmal_3.geojson laposte_hexasmal_4.geojson > laposte_hexasmal.geojson
./laposte2dns.py laposte_hexasmal.geojson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment