Maps are gr8

A surprisingly large amount of data is geospatial. This means that it involves information that can be located on a map of the earth. The simplest kind of information consists of points that have geospatial coordinates such as latitude and longitude. For example, the coordinates 55.94868, -3.20041 give the approximate location of Edinburgh Castle.

The other two main kinds of geospatial data are lines (e.g., the route of the Forth Road Bridge) and polygons (e.g., the shape formed by the outer boundary of Gyle Shopping Centre).

Doing this challenge involves exploring one or more geospatial datasets and seeing whether you can represent it on a map in an interesting way.

Example projects

  • Which areas of Scotland were most strongly in favour of Independence in the last referendum?
  • How many fast food outlets can you reach in a 15 minute walk?
  • Which places in Scotland produced the most household waste per head of population?

Resources

For displaying maps on a web page, we recommend the JavaScript mapping library Leaflet.js. Tutorial: https://www.tutorialspoint.com/leafletjs

If you don’t want to use JavaScript, there is a Python interface to Leaflet called Folium: https://python-visualization.github.io/folium/.

If you want to manipulate geospatial data in Python, GeoPandas (https://geopandas.org) is great.

Creating isochrone maps in Python (mapping journey time from certain points): https://geoffboeing.com/2017/08/isochrone-maps-osmnx-python/