/inspire-polygon-list

Scrape the full list of INSPIRE polygon file names, for great good

Primary LanguageJavaScriptGNU Affero General Public License v3.0AGPL-3.0

INSPIRE polygon download file list

You want to download all the INSPIRE polygons, but they are split up into 300+ separate zip files. https://www.gov.uk/government/collections/download-inspire-index-polygons

Install inspire-polygon-list and run it to get all the urls in one place.

npm i -g inspire-polygon-list

inspire-polygon-list

# http://data.inspire.landregistry.gov.uk/Abertawe_-_Swansea.zip
# http://data.inspire.landregistry.gov.uk/Adur.zip
# http://data.inspire.landregistry.gov.uk/Allerdale.zip
# http://data.inspire.landregistry.gov.uk/Amber_Valley.zip
# http://data.inspire.landregistry.gov.uk/Arun.zip
# ...

From the list you could then use wget or similar to download them all.

wget $(inspire-polygon-list)

FINISHED --2016-12-12 16:32:29--
Total wall clock time: 11m 36s
Downloaded: 348 files, 4.4G in 10m 50s (6.90 MB/s)

If you're a fan of copy'n'pasting, then https://github.com/olizilla/inspire-polygon-list/blob/master/urls.txt might be what you're after.