Introduction to GIS Mapping
Introduction to Geographic Information Systems
Geographic information systems, or GIS, are computer-based systems for working with data that has a geographic location. GIS connects information to a map so that the information can be visualized, examined, compared, and analyzed in its spatial context.
A spreadsheet might show the concentration of an antibiotic at several sampling sites. GIS adds another crucial piece of information: where each site is located. Once the locations are mapped, it becomes possible to ask spatial questions:
- Are high measurements clustered in one area?
- Are values different upstream and downstream of a pollution source?
- Do measurements change with distance from a wastewater treatment plant?
- Are environmental measurements related to land use?
- Do geographic patterns change between seasons or other time points?
GIS therefore does more than produce attractive maps. It helps reveal patterns and relationships across space, and it can also examine how those patterns change over time.
GIS connects georeferenced data with maps so that spatial patterns, relationships, and changes over time can be visualized and analyzed.
What Makes Data Suitable for GIS?
GIS is centered on digital data that includes a georeference. A georeference links a piece of data to a position on Earth. The position is typically described using X and Y coordinates, such as longitude and latitude. Some data may also include a Z coordinate, representing elevation or another vertical measurement.
For example, a sampling site might be represented by:
- An X coordinate for its east–west position
- A Y coordinate for its north–south position
- A Z value for elevation, if relevant
- Additional information, such as antibiotic concentration, sampling date, or site type
The coordinates must use an appropriate coordinate system. A dataset recorded as latitude and longitude needs to be identified as such in the GIS. If the coordinate system is missing or incorrectly assigned, the data may appear in the wrong location or fail to align with other map layers.
The Main Functions of GIS
A GIS can support many stages of working with geographic information:
- Capturing data by recording locations and associated measurements
- Creating data by drawing or generating geographic features
- Displaying data on maps
- Analyzing data to identify spatial patterns and relationships
- Managing data in organized geodatabases
- Storing data and maintaining links between related datasets
- Checking data for errors, missing references, or inconsistencies
- Producing outputs, including maps, statistics, and other analyses
The database component is particularly important. A GIS is not merely a drawing program. Behind the map are tables that can be linked to one another, much like tables in a conventional database.
For example, a study might contain:
- One table describing sampling sites
- Another table containing antibiotic measurements
- Another table containing metagenomic results
- Another table recording sampling dates or seasons
These tables can be connected using shared identifiers, allowing the mapping software to display and analyze all the related information together.
Think About It
Why might a table of antibiotic concentrations be difficult to interpret without a map showing where each measurement was collected?
GIS Software
Many GIS software packages exist. Some are broad, comprehensive systems, while others are designed for more specialized tasks.
ArcGIS
ArcGIS is a comprehensive GIS software suite. It is available through online services and desktop software. The desktop version includes several integrated components that support mapping, data management, and analysis.
A major limitation of ArcGIS is that it requires a license. The desktop version also has an operating-system limitation: it is designed for Windows and does not run natively on macOS. A virtual machine can be used to run it on a Mac, although that approach has practical limitations.
QGIS
QGIS, originally associated with the name Quantum GIS, is a free, open-source alternative. It provides similar basic GIS functionality and can operate on several platforms, including:
- Windows
- macOS
- Linux
- Android
The general principles of creating layers, adding data, using coordinate systems, and analyzing spatial relationships apply across different GIS packages. The specific buttons and menus may differ, but the underlying concepts remain similar.
ArcMap and ArcCatalog
Within the ArcGIS desktop environment, two important components are ArcMap and ArcCatalog.
ArcMap is used primarily for:
- Drawing maps
- Adding and arranging layers
- Adding geographic data
- Viewing attribute information
- Performing certain analyses
- Changing symbols and labels
ArcCatalog is used primarily for managing data, including:
- Storing geodatabases
- Uploading and organizing data
- Linking tables
- Checking coordinate references
- Performing more detailed data-management tasks
A useful analogy is that ArcMap is the workspace where the map is assembled, while ArcCatalog is the filing and database-management system that organizes the information used by the map.
Building a GIS Map with Layers
GIS maps are constructed as a sequence of layers. Each layer represents a particular type of geographic information. Layers are placed on top of one another so that different features can be viewed together.
For example, a map of an area might contain layers showing:
- A topographic base map
- Rivers and streams
- Administrative boundaries
- Forested areas
- Industrial sites
- Hospitals and pharmacies
- Sampling locations
- Wastewater treatment plants
- Elevation
The order and visibility of layers affect what can be seen. A layer is made visible by selecting its visibility control, often shown as a tick or checkbox. Several layers may be visible simultaneously, allowing relationships between them to be examined.
Base Maps
A base map provides geographic context. A topographic base map may show features such as:
- Rivers
- District boundaries
- Towns
- Forested areas
- Roads or other geographic features
The base map does not necessarily contain the specific research data. Instead, it helps the researcher understand where the research features are located.
Adding Data
Data can be added to a GIS in several ways. A dataset created by the researcher can be imported if it contains appropriate coordinates. Online repositories can also provide geographic data.
Open-source online data can be extremely useful, but it must be checked carefully. A dataset may contain inaccurate, incomplete, or outdated information. Features such as rivers, roads, hospitals, or boundaries may need to be adjusted to improve their accuracy for a particular study.
ArcGIS also provides access to online data resources. Similar repositories and importing functions are available in other GIS software, including QGIS.
Example Study Area: Baddi, India
The mapping example focuses on Baddi, an industrial town in Himachal Pradesh in northern India. Baddi lies within the district of Solan.
The area is relevant to environmental antimicrobial-resistance research because it includes a common effluent treatment plant, abbreviated CETP. A study can examine the effect of the treatment plant on a nearby river by comparing locations upstream and downstream of the plant.
This example demonstrates how GIS brings together different types of information:
- The location of the treatment plant
- The river system
- Hospitals and pharmacies
- Industrial sites
- Administrative boundaries
- Land-use areas
- Sampling locations
The value of the map comes from viewing these features together rather than examining each dataset in isolation.
Vector Data
One major type of GIS data is vector data. Vector data represents geographic features using coordinates. The three main vector forms are points, lines, and polygons.
Points
A point represents a single geographic location. It is generally defined by an X and Y coordinate, and it may also include a Z value.
Examples include:
- A sampling site
- A hospital
- A pharmacy
- A wastewater treatment plant
- A monitoring station
A point does not describe the size or shape of the feature. It simply identifies its location.
In the Baddi example, the CETP can be represented as a point. Hospitals and pharmacies can also be displayed as point features. Different symbols can be assigned to different types of points so that the map communicates their meaning quickly. A treatment plant might use one symbol, while hospitals and pharmacies use others.
Labels can also be added. A label might display the name of a hospital, sampling site, or treatment plant.
Lines or Polylines
A line, often called a polyline in GIS, represents a feature that extends through space. It is created from a sequence of connected points.
A river is a useful example. The river’s path is represented by many coordinate points joined together. The more points used, the more closely the line can follow the river’s actual shape.
Other possible line features include:
- Streams
- Roads
- Boundaries
- Pipelines
Open-source river data can provide a useful starting point, but river lines may not be perfectly accurate. Researchers may need to modify or adjust them before using them for detailed analysis.
Polygons
A polygon represents an enclosed area. It is created from a line whose starting and ending coordinates meet, forming a closed shape.
Polygons are useful for features that cover an area, such as:
- Forests
- Industrial areas
- Urban regions
- Administrative districts
- States
- Drainage basins
- Land-use categories
In the Baddi example, forested areas can be shown as green polygons, while industrial areas can be shown using another color. Himachal Pradesh and the district of Solan can also be represented as polygon layers.
Polygons allow analysis based on area. For example, a sampling site can be compared with the land-use polygon in which it occurs, or the amount of urban land within a drainage basin can be examined.
Shape Files
In ArcGIS, vector datasets are commonly stored in shape files. A shape file can contain point, line, or polygon features, along with associated attribute information.
Although the geographic feature is displayed visually, its underlying coordinates and descriptive information are stored as data. This separation between the visual appearance and the underlying data allows symbols, labels, and analyses to be changed without recreating the entire map.
Attribute Tables
Every GIS layer can have an attribute table. The attribute table stores descriptive information about the geographic features in that layer.
For a hospital layer, the table might include:
- The feature type
- The hospital name
- The district
- The feature’s shape or geometry code
- Other descriptive details
A single row generally represents one geographic feature, while columns represent attributes of that feature.
For example, one row might represent a hospital, and another row might represent a pharmacy. The geographic location is stored through the feature’s geometry, while the attribute table stores information describing what that feature is.
The attribute table is important because it allows a researcher to select, classify, label, and analyze features according to their properties.
Think About It
If a map shows several points, what additional information could an attribute table provide that the points alone cannot show?
Raster Data
The second major type of GIS data is raster data. Raster data represents geographic space as a matrix of cells, or pixels, arranged in rows and columns.
Each cell contains a value. The value might represent a measurement such as:
- Elevation
- Rainfall
- Temperature
- Land characteristics
Unlike vector data, which represents features as individual points, lines, or enclosed shapes, raster data divides the entire geographic area into many small units.
Digital Elevation Models
A digital elevation model, or DEM, is an example of raster data. Each cell contains an elevation value. The GIS can display different elevation values using different colors, producing a visual representation of the terrain.
For instance:
- Lower elevations may be shown in one color
- Higher elevations may be shown in another color
- A range of colors may represent gradual changes in height
Elevation data can be useful for understanding how water moves across the landscape. It can help define water basins and catchment areas, because water generally flows from higher areas toward lower areas.
Other Raster Examples
Weather data such as rainfall can also be represented as a raster. Each cell can contain the amount of rainfall recorded or estimated for that area.
Raster data is especially useful when a variable changes continuously across a geographic space. Elevation and rainfall do not necessarily stop at clear boundaries; their values can vary from one location to the next. A grid of cells provides a way to represent that variation.
Managing the Geographic Extent of Data
Large datasets can contain information covering an entire country or region, even when a study focuses on a much smaller area. GIS can reduce the geographic extent of a dataset through a process called clipping.
Clipping uses one geographic layer as a boundary and removes data outside that boundary. For example, data covering all of India can be clipped so that only the features within Himachal Pradesh remain.
Clipping has two major advantages:
- It focuses the analysis on the study area.
- It can reduce the amount of data the computer must process.
This can improve performance when a computer struggles to display or analyze many large layers at once. However, clipping also has a possible disadvantage: information outside the chosen boundary is removed from the working dataset. If later analysis requires a wider geographic context, the original un clipped data may be needed again.
Applying GIS to Environmental Antimicrobial Research
GIS is especially useful for studying the movement and fate of antibiotics and antimicrobial-resistance-related factors in the environment.
A map can connect environmental measurements with possible sources and pathways, including:
- Wastewater treatment plants
- Hospitals
- Pharmacies
- Industrial areas
- Farms
- Fish farms
- Rivers and streams
- Urban and suburban land
- Agricultural land
- Sampling sites
The geographic arrangement of these features can suggest possible explanations for measured patterns.
For example, sampling sites downstream of a wastewater treatment plant can be compared with sites upstream. Sampling sites near urban areas can be compared with sites surrounded by agricultural land. Measurements can also be examined across seasons.
A map does not automatically prove that one feature causes another. Instead, it helps identify spatial patterns that can then be tested using statistical analysis and additional evidence.
The Thames Catchment Example
A second example examines antibiotics in the Thames catchment in the United Kingdom.
A catchment, also called a drainage basin, is an area of land from which water drains toward a connected river system. In a GIS map, the catchment can be represented as a polygon, while the rivers and tributaries can be represented as polylines.
The Thames map includes:
- The boundary of the Thames catchment
- The main river and its tributaries
- Different colors for different tributaries
- Sampling locations
- Different symbols or colors for different sampling strategies
The map therefore combines polygon, line, and point data in a single spatial framework.
Sampling Sites and Measurement Types
The sampling sites were divided into groups based on the analyses performed. Some sites received more detailed analysis, including metagenomic analysis. Other sites were included in antibiotic-level measurements.
This illustrates an important GIS principle: the same map can display different categories of sampling sites while linking each site to its associated measurements.
Antibiotic Concentrations and Season
Antibiotic concentrations differed between sites and between seasons. Trimethoprim and sulphonamide showed significant differences across locations and sampling periods.
Trimethoprim was particularly high at some sites, including sites identified as Ray4 and Ray6. Concentrations were also generally higher during winter.
Seasonal differences can be related to environmental conditions and wastewater behavior. In the United Kingdom, winter generally brings more rainfall. During periods of heavy rain, wastewater treatment plants may not be able to handle the full volume of water and effluent entering the system. Untreated effluent may then be released, an event that is more likely during winter.
This provides an example of how GIS can help connect:
- Sampling locations
- River networks
- Wastewater infrastructure
- Seasonal measurements
- Environmental conditions
The geographic map supplies the spatial structure needed to investigate these relationships.
Land Use and Antibiotic Levels
GIS can also analyze land use, meaning how different areas are used or characterized. Land-use categories in the Thames catchment included:
- Improved grassland
- Pasture
- Woodland
- Arable land
- Horticulture
- Suburban areas
- Urban areas
Different sampling sites showed different land-use patterns. Some sites were dominated by improved grassland. Others had substantial suburban or urban land. Still others contained large areas of arable land, horticulture, or grassland.
When sites with high trimethoprim concentrations were compared with sites with low concentrations, the most striking difference was the amount of urban and suburban land. The high-concentration sites had more urbanization, while the low-concentration sites had considerably more arable land.
Pasture and woodland were relatively similar between the high- and low-concentration groups.
The analysis showed that urbanization was associated with higher trimethoprim levels. Urbanization was also associated with the presence of tertiary wastewater treatment plants and with higher population equivalence, which describes the population level served or represented by a wastewater system.
These findings demonstrate how GIS can combine land-use layers with environmental measurements to identify associations.
Distance-Based Spatial Analysis
GIS can also be used to study how measurements change with distance from a geographic feature.
Wastewater treatment plants are important reference points in river studies. Other relevant sources may include:
- Fish farms
- Agricultural farms
- Runoff-producing areas
- Industrial sites
In the Thames example, trimethoprim concentration was compared with distance from wastewater treatment plants. The data were transformed, and because the analysis was nonparametric, a Spearman’s rank correlation was used.
A negative correlation was found between trimethoprim concentration and distance from wastewater treatment plants. In general, sites closer to treatment plants tended to have higher trimethoprim concentrations, while sites farther away tended to have lower concentrations.
The analysis also showed that distance alone was not the only relevant factor. The type of wastewater treatment plant mattered as well. The sites with the highest trimethoprim levels were closer to tertiary treatment plants, whereas sites with lower levels were associated with secondary treatment plants.
This distinction is important because two sites at similar distances from treatment plants may still experience different conditions if the treatment technologies differ.
A correlation indicates that two variables vary together; it does not by itself establish causation. Additional environmental, hydrological, and statistical evidence would be needed to determine the exact mechanisms responsible.
Think About It
Why could two sampling sites at the same distance from a wastewater treatment plant have different antibiotic concentrations?
Presenting GIS Results
GIS is useful not only for analysis but also for communication. Once the analysis is complete, the results can be turned into polished maps designed for a particular purpose.
A publication-quality map may need to communicate findings clearly through:
- Appropriate symbols
- Effective color choices
- Labels
- A useful scale
- A clear legend
- A sensible arrangement of layers
- A focused geographic extent
The map should help the reader understand the result rather than simply display as much information as possible. A research map may emphasize sampling sites and pollution sources, while a presentation map may emphasize a broad geographic pattern.
The process of producing a final map is separate from the initial process of building and analyzing layers. A working map may contain many visible layers and temporary choices, while the final product is refined for communication.
A Typical GIS Workflow
The concepts can be organized into a general workflow:
-
Define the research question.
Determine whether the study concerns locations, distances, land use, elevation, seasonal change, or another spatial relationship. -
Identify the study area.
Choose the geographic region to be mapped, such as Baddi, Himachal Pradesh, or the Thames catchment. -
Gather georeferenced data.
Obtain sampling coordinates, river networks, treatment plant locations, administrative boundaries, land-use data, and other relevant information. -
Check coordinate systems.
Confirm that datasets use appropriate and compatible geographic references. -
Organize the data.
Store geographic data and related tables in a geodatabase or another structured system. -
Add a base map.
Use a topographic or other contextual map to show the surrounding geography. -
Add thematic layers.
Add points, lines, polygons, and raster datasets according to the research question. -
Inspect attribute tables.
Check names, feature types, districts, measurements, and other descriptive information. -
Modify symbols and labels.
Make different feature types visually distinguishable. -
Clip datasets if necessary.
Limit large datasets to the study area while retaining the original data for possible future use. -
Analyze spatial relationships.
Examine patterns by location, season, land use, distance, elevation, or proximity to potential sources. -
Create final maps and statistics.
Present the results in a form suitable for research publications or presentations.
Comprehensive Review
GIS is a system for connecting digital information to geographic locations. Its essential requirement is a georeference, usually based on X and Y coordinates such as longitude and latitude, with an optional Z coordinate for elevation.
GIS maps are constructed from layers. A base map provides geographic context, while additional thematic layers display specific research information. Vector data represents discrete features as points, lines, or polygons. Points represent individual locations, lines represent connected paths such as rivers, and polygons represent enclosed areas such as forests, industrial zones, districts, or drainage basins. Raster data represents space as a grid of cells, with each cell containing a value such as elevation or rainfall.
The attribute table connects each mapped feature to descriptive information. Geodatabases organize these tables and allow related datasets to be linked. Coordinate systems must be checked so that layers align correctly, and online data must be quality checked before being used for detailed analysis. Large datasets can be clipped to a study boundary, although the original data should be preserved.
GIS becomes especially powerful when several layers are analyzed together. In environmental antimicrobial research, sampling sites can be compared with rivers, wastewater treatment plants, hospitals, industrial areas, farms, land use, elevation, and seasonal conditions. In the Thames catchment example, higher trimethoprim levels were associated with certain sites, winter sampling, shorter distances from wastewater treatment plants, particular treatment-plant types, and greater urban or suburban land use.
The central strength of GIS is that it turns location into an analytical variable. It allows researchers not only to ask what was measured, but also where it was measured, what surrounds it, how far it is from potential sources, how it relates to landscape features, and how those relationships change over time.

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