Topology is a useful aspect of vector data layers, because it minimizes errors such as overlap or gaps.
For example: if two features share a border, and you edit the border using topology, then you won’t need to edit first one feature, then another, and carefully line up the borders so that they match. Instead, you can edit their shared border and both features will change at the same time.
The goal for this lesson: To understand topology using examples.
To make topological editing easier, it’s best if you enable snapping. This will allow your mouse cursor to snap to other objects while you digitize. To set snapping options:
If you’re careful while digitizing and allow the cursor to snap to the vertices of adjoining farms, you’ll notice that there won’t be any gaps between your new farm and the existing farms adjacent to it.
Topology features can sometimes need to be updated. In our example, the landuse layer has some complex forest areas which have recently been joined to form one area:
Instead of creating new polygons to join the forest areas, we’re going to use the Node Tool to edit the existing polygons and join them.
The topologically correct border looks like this:
Go ahead and join a few more areas using the Node Tool. You can also use the Add Feature tool if it is appropriate. If you are using our example data, you should have a forest area looking something like this:
Don’t worry if you have joined more, less or different areas of forest.
This is the Simplify Feature tool:
This allows you to reduce the amount of nodes in complex features.
Notice what the tool does to the topology. The simplified polygon is now no longer touching the adjacent polygons as it should. This shows that this tool is better suited to generalizing stand-alone features. The advantage is that it provides you with a simple, intuitive interface for generalization.
Before you go on, set the polygon back to its original state by undoing the last change.
This is the Add Ring tool:
It allows you to take a hole out of a feature, as long as the hole is bounded on all side by the feature. For example, if you’ve digitized the outer boundaries of South Africa and you need to add a hole for Lesotho, you’d use this tool.
If you experiment with this tool, you’ll notice that the current snapping options prevent you from creating a ring in the middle of the polygon. This would be fine if the area you wished to exclude linked to the polygon’s boundaries.
Disable snapping for the landuse layer via the dialog you used earlier.
Now try using the Add Ring tool to create a gap in the middle of the Bontebok National Park.
Delete your new feature by using the Delete Ring tool:
Note
You need to select a corner of the ring in order to delete it.
This is the Add Part tool:
It allows you to create an extra part of the feature, not directly connected to the main feature. For example, if you’ve digitized the boundaries of mainland South Africa but you haven’t yet added the Prince Edward Islands, you’d use this tool to create them.
To use this tool, you must first select the polygon to which you wish to add the part by using the Select Single Feature tool:
Now try using the Add Part tool to add an outlying area to the Bontebok National Park.
Delete your new feature by using the Delete Part tool:
Note
You need to select a corner of the part in order to delete it.
This is the Reshape Features tool:
It can add a bump to an existing feature. With this tool selected:
This will give a result similar to:
You can do the opposite, too:
The result of the above:
The Split Features tool is similar to how you took part of the farm away, except that it doesn’t delete either of the two parts. Instead, it keeps them both.
We will use the tool to split a corner from the Bontebok National Park.
Now we will re-join the feature you just created to the original polygon:
Topology editing is a powerful tool that allows you to create and modify objects quickly and easily, while ensuring that they remain topologically correct.
Now you know how to digitize the shape of the objects easily, but adding in the attributes is still a bit of a headache! Next we’ll show you how to use forms so that attribute editing is simpler and more effective.