Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/olizilla/inspire-polygon-list

Scrape the full list of INSPIRE polygon file names, for great good
https://github.com/olizilla/inspire-polygon-list

Last synced: 9 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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.

```sh
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.

```sh
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.