Geographical Information Systems and Science with Python:
Case studies, city, energy, environmental and buildings research
Ed Sharp:
ed.sharp@ucl.ac.uk | www.esenergyvis.wordpress.com | @steadier_eddy
Overview
Geographical Information Systems and Science
Why should you care?
Geograhical Information Systems
The first definition of a GIS is an information system. Often the first thing people think of, which concerns the software and hardware
Geographical Information Science
Users
Underpinning the systems there is the science, which encapsulates everything that makes the software work.
Python
In the context of GIS Python provides the ability to create hugely more complex and powerful models and analyses and beyond that infinite possibilities for research etc.
Python
Pros and Cons ..............
Python
Where to start .............
Python + GIS
Python and GIS together create a powerful combination
Python + GIS
There are an increasing number of Python modules which do some aspect of Spatial Analysis or Mapping. Non exhaustive and evolving list:
Python + GIS
Bespoke spatial frameworks and and analysis created or carrying out using Python can also be called a GIS.
More Code
To do more complex visualisations there are better languages and tools......
PhD: Gridded modelling of wind generation, using GIS
The power of using GIS and Python in this case was the ability to create a bespoke framework and adapt data and simulation methods to it.
PhD: Gridded modelling of wind generation, Census data to grid
Very few datasets are in the correct framework, therefore considerable work done harmonising to grid. ArcGIS outputs.
PhD: Gridded modelling of wind generation, GIS analysis of available land
PhD: Gridded modelling of wind generation - analysis and visualisation using Python
Matplotlib 3d wireframes, animated using a video editor
Hourly variability in wind generation, electricity demand and residual demand. Matplotlib and ArcGIS
Increased variability in both scenarios, higher capacity factors throughout the later in years under Gone Green on the left, especially in the colder months.
Predictable variability under both scenarios for all years. Little evidence of the impact of heat pumps on the temporal patterns of electricity demand.
The Gone Green scenario experiences greater variability as a result of more wind capacity, particularly offshore.
Wind Generation
Electricity Demand
Residual Demand
PhD: Gridded modelling of wind generation - analysis and visualisation using Python
Hourly variability in residual demand - matplotlib images (adapted)
PhD: Gridded modelling of wind generation - analysis and visualisation using Python
See Sinden (2007) for original method
PhD: Gridded modelling of wind generation - analysis and visualisation using Python
PhD: Gridded modelling of wind generation - analysis and visualisation using Python
Blog: Animated maps of renewable energy modelling
PhD: Gridded modelling of wind generation - animated output
Blog: Animated maps of renewable energy capacity
Animated map of historical wind capacity
ArcGIS mapping, Python plotting and a video editor
Blog: Animated maps of renewable energy capacity
Animated map of historical wind capacity
ArcGIS mapping, Python plotting and a video editor
DEFRA Gridded background pollution projections
The 5 worst polluted areas in the country
GB Boroughs ranked by background NOx pollution : 2011 - 2010
Gridded Air Pollution
Gridded Air Pollution
The London Atmospheric Emissions inventory provide data on background air pollution on a 20 m grid
Roadside air pollution
Estimating non domestic energy demand
Mastermap vs. Openstreetmap
LIDAR point cloud to building extrusion - UCL
Lidar data continued
There are LIDAR derived building height datasets available from EMU analytics, or the raw data from the environment agency
Gridded population data
Population data
Population data
Much of the analysis done on datasets which include geotagging is essentially population mapping, albeit at a potentially high temporal resolution, for example google location services
Here a Python mapping modules were used to show all of the location data my phone collected (before I turned it off, because it is creepy)
Roads
Minor roads - Birmingham
Major roads - Birmingham
Rail
Different ways of representing GIS data - Cartograms
Aesthetically pleasing base Mapping: good options exist