The initials GIS stand for Geographical Information System. For many years a handful of companies produced and marketed GIS software. Many GIS courses were designed around these products. This led to the term being closely associated with desktop GIS such as Esri’s Arc GIS. The rise in use of this particular software occurred prior to the internet. Today, Geographical Information is an integral part of the internet. It is collected by us all every time we use a phone or computer (IP addresses are geo referenced). Almost all environmental data also has some form of spatial component. So, a modern Geographical Information System must link to the internet and must take in data from many different sources. There are a wide range of different tools for achieving this. Modern spatial data processing links these tools together. So a GIS is not a single piece of software, it is best thought of of an interlinked stack of software tools that are all working together. Some of the elements are visible to users and so controllable through a Graphical User Interface (GUI). Other elements work behind the scenes to provide the data streams and spatial algorithms. Many of the more traditional skills taught on GIS courses that used single pieces of software are still relevant, but they now link into this broader based concept of spatial data analysis. We can consider Google Maps, SatNavs, sports tracking phone apps, weather maps etc as all examples of modern GIS’s. The statistical software R, that we will use later in the course, is also a GIS. We all use GIS’s every day, often without realising it.
Open this weather mapping app in a browser.
Which elements of a GIS does it use? What sort of data is being processed? How does spatial data (maps) link to temporal data (time series)? How important is good visualisation in allowing users to understand large quantities of data?
Desktop software with a GUI remain important analytical and cartographic tools for all environmental scientists and managers. In 2018 there are two popular options. Esri’s ArcGIS still has the largest commercial market share. However many users have now switched to the free and Open Source QGIS. This provides most of the same basic functionality as ArcGIS and a similar look and feel. One advantage of QGIS is clearly the cost (it is free). QGIS also links very cleanly with a wide range of additional open source software for spatial data processing. If you learn to use QGIS it is easy that can implement the more advanced operations that are also available in ArcGIS. The interfaces are quite similar, although there are a few differences in layout. All spatial data sets can be saved in generic formats that can be opened in both pieces of software. GIS skills are not really software specific. If you learn to run an analysis in one piece of software you can easily learn to run it in another. The key element required to become comfortable working with GIS is a good understanding of the nature of spatial data sets and the range of operations that can be performed on them.
Geographical information is of course spatially explicit and so can be mapped onto the earth surface. This means that we work with coordinates.
The following are two common types of coordinate systems used in a geographic information system (GIS):
A global or spherical coordinate system such as latitude-longitude. These are often referred to as geographic coordinate systems.
Projected coordinate system such as universal transverse Mercator (UTM), the British National Grid, Albers Equal Area, Google mercator etc. There are a large number of other map projection models which all provide mechanisms to project maps of the earth’s spherical surface onto a two-dimensional Cartesian coordinate plane.
A GIS can transform (project) spatial data from one CRS to another more or less seamlessly. However it is very important to know which CRS you are using and which CRS is used by the native data format. The issue can become complicated when working with data provided by researchers in more than one country, as each nation may use a different gridded system for projection. The datums used for the projections have also changed over time. To help enforce consistency the European Petroleum Survey Group (EPSG) catalogued all the known CRSs in use and provided them with a common code number for reference. The EPSG code is the simplest and most consistent way to refer to a CRS.
In the UK there are three very commonly used EPSG codes.
So to summarise. All GIS can reproject data from latitude and longitude form into a projection for calculating distances and areas it is generally preferable to keep data that may be shared internationally in EPSG 4326. However when working with researchers in the UK EPSG 27700 is very commonly used as the standard format. EPSG 3857 is convenient for global visualisaion but the calculations made directly within this CRS are inaccurate.
There are two ways that geographical data can be represented. Most GIS projects include a mixture of them
Raster layers are made up of pixels or cells. A satellite image or an aerial photo are examples of rasters. In these cases the coloured visual representation is made of three bands, red, blue and green which are blended together to form an image. Another typical example of a raster layer is a digital elevation model. In this case the cell values correspond to height above sea level, or some other reference point. The pixel size defines the resolution of a raster layer. The smaller the pixel the finer the resolution and level of detail.
On screen digitising used to be the commonest use of GIS. Digitising involves drawing your own map, adding information, capturing and storing the results. This is the most obvious way to form an original map. Other methods involve geoprocessing or image classification. Digitising has become a slightly less important skill than it once was, due to the availability of online spatial data and web maps that already have the information needed. However there are still many uses for digitisation. In this case we will be using QGIS to produce a phase one map for Hengistbury head.
The interface to QGIS can be customised by the user to show different elements in different regions of the screen. You can add or subtract toolbars, change the panels which are visible using the menus at the top and move things around in many different ways. The screenshot below shows a basic default layout.
The concept of a “project” is an important element in all desktop GIS. A project file contains information regarding the CRS being used and the files that are loaded. Projects are used to restore the GIS to the state it was in when you were last using it. It is important to be aware that when you save a project you do not actually save the files themselves.
A typical first step in any GIS project is to add some base maps.
In QGIS 3.2 this is achieved by selecting from the XYZ tile item in the browser tab. This should be preloaded with a set of useful options.
If your PC does not have basemaps preloaded, or if you are using your laptop you can load all the options by pasting this script into the python console (under the plugins menu).
Open the python console. copy the whole script into it, press run and wait for a few minutes for the installation to complete. This only needs to be done once.
The base maps are typically streamed in the EPSG:3857 coordinate reference system, i.e the Google or Web Mercator. However data files in the UK are typically held in EPSG:277000 i.e. British National Grid. This could cause problems when working with the two data sources together. Fortunately QGIS 3.2 has very smooth “on the fly” reprojection that allows layers in two different CRSs to be lined up.
To change the project CRS into EPSG:27700 for processsing and consitency click on the project properties icon. Find the British National grid CRS by searching for 277000. Apply this CRS to the project.
Experiment with the base maps. Load several maps. Try reordering them in the layers panel and switching them on and off. Right clicking the name of the layer allows you to remove them.
You can now start saving your project. Open a new folder somewhere on your profile and save a new project file with an appropriate name. It should be obvious how to do this from the files menu. You should always take into account that the project file itself is simply a text file with details of the loaded layers, the CRS being used, the area that is zoomed to, etc. So, you can’t just share a project file which has information about layers that are loaded and expect someone else to be able to open it unless you also share the files themselves.
A Geoserver is one of a set of tools that allows geographical information to be shared over a network or on the internet. Opening a geoserver connection allows access to geographical information held on a server. If institutions are holding confidential or valuable information then access will only be allowed on site and will require a log in. We will use some simple, non confidential layers in the current project.
There are several different types of services available on a geoserver.
As we are going to process data locally we will use the WCS and WFS services.
Look for the WFS tab in the browser and click on add a service. The URLs you will need are the following
http://r.bournemouth.ac.uk:8083/bu/wfs?
Or on campus
http://172.16.49.31:8083/bu/wfs?
You can give the service any name that you want. There is no need for authentication.
Likewise open a WCS service in the same way using the same URL but with the final letters changed to wcs (i.e http://172.16.49.31:8083/bu/wcs?)
The WCS service links to Lidar derived raster layers held on the server. There are two layers for Hengistbury Head and for Arne. The digital surface model (DSM) represents the elevation of the top of the vegetation layer. The digital terrain model has values for the elevaltion of the ground. Both the layers are at 2m resolution. We will look at how these layers can be used in a later class. For the moment load the two layers into your Hengistbury project by clicking on them. You will then see the names added to the layers panel.
The best way to get used to working with loaded layers in GIS is to experiment yourself. You will find that right clicking the layer brings up a menu that allows you to zoom to the layer extent, amongst other options. You could also try styling the layer to change its colours from the standard grey scale. We will look at these options in more detail later. For the moment, after experimenting zoom to the area that will form the focus of your study.
We will add two additional layers from the WFS. The first shows the boundaries of sites of special scientific interest as provided by Natural England. The second contains lines from the open street map layers. Although you can visualise open street map data as base layers, you can’t use the base leyers for any form of geoprocessing or analysis.
DO NOT ZOOM TO THE FULL EXTENT OF EITHER OF THESE LAYERS The layers held on the Geoserver are quite large. The natural england SSSI layer contains data for the whole of England Wales. You do not want to download all these data at this time.
In some situations it can be useful to work with data held on the server directly. However this may lead to modifications to shared data that other users will see. When a large data set has been partially loaded from the server using either WFS or WCS, accidentally zooming out of the study region will lead to the server downloading large amounts of data and rendering the results as a map. You may also wish to extract data from a network that is only available on campus in order to work with it at home. Working with local data is therefore the usual proctice for desktop GIS. So, after zooming to the area of interest make copies of all the four layers in your project folder. Give the layers informative names and make sure that you only save data that falls inside the study area. Once you have saved all four layers and loaded them into the canvas you should remove the WCS and WFS versions, as you no longer need them and they may slow down rendering and processing by reloading data from the network.
Make sure that you click to only save the map view extent. Repeat this for all four layers. Notice that by default you save vector layers as shapefiles. A shapefile is something of a misnomer as the shapefile format actually uses multiple files to describe the data. The files with a shp extension hold the geometry, those with dbf extensions hold the attributes and the .prj file contains the CRS (projection) information. If you pass a shapefile to another user you would usually zip all these elements up together. Shapefiles are a legacy format, as there are many better ways of holding vector data, but due to the dominance of Esri they have remain the default. When you save raster data the default format is a geotiff. These files can be opened in any GIS. When you have finished saving the four layers and removed the WCS and WFS connected layers your project may look rather like the screenshot below. Note that I have used very simple names for the files and they are all saved to a single folder along with the project file. The project can now be recreated offline.
Now that you have saved all the layers locally you may want to try changing their styles and experimenting with some other options in GIS. There is no harm in trial and error. The underlying data won’t be affected. If you find colour schemes that you like they will be saved when you save the project. Remember that saving a project DOES NOT save data. It simply saves the state of QGIS when the appropriate data are loaded.