giacecco / oil-and-gas-licensing-map

2 stars 0 forks source link

oil-and-gas-licensing-map

http://www.digitalcontraptionsimaginarium.co.uk/oil-and-gas-licensing-map/

Table of Contents

Summary

The UK Department for Energy and Climate Change (DECC) published in December 2013 the "Environmental report for further onshore oil and gas licensing" report, available here. The report included maps specifying what areas of the UK were being evaluated for exploitation, with shale gas being the main resource being targetted.

This information is particularly valuable for the public as - despite the fact that the UK Government is keen to heavily exploit the shale gas resources in the upcoming years - the mainstream technology for extraction, hydraulic fracturing, more commonly known as 'fracking', is controversial. The technology is relatively young and often associated to the risk of domestic incidents, seismic activity and health issues for the populations living in the areas subject to the extraction work (e.g. read here).

I decided to start a little investigation over the data published by the DECC that made me realise how much valuable information is actually available but often not that accessible or easy to interpret. A great example is the map for the areas that are already licensed, that can be browsed interactively on the UK Onshore Geophysical Library (UKOGL) website at http://maps.lynxinfo.co.uk/webmap/index.html (remember to click the 'DECC' radio button at the top left). Would you be able to find an address in the map below, e.g. if you were looking to buy a house in the area?

Example of map on the UKOGL website

What about this map instead?

Example of my map

Sources and Data pre-processing

Sources

All the data the map is based upon comes from two sources:

Example of map in the original PDF files

The final website also references DECC's publicly available licence data archive at https://www.og.decc.gov.uk/information/licence_reports/onshorebylicence.html. At the moment of writing a decision has not been taken on eventually caching the same information locally, that could be quite useful.

Data pre-processing

As I used Leaflet for visualising the licensed areas on the map, I need their definition in a format Leaflet could use. I chose GeoJSON.

The existing and 13th round of licence offering data are provided by DECC in GIS shapefile format. Conversion to GeoJSON is easily done by using a command line utility called ogr2ogr that is part of GDAL: the Geospatial Data Abstraction Library (read more here). ogr2ogr is also used for conversion from the National Grid coordinates to latitude / longitude. Just two commands are required, after having downloaded and unzipped the source files from the DECC website:

ogr2ogr -t_srs EPSG:4326 -f geoJSON existingLicences.json Licensed_Blocks_On_Dec_2013.shp
ogr2ogr -t_srs EPSG:4326 -f geoJSON dec2013Offering.json 13Round_Licences_Offered.shp

The Node.js preprocess.js script does all of the above automatically, from downloading to conversion.

The definition of the areas under consideration is instead translated from CSV and National Grid coordinates onto GeoJSON and latitude / longitude coordinates by the webpage itself.

The map

The code for the interactive maps is available as a branch of this project called gh-pages. The website is accessible at http://www.digitalcontraptionsimaginarium.co.uk/fracking-map/.

Get the data

Below is the set of raw and processed data files used by the map:

Status

This is work in progress. You are welcome to contribute and join the team. Please contact us using the project's issues page.

Credits

I need to thank DECC for positively responding to my challenges on Twitter so far and to point me at some of their resources that were key to my work.

Twitter exchange, 1 of 2

Twitter exchange, 2 of 2

I truly hope DECC will welcome my initiative and perhaps make it its own. If they ask, I will be glad to support them assessing to what degree their website and documentation are really accessible and comprehensible for a non-specialist audience and if what they are doing to align to the UK Government's efficiency, transparency and accountability agenda is sufficient.

Licence

Creative Commons License This work is licensed under a Creative Commons Attribution 4.0 International License.

Northing/Easting to Latitude/Longitude conversion in JavaScript code is done using Chris Veness' JavaScript libraries available here.

All of DECC's data used by this project is licensed under the Open Government License v2.0.

ODI badge The data used for this project has achieved the Open Data Institute's Open Data Certificate "Pilot level" on 13 January 2014, which means extra effort went in to support and encourage feedback from people who use this open data.