Thank you, Martin. That's brilliant! I hadn't come across Virtual Layers before, so it's opened up a whole load of new possibilities! -- Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html