Skip to content

Instantly share code, notes, and snippets.

@alifeee
Last active November 14, 2024 17:12
Show Gist options
  • Save alifeee/60e121a4b55ce1069b003e1d94f0e046 to your computer and use it in GitHub Desktop.
Save alifeee/60e121a4b55ce1069b003e1d94f0e046 to your computer and use it in GitHub Desktop.
List Entry Name List Entry Number Link Heritage Category Grade Location OS Grid Reference latitude longitude
SEWER GAS LAMP 1246769 https://historicengland.org.uk/listing/the-list/list-entry/1246769 Listing II SEWER GAS LAMP BISHOPCOURT ROAD Non Civil Parish SHEFFIELD| Sheffield SK3547184041 53.35207495059936 -1.4685722449868464
SEWER GAS LAMP AT JUNCTION WITH WESTHILL LANE 1271101 https://historicengland.org.uk/listing/the-list/list-entry/1271101 Listing II SEWER GAS LAMP AT JUNCTION WITH WESTHILL LANE BROOMHALL STREET Non Civil Parish SHEFFIELD| Sheffield SK3479987154 53.38009982572962 -1.4783263352645517
SEWER GAS LAMP AT JUNCTION WITH NICHOLSON ROAD 1246499 https://historicengland.org.uk/listing/the-list/list-entry/1246499 Listing II SEWER GAS LAMP AT JUNCTION WITH NICHOLSON ROAD KENT ROAD Non Civil Parish SHEFFIELD| Sheffield SK3560284732 53.35827704651085 -1.4665266837756366
SEWER GAS LAMP AT JUNCTION WITH MONCKTON ROAD 1247376 https://historicengland.org.uk/listing/the-list/list-entry/1247376 Listing II SEWER GAS LAMP AT JUNCTION WITH MONCKTON ROAD SHIREGREEN LANE Non Civil Parish SHEFFIELD| Sheffield SK3768491441 53.41843461855959 -1.4344453877119494
SEWER GAS LAMP AT JUNCTION WITH TIPTON LANE 1246497 https://historicengland.org.uk/listing/the-list/list-entry/1246497 Listing II SEWER GAS LAMP AT JUNCTION WITH TIPTON LANE JENKIN ROAD Non Civil Parish SHEFFIELD| Sheffield SK3836491004 53.41445796802553 -1.4242666800997246
SEWER GAS LAMP AT JUNCTION WITH CAMBORNE ROAD 1254874 https://historicengland.org.uk/listing/the-list/list-entry/1254874 Listing II SEWER GAS LAMP AT JUNCTION WITH CAMBORNE ROAD FOX HILL ROAD Non Civil Parish SHEFFIELD| Sheffield SK3327292137 53.424986124040906 -1.500758112741084
SEWER GAS LAMP AT JUNCTION WITH RUSHDALE ROAD 1247487 https://historicengland.org.uk/listing/the-list/list-entry/1247487 Listing II SEWER GAS LAMP AT JUNCTION WITH RUSHDALE ROAD UPPER ALBERT ROAD Non Civil Parish SHEFFIELD| Sheffield SK3575684451 53.35574099592245 -1.4642444297475736
SEWER GAS LAMP OPPOSITE JUNCTION WITH GLEBE ROAD 1247195 https://historicengland.org.uk/listing/the-list/list-entry/1247195 Listing II SEWER GAS LAMP OPPOSITE JUNCTION WITH GLEBE ROAD SCHOOL ROAD Non Civil Parish CROOKES SHEFFIELD| Sheffield SK3313987534 53.38362173073405 -1.5032415479448142
SEWER GAS LAMP OPPOSITE JUNCTION WITH UNION ROAD 1246923 https://historicengland.org.uk/listing/the-list/list-entry/1246923 Listing II SEWER GAS LAMP OPPOSITE JUNCTION WITH UNION ROAD BRINCLIFFE EDGE ROAD Non Civil Parish SHEFFIELD| Sheffield SK3366584522 53.356515967190596 -1.4956532262862727
SEWER GAS LAMP OPPOSITE JUNCTION WITH VICTORIA STREET 1246528 https://historicengland.org.uk/listing/the-list/list-entry/1246528 Listing II SEWER GAS LAMP OPPOSITE JUNCTION WITH VICTORIA STREET LEAVY GREAVE ROAD Non Civil Parish SHEFFIELD| Sheffield SK3454587280 53.381248955318426 -1.4821310076621863
Sewer gas lamp at junction with Stannington View Road 1246681 https://historicengland.org.uk/listing/the-list/list-entry/1246681 Listing II Sewer gas lamp at junction with Stannington View Road Mulehouse Road Non Civil Parish SHEFFIELD| Sheffield SK3241387604 53.384295796622744 -1.5141492946909356
SEWER GAS LAMP AT JUNCTION OF ASHDELL AND WESTBOURNE ROAD 1246474 https://historicengland.org.uk/listing/the-list/list-entry/1246474 Listing II SEWER GAS LAMP AT JUNCTION OF ASHDELL AND WESTBOURNE ROAD ASHDELL Non Civil Parish SHEFFIELD| Sheffield SK3325486588 53.37511164694004 -1.501611845289828
SEWER GAS LAMP NORTH OF JUNCTION WITH CHERRY STREET 1271327 https://historicengland.org.uk/listing/the-list/list-entry/1271327 Listing II SEWER GAS LAMP NORTH OF JUNCTION WITH CHERRY STREET LANCING ROAD Non Civil Parish SHEFFIELD| Sheffield SK3549286018 53.369843273048716 -1.4680355899743456
Sewer gas lamp at north-west end Moor Oaks Road 1246680 https://historicengland.org.uk/listing/the-list/list-entry/1246680 Listing II Sewer gas lamp at north-west end Moor Oaks Road Non Civil Parish SHEFFIELD| Sheffield SK3335587130 53.3799769335326 -1.5000366561298093
Sewer gas lamp at junction with Kendal Road and Hawthorn Road 1246804 https://historicengland.org.uk/listing/the-list/list-entry/1246804 Listing II Sewer gas lamp at junction with Kendal Road and Hawthorn Road Oakland Road Non Civil Parish SHEFFIELD| Sheffield SK3272589755 53.40361032280571 -1.5092362750397676
Sewer gas lamp 15 metres south of No. 235, Rural Lane 1271017 https://historicengland.org.uk/listing/the-list/list-entry/1271017 Listing II Sewer gas lamp 15 metres south of No. 235 Rural Lane Non Civil Parish WADSLEY SHEFFIELD| Sheffield SK3194590793 53.4129877147763 -1.5208637495975081
Sewer gas lamp at junction with London Road, Alderson Road and Harewood Close 1246452 https://historicengland.org.uk/listing/the-list/list-entry/1246452 Listing II Sewer gas lamp at junction with London Road Alderson Road and Harewood Close Sheffield Non Civil Parish Sheffield SK3495785890 53.36872832053873 -1.4760904828299353
SEWER GAS LAMP 25 METRES SOUTH EAST OF JUNCTION WITH ANTRIM AVENUE 1246893 https://historicengland.org.uk/listing/the-list/list-entry/1246893 Listing II SEWER GAS LAMP 25 METRES SOUTH EAST OF JUNCTION WITH ANTRIM AVENUE PARK LANE Non Civil Parish SHEFFIELD| Sheffield SK3386686670 53.37580994702026 -1.4924039249815588
Sewer Gas Destructor Lamp 1421420 https://historicengland.org.uk/listing/the-list/list-entry/1421420 Listing II Non Civil Parish Sheffield SK3352485599 53.36620526079705 -1.4976579360744993
SEWER GAS LAMP AT JUNCTION WITH FROG WALK 1247074 https://historicengland.org.uk/listing/the-list/list-entry/1247074 Listing II SEWER GAS LAMP AT JUNCTION WITH FROG WALK CEMETERY ROAD Non Civil Parish SHEFFIELD| Sheffield SK3410685730 53.367345615676975 -1.4888974502366892
PORTER VALLEY PARKS 1001502 https://historicengland.org.uk/listing/the-list/list-entry/1001502 Park and Garden II Non Civil Parish PORTER VALLEY PARKS| Sheffield SK3064585044 53.361390869493626 -1.540977665196156
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

see more maps on https://alifeee.co.uk/maps/

Search for all Sheffield stink pipes on Historic England's website:

https://historicengland.org.uk/listing/the-list/results/?search=sewer&searchType=NHLE+Simple&facetValues=facet_ddl_countyDistrict%3ASheffield%3AcountyDistrict%7C&page=1

Then, add data and convert to geojson

View on https://geojson.io/#id=gist:alifeee/60e121a4b55ce1069b003e1d94f0e046

get coordinates

# download CSV from
# https://historicengland.org.uk/listing/the-list/results/?search=sewer&searchType=NHLE+Simple&facetValues=facet_ddl_countyDistrict%3ASheffield%3AcountyDistrict%7C&page=1
mv ~/Downloads/NHLEExport.csv .
# fetch OS Grid References
while read url; do curl -s "${url}" | awk '/data-os-grid-ref/{getline; a=$0; print gensub(/ /, "", "g", a)}' >> gridrefs.txt; done <<< $(csvtool format '%(3)\n' NHLEExport.csv | awk 'NR>1{print}')
dos2unix gridrefs.txt
# convert Grid References to latitude/longitude
while read GRID; do python3 -c 'from OSGridConverter import grid2latlong; l=grid2latlong("'"${GRID}"'"); print(f"'"${GRID}"',{l.latitude},{l.longitude}")'; done < gridrefs.txt > coordinates.csv
# add CSV header
awk 'BEGIN{printf "OS Grid Reference,latitude,longitude\n"} {print}' coordinates.csv > temp.csv
mv temp.csv coordinates.csv
dos2unix *
# combine CSVs
paste -d"," NHLEExport.csv coordinates.csv > temp.csv
mv temp.csv NHLEExport.csv 

create geojson with csv2geojson

# build binaries
git clone git@github.com:pvernier/csv2geojson.git
(cd csv2geojson/; go build main.go)
./csv2geojson/main NHLEExport.csv 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment