GIS Tips – What is topology and why do I need it?

In 1736, the mathematician Leonhard Euler published a paper that arguably started the branch of mathematics known as topology. The problem that led to Euler’s work in this area, known as “The Seven Bridges of Königsberg,” is described in the accompanying article “Conundrum Inspires Topology.” More recently, the United States Census Bureau, while preparing for the 1970 census, pioneered the application of mathematical topology to maps to reduce the errors in tabulating massive amounts of census data. Today, topology in GIS is generally defined as the spatial relationships between adjacent or neighboring features.

Mathematical topology assumes that geographic features occur on a two-dimensional plane. Through planar enforcement, spatial features can be represented through nodes (0-dimensional cells); edges, sometimes called arcs (one-dimensional cells); or polygons (two-dimensional cells). Because features can exist only on a plane, lines that cross are broken into separate lines that terminate at nodes representing intersections rather than simple vertices.

In GIS, topology is a collection of rules that, coupled with a set of editing tools and techniques, enables the geospatial data to more accurately model geometric relationships. Topology is defined through a set of rules that define how features may share a geographic space and a set of editing tools that work with features that share geometry in an integrated fashion. A topology is commonly stored in a geodatabase as one or more relationships that define how the features in one or more feature classes share geometry. The features participating in a topology are still simple feature classes—rather than modifying the definition of the feature class, a topology serves as a description of how the features can be spatially related.

An overview of some common topological rules

Image courtesy of ESRI

I’ve been doing fine up to now, why do I need to use this as well?

As stated above, topology defines rules for the geospatial data and will prevent issues with gaps or overlaps which occur with even the best editing. Both ESRI software and QGIS use topology extremely well, though the documentation for the ESRI software is a little more clear. There is a great poster which ESRI have on their website which you can download here, it might start to help you see how useful topology can be,

Put simply, when you build field parcels, you NEED topology so that fences ALWAYS follow the polygon boundary or that there are never gaps between polygons (fields). You NEED topology when you create urban topography – house must ALWAYS sit within a property boundary, a road MUST ALWAYS meet a field parcel.

It is not only feature creation or survey work where topology is necessary, I am finding a lot more work now requiring the use of spatial analysis based on topology, for example, calculating the number of features touching another feature (this only works properly with features built with proper topology).

Getting Started

Topology is one of those things, like enabling the “snapping tool” or using the “create faeture from selection” that you don’t realise you need in your life until you start using it.

So to get things started off, depending on whether you are “ESRI” or “QGIS” have a look at one of the tutorials below. Even if you don’t try it, have a look to see what topology could do for you….

QGIS – Feature topology lesson

ArcGIS – Editing shared features with map topology

Forget bulky desktops & rely on cloud based virtual desktops from to store O365 documents, research papers or windows applications while exploring remote areas. Check out Apps4Rent to boost research efficiency with hosted cloud apps.

Further Reading:

ArcUser – Understanding Topology

ArcGIS 10.1 Help  – Creating a map topology

QGIS (Youtube) – Topology Checker Plugin demonstration

Topology in QGIS 2.0 – Blog by rjhale

Wikipedia – Geospatial Topology

Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.