- Open the list of datasets available from the Environment Agency.
- Find the English Heritage “Listed Buildings” layer; select “Shapefile”, click “Download”.
- Unzip the data archive:
unzip Listed_Buidings.zip && cd Listed_Buidings_shape
- If
ogr2ogr
is not already installed, install it:brew install gdal
- Filter the data to select certain columns and rows:
ogr2ogr -select "NAME,GRADE" -where "GRADE IN ('I')" listed_buildings_grade_one.shp listed_buildings.shp
- Create a new zip archive:
zip listed_buildings_grade_one.zip listed_buildings_grade_one.*
- Upload the zip file to CartoDB, to create a new table.