1. Home
  2. Explore
  3. Geography
  4. GIS for Natural History

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

GIS for Natural History

GIS and Natural-History Mapping in QGIS

What GIS Does

Geographic Information Systems (GIS) are tools for storing, analyzing, and visualizing data linked to places on Earth. GIS brings together three elements:

  • Location: where a feature occurs.

  • Attributes: information associated with that feature.

  • Visualization: maps and other displays that help people interpret the information.

GIS helps answer both where something happens and why its location matters. In natural history, it can be used to map species distributions from museum collections, display uncertainty in specimen records, and support digitization, curation, and research.


Spatial Data Types

Vector data

Vector data represents individual geographic features with points, lines, or polygons. Each feature can also have a table of associated attributes.

  • Points represent locations, such as specimen localities or wildlife observations. A point is stored using coordinates.

  • Lines represent linear features, such as rivers and roads.

  • Polygons represent bounded areas, such as countries, administrative regions, or—in a suitable scale and context—individual properties.

Vector data is useful when the data consists of distinct, identifiable features.

Raster data

Raster data represents space as a grid of cells, often displayed as pixels. Each cell holds a value, making raster data suitable for continuous surfaces such as:

  • Temperature or climate

  • Vegetation

  • Satellite imagery

The practical mapping example uses vector data: specimen points and administrative polygons.


The Example Datasets and GIS Layers

The example project uses two types of vector dataset:

  • A GeoPackage containing myriapod records. Myriapods include centipedes and related animals.

  • A shapefile containing German administrative polygons.

A shapefile is a collection of files that must remain together. Its components may have extensions such as .shp, .dbf, and .shx; separating or deleting associated files can prevent the dataset from working correctly.

The German administrative data contains multiple levels:

  • Administrative level 0 represents the outline of Germany.

  • Administrative level 1 represents the outlines of Germany’s states.

For a state-level analysis, the administrative level 1 layer is the relevant one.

Loading and arranging layers

A QGIS project can begin as a new, empty project. The shapefile or other supported vector dataset can be added by dragging it into the project’s layer panel.

  • To frame a layer in the map canvas, use Zoom to Layer from the layer’s context menu.

  • Layers can be moved up or down in the layer panel. A polygon layer drawn above a point layer can obscure the points, so the polygon layer is often moved below the specimen points.

  • The map can be repositioned using the Pan Map tool.

Layer order affects how features are drawn, not the underlying data.


Attribute Tables and Feature Information

An attribute table lists the features in a layer and the information associated with each one. Opening a layer’s attribute table reveals records for its features.

For specimen points, attributes may include:

  • Coordinates, which indicate the recorded location

  • Country

  • Location uncertainty

  • Altitude

  • Collector

For an administrative polygon layer, the table includes information about the states represented by its polygons.

GIS features therefore combine spatial information—the geometry and its location—with descriptive information stored in attributes.

Inspecting an individual feature

The Identify Features tool can be used to click a point or polygon and inspect its attributes. For example, identifying a specimen point can reveal the collector recorded for that specimen along with other details.


Coordinate Reference Systems and Map Projections

A map projection transforms locations on the curved Earth into positions on a flat map. Because a curved surface cannot be flattened without distortion, projections differ in how they represent properties such as shape, area, distance, and direction.

The same geographic data can look different under different projections. Distortion is especially noticeable when a projection is used far outside the region for which it is intended.

For a map focused on Germany, a suitable option is ETRS89 / UTM zone 32N, identified by EPSG:25832. A UTM projection suited to Germany can make the country appear more familiar than a projection intended for a much broader region.

Changing the project’s coordinate reference system changes how the data is displayed, not the underlying locations stored in the source data. A project CRS can be changed through the CRS control in QGIS, usually at the bottom of the application window; searching for “UTM Zone 32” helps locate the appropriate CRS.


Geoprocessing and Clipping Records to Germany

Geoprocessing refers to GIS tools that analyze or transform spatial data. Common operations include clipping, merging, dissolving, intersecting, and calculating areas or distances. In natural science, geoprocessing can combine specimen locations with environmental or administrative layers to answer spatial questions.

What clipping does

Clip uses one layer to limit another layer to a defined spatial area:

  • The input layer contains the features to be restricted.

  • The overlay layer defines the area to keep.

  • The output is a new layer containing the input features that fall within the overlay area.

To retain myriapod records in Germany:

  1. Open the vector geoprocessing tools and select Clip.

  2. Set the myriapod records as the input layer.

  3. Set the German administrative level 1 polygons as the overlay layer.

  4. Run the tool.

The result is a new point layer containing records within the German state polygons. It may initially be placed above or below other layers, so its visibility can depend on layer order.

Managing the clipped layer

After clipping:

  • Turn off the original, all-country myriapod layer if it is no longer needed for the current view.

  • Rename the clipped output to something meaningful, such as myriapoda_germany.

  • A processing output may be temporary. It can be made permanent by saving it to a file if it needs to be retained beyond the current session.


Styling Points and Polygons

Single-symbol styling

A layer’s symbology controls how its features appear on the map. A point layer can use a simple marker whose fill color, outline color, size, and transparency can be adjusted.

Transparency is useful when points overlap. Partially transparent symbols allow denser clusters to show through, making concentrations easier to see. Symbol size should be chosen to make the map readable without hiding nearby points.

Polygon appearance can also be adjusted. For example, changing polygon outlines to white can make state boundaries easier to distinguish while keeping the map visually clean.

Categorized styling by collector

Categorized symbology assigns a different symbol or color to each value in a selected attribute field. Categorizing the specimen layer by the known collector can reveal where different collectors’ records are concentrated.

A typical workflow is:

  1. Open the point layer’s symbology settings.

  2. Change the renderer from Single Symbol to Categorized.

  3. Choose the collector field as the category value.

  4. Generate categories using different colors.

  5. Apply the changes and inspect the map.

Categorized styling can become difficult to read when there are many distinct values. It is also affected by data-quality problems: the same collector may appear under slightly different spellings, or a record may have an uncertain name. Categories that represent the same person can be selected and merged so that they share a symbol. This reduces avoidable category duplication, although it does not replace cleaning the original data.

Once styled by collector, a map may reveal apparent concentrations associated with particular collectors. Such patterns should be interpreted cautiously: they describe the distribution of the recorded data and may reflect collection effort as well as the underlying distribution of organisms.


Representing Location Uncertainty

A specimen’s recorded point may not mark its exact collection location. For example, the record may be known to come from an area but be uncertain by several hundred meters. Location uncertainty describes the possible error or imprecision in the recorded location; in the example dataset, it is expressed in meters.

Uncertainty can be represented through graduated symbol size:

  • Smaller symbols represent records with less uncertainty and more precise locations.

  • Larger symbols represent records with greater uncertainty and a wider possible location area.

To do this, use Graduated symbology, select the uncertainty field, choose size as the visual variable, and classify the values. With equal interval classification, the value range is divided into classes of equal width. The classes will not necessarily contain equal numbers of records, and a few high-uncertainty records may produce much larger symbols.

Symbol size is a visual representation, not necessarily an exact geographic uncertainty boundary. Its interpretation depends on the map’s coordinate reference system and on how QGIS applies symbol sizes. A point symbol should therefore be understood as communicating relative uncertainty unless the data and mapping method have been designed to show uncertainty distances precisely.


Representing Altitude with Graduated Color

A continuous attribute such as altitude can be shown using graduated color. In graduated symbology, values are divided into ranges, and each range is assigned a symbol style. A color ramp can make lower and higher values easier to distinguish.

A useful design generally progresses from a lighter color for lower values to a darker color for higher values. A single-hue or otherwise orderly ramp is often clearer than a rainbow, which can make the sequence of values difficult to interpret.

Two classification methods illustrate different ways of dividing values:

  • Equal interval: divides the value range into classes of the same width. This can show the overall numeric range clearly, but if most observations have similar values, differences among them may be visually compressed.

  • Equal count: creates classes containing approximately the same number of observations. The class boundaries may be unevenly spaced, which can help show variation when values are unevenly distributed.

For example, equal-interval altitude classes may make high-altitude records in southern and southeastern Germany stand out, while showing less contrast among records at lower elevations. Equal-count classes can expose more differences among the observations, but each class may cover a different altitude range.


Counting Specimen Points Within States

The Count Points in Polygon tool calculates how many points fall within each polygon. This combines specimen locations with administrative boundaries and produces a polygon layer with a new count attribute.

To count myriapod records by German state:

  1. Open Count Points in Polygon from the vector analysis tools.

  2. Select the German administrative level 1 layer as the polygon layer.

  3. Select myriapoda_germany as the point layer.

  4. Run the tool, leaving optional settings unchanged if no custom output is required.

The output is a new polygon layer. Its attribute table retains the state information and adds a field—often named Num points—containing the number of specimen points in each polygon. The output may be temporary or saved permanently.

Mapping the counts

The state polygons can be styled with Graduated symbology using the point-count field. A color ramp then indicates the relative number of records in each state. This produces a type of choropleth map: polygon areas are shaded according to a numeric value associated with each area.

Natural breaks can be useful when the counts are unevenly distributed because the classes are chosen to group similar values and emphasize differences between groups. The selected number of classes affects how much detail the map displays.

State names can be added through the layer’s labeling settings by enabling single labels and choosing the state-name field. Font, size, and a buffer around the text can be adjusted to make labels readable against differently colored polygons.

A count map summarizes the distribution of recorded points by administrative area. It does not, by itself, establish why one state has more records; differences can reflect both biological patterns and uneven sampling or collection effort.


Creating a Print Layout

A print layout arranges map content and supporting map elements on a page for export or printing. It is separate from the main map canvas, so the layout can be designed as a composed output.

A basic layout can be created from the project menu. After giving it a meaningful title, the layout opens in a separate window.

Adding and adjusting the map

  1. Set the page orientation and size to suit the map.

  2. Add a map item and draw a box showing where the map should appear on the page.

  3. Use the map item’s extent controls to zoom or reposition the map within that box.

The map item reflects the map layers and styling currently visible in the main QGIS project. If the desired appearance changes, update the layer visibility or styling and then check the layout again.

Essential map elements

A clear map layout commonly includes:

  • Title: explains what the map shows; a specific title is more informative than a generic label such as “My Map.”

  • Legend: explains the symbols and colors. It can be configured to show only the layers relevant to the map.

  • Scale bar: communicates map distance.

  • North arrow: indicates orientation when appropriate.

  • Attribution text: identifies relevant data sources or other required acknowledgments.

The legend can be limited to items associated with the layout’s map. This is especially useful when background layers or unused layers remain in the project but should not appear in the printed map’s legend.


Key Ideas to Retain

  • GIS links location, attributes, and visualization to support spatial analysis.

  • Vector data represents distinct features as points, lines, or polygons; raster data represents continuous surfaces as grids.

  • A layer’s attribute table stores descriptive information associated with its geographic features.

  • Map projections affect how data appears on a flat map; changing the project CRS changes display, not the source locations.

  • Geoprocessing can create new datasets—for example, clipping records to a region or counting points within polygons.

  • Categorized symbology displays distinct attribute values, while graduated symbology displays ordered numeric values.

  • Maps of specimen records show recorded observations, so data quality, location uncertainty, and uneven sampling should be considered when interpreting patterns.

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent