Topology in QGIS 2.0

Jul 24, 2013 | Open Source GIS, QGIS

I’ve been slowly pushing QGIS 2.0 into my life as it gets closer to release – so here’s a little something that is actually very exciting and a great addition to QGIS 2.0 – Topology.

Now this doesn’t work quite like topology does in ArcGIS (yet) but considering it works with shapefiles (and no – I haven’t tried this in PostGIS yet) that’s pretty big. I consider the topology check in to be a work in progress – it will allow you to clean up your data in a way that hasn’t really been available with shapefiles (but there are tools in OpenJump to help with QAQC).

So lets look at this example:

This example comes from an often used dataset in all of my classes. Your intern Randy has been hard at work fixing your data while you are on vacation. You pop open a shapefile and visually everything looks good.

topology in QGIS1

 

You decided to check the data and you pop open QGIS and turn on the topology checker. You build a rule to quickly check and see if he’s actually duplicated any polygons or done something to otherwise mess up your pristine data set.

Topology menu

 

 

You validate the rule and:

topo_ss3

 

You show a duplicated polygon. You check the data and yes you have a duplicated watershed. This is pretty cool because – you are running topology checks on shapefiles. Yes you have this ability in PostGIS and you have this ability with ArcINFO and ArcEditor (I know – I’m not calling them by their new names) if your data is in a geodatabase. So for the pile of users out there who are still keeping all their data in shapefiles – you have another QAQC tool to help you out thanks to the QGIS community. So if your dataset is pipelines, or houses, or utility infrastructure and you don’t have the ability to check to make sure you don’t have gaps in your data…or manholes are where they should be – you do now.

My only complaint – so far you get a visual check but you aren’t prompted for a fix. The offending data isn’t selected and you should have that ability. You probably will at some point very soon because I’ve been watching the developers email list and there is talk. I may not be understanding all that is being talked about…but they are on the right track.

So let me say this one more time: Topology checks for shapefiles.

You may also like

QGIS Offline Help

QGIS Offline Help

Through a long series of events I found myself teaching QGIS in a classroom again. It's been a while. I used to just "hold" classes and sometime during the pandemic I jsut stopped. Occasionally I'll get a call for 3 or 4 people that want training but generally I've...

The online training website that I hardly talk about

The online training website that I hardly talk about

I had mentioned it some but it's probably been coming up on 6 months since I even mentioned training. Right before I decided to attempt to die in 2025 I had started building a training website at training.northrivergeographic.com. Basically it's my Intro to QGIS class...

QGIS Fun: Chickamauga Mound

QGIS Fun: Chickamauga Mound

I've been trying to stop once a week and do something fun with QGIS. Post Heart Incident I do a lot of walking. I've been re-exploring some places I used to go in town to exercise and one is the TN River Walk. I realized the other day I needed to do some OpenStreetMap...