Is there any way I can import a shapefile into QGIS, then run spatial SQL queries against it?
I can obviously use ogr2ogr -sql
to do this, but I have to import the output into QGIS each time to look at it, which is a pain.
It would be great if I could just import the shapefile into QGIS, then run SQL against it and see the results instantly.