Introduction to GIS Mapping


Introduction to GIS Mapping

Simon
Welcome to our introduction to geographic information systems, or GIS. We’ll first clarify what GIS is, then walk through how a GIS map is built using layers and different kinds of data. Our main example is Baddi, an industrial town in Himachal Pradesh, India, studied through the ResPHARM project, and we’ll finish with an example from the Thames catchment in the UK.

Anna
So, at its simplest, what does a GIS actually do?

Simon
A GIS connects georeferenced data with a map. That means data linked to a geographic location, usually through X and Y coordinates such as latitude and longitude, and sometimes through a Z coordinate such as altitude. GIS lets you visualize spatial data, but it also allows you to examine patterns and relationships in their geographic context.

Anna
And the time dimension matters too, doesn’t it? You can compare different time points or look for trends over time.

Simon
Exactly. GIS can help you understand where something is happening, how different features relate spatially, and how those patterns change over time. Once the analysis is complete, GIS is also valuable for communicating results through polished maps designed for a particular purpose.

Anna
It sounds like GIS is more than a map-making tool.

Simon
It is. A GIS can capture and create data, display it, analyze it, manage and store it, and check it. Behind the maps are geodatabases, where information can be organized into linked tables. For example, sampling data might be stored in one table, while several kinds of analytical results are stored in other tables and linked to those sampling records.

Anna
So the map becomes an interface for accessing all those connected data, rather than just a picture.

Simon
That’s a good way to think about it. The outputs can include maps and statistics, but the system also supports the data management and analysis that produce those outputs. The geographic reference is essential, because without knowing where the data belong, you cannot properly study their spatial relationships.

Anna
What software can people use to build these systems?

Simon
There are many packages, ranging from general-purpose systems to highly specialized tools. Two important examples are ArcGIS and QGIS. ArcGIS is a comprehensive software suite available online or as a desktop version, while QGIS, or Quantum GIS, is free and open source.

Anna
What are the practical differences between them?

Simon
ArcGIS is comprehensive and user-friendly, but it requires a license. The University of Warwick has a license for the desktop version used in this example. The desktop version is also Windows-only, so it does not run natively on macOS. QGIS has the advantage of being free and operating on Windows, macOS, Linux, and Android. The demonstrations use ArcGIS, but similar results can be achieved in other packages.

Anna
And within the ArcGIS desktop suite, which parts are most important for building a map?

Simon
ArcMap is where you draw maps, add layers and data, and examine statistics. ArcCatalog is used to manage the geodatabases, upload data, create linkages, and check that references are included correctly. In practice, ArcMap uses the data stored and organized through ArcCatalog.

Anna
Let’s move to the example. Where exactly is Baddi?

Simon
Baddi is an industrial town in the northern Indian state of Himachal Pradesh, within the district of Solan. The demonstration focuses on a particular area shown within the maps, and the purpose is to build up a geographic picture of the town and its surroundings.

Anna
The first visual idea is that a GIS map is built in layers, right?

Simon
Yes. In ArcMap, the layers appear in a list, and a tick indicates which ones are visible. A base map can provide context; in this example, a topographic map downloaded online shows features such as rivers, district boundaries, the town of Baddi, and forested areas. Additional layers can then be turned on or off as needed.

Anna
How do you add those additional layers?

Simon
One route is the plus button, which opens options for adding data. You can add your own data if it include X and Y coordinates, or you can obtain data online through the GIS system. Online repositories are a valuable resource, but open-source data still need to be quality-checked and sometimes adjusted before use.

Anna
And ArcCatalog provides another way to find and manipulate the data?

Simon
Yes. ArcCatalog can be accessed within the working environment, or opened as a separate program when more detailed geodatabase manipulation is needed. It is where you can organize datasets and make sure the geographic references and data linkages are in place.

Anna
The two major data types introduced here are vector and raster. Let’s start with vector data.

Simon
Vector data are coordinate-based. They typically use X and Y coordinates, although a Z value such as altitude may also be included. The coordinate system must match the data: for example, latitude and longitude data need to be assigned the appropriate coordinate reference. If that reference is wrong, the data may not align properly with the map.

Anna
What are the three main forms of vector data?

Simon
First, there are points, representing individual coordinate locations. Second, there are lines, or polylines, made from sequences of points connected together. Third, there are polygons, which are closed shapes where the beginning and ending coordinates meet. In ArcGIS, and similarly in QGIS, files containing these kinds of vector data are commonly called shapefiles.

Anna
And raster data work differently.

Simon
Raster data represent geographic space as a matrix of cells or pixels arranged in rows and columns. Each cell covers a small area, and the size of those cells can vary depending on the raster’s resolution. A digital elevation model is one example: different heights can be displayed using different colors. Weather variables such as rainfall can also be represented as rasters.

Anna
Let’s apply those categories to the Baddi example. What would points represent?

Simon
One important point is the common effluent treatment plant, or CETP, in Baddi. In the ResPHARM project, the researchers were interested in its potential impact on the river and in comparing locations upstream and downstream. Other relevant point features include hospitals, pharmacies, and chemists, which can be displayed with labels and customized symbols.

Anna
How are the appearance and details of those points controlled?

Simon
You can label points and change their symbols by right-clicking the layer name, or by selecting the symbols themselves. Each layer also has an attribute table. That table may contain the shape code, feature class, names, districts, and other descriptive information—for example, distinguishing hospitals from pharmacies or chemists.

Anna
What about lines and polygons in the same area?

Simon
Rivers and streams are examples of line or polyline data. In the demonstration, these came from open-source mapping, but they were not exact and needed adjustment for accurate maps. Polygon examples include forest areas, industrial units, districts, and states. Different colors can show different land uses or administrative areas.

Anna
There was also an example of clipping data. Why would you do that?

Simon
Clipping restricts one dataset to the area defined by another layer. In this case, data were clipped so that only features within Himachal Pradesh remained. That reduced the amount of information the older computer had to process and demonstrated how a GIS can limit data to a chosen geographic boundary.

Anna
And the raster example was a digital elevation model for India.

Simon
Right. The different colors represented different elevations. Raster elevation data can be used at smaller geographic scales and are particularly useful for defining water basins and catchment areas. So, in one GIS project, vector layers and raster layers can provide complementary kinds of geographic information.

Anna
For someone learning this process, what would be a sensible next step?

Simon
Tutorials can help beginners practice adding layers, working with different data types, and continuing into geostatistical analysis. One suggested example focuses on Rondônia in the Amazon rainforest and proceeds from map construction to geostatistics and the creation of images suitable for publications. GIS has many elements, so working through tutorials is a useful way to become familiar with the package.

Anna
Let’s finish with the Thames catchment example, where the mapping was used for antibiotic research.

Simon
The Thames catchment is shown within the UK and then enlarged to show its river system. The rivers are represented as polylines, with different colors for different tributaries. A polygon shows the drainage basin, while sampling sites are shown as green and red dots. The colors indicate that different types of analyses were performed at those sites.

Anna
The green sites received the more detailed analysis, including metagenome analysis. What did the antibiotic measurements show?

Simon
Antibiotic levels were examined across the sampling sites, including trimethoprim and sulphonamide. Both showed significant differences between sites and between sampling seasons. Trimethoprim was particularly high at sites such as Ray4 and Ray6, and it was almost always higher in winter.

Anna
Why might winter matter in the UK river system?

Simon
The UK receives rain throughout the year, but winter brings more rainfall. During periods when wastewater treatment plants cannot cope with the combined capacity of rain and effluent, untreated effluent may be released. That is more likely to happen in winter and can affect conditions in the riverine system.

Anna
The analysis also considered land use around the tributaries.

Simon
Yes. Different sites had different mixtures of improved grassland, suburban and urban land, arable land, horticulture, and woodland. Ray2 was notably suburban and urban, Lambourn3 had substantial arable and horticultural land as well as grassland, and Key3 had a mixture of improved grassland and suburban and urban areas.

Anna
Could GIS also test whether antibiotic levels relate to distance from potential sources?

Simon
It can. Relevant features include wastewater treatment plants, fish farms, and other farms where runoff may enter rivers. In the Thames example, trimethoprim concentration was compared with distance from wastewater treatment plants. After transforming the values, a nonparametric Spearman rank correlation showed a significant negative correlation: concentrations tended to be higher at sites closer to those plants.

Anna
But distance alone was not the whole story.

Simon
Correct. The type of wastewater treatment plant also mattered in the comparison. Tertiary treatment plants were closer to sites with the highest trimethoprim levels, while sites with lower levels were associated with secondary treatment plants.

Anna
And what did the land-use comparison reveal?

Simon
The four sites with the highest trimethoprim levels had noticeably more urban and suburban land than the sites with the lowest levels. The lower-level sites had considerably more arable land, while pasture and woodland were reasonably similar between the groups. Urbanization therefore correlated with higher trimethoprim levels, and it was also correlated with tertiary wastewater treatment plants and, in additional data not shown here, higher population equivalent.

Anna
So the larger lesson is that GIS connects environmental measurements to the places and conditions that may help explain them.

Simon
Exactly. GIS provides a powerful, flexible, and visual way to explore georeferenced data. The workflow begins with correctly referenced data, organizes them through geodatabases, builds a map from sequential layers, and can continue into spatial and geostatistical analysis. The examples from Baddi and the Thames catchment show how points, lines, polygons, rasters, land use, seasons, and distances can all contribute to understanding antibiotic fate in the environment.

Anna
There is also an important presentation stage that we have only touched on.

Simon
Yes. Producing polished, publication-quality or presentation-quality maps is another important part of GIS, even though the demonstration focused mainly on the process of building and analyzing the maps. And this introduction leads naturally into more detailed statistical work, including spatial interpolation, which is the next stage of the discussion.

Ask anything
We've read this whole study set, so questions about it get the best answers.