5

Can anyone provide a list of the spatial functions available in the QGIS DB Manager plugin when using shapefiles as Virtual Layers?

I've been trying to use things like ST_DWithin and even ST_Buffer but the queries fail - though ST_Intersects and other functions work just fine.

DPSSpatial_BoycottingGISSE
  • 18,790
  • 4
  • 66
  • 110

1 Answers1

2

ST_Buffer works for me.

The virtual layer documentation states:

The underlying engine uses SQLite and Spatialite to operate. It means you can use all of the SQL your local installation of SQLite understands. Functions from SQLite and spatial functions from Spatialite can also be used in a virtual layer query.

enter image description here

The airports layer in this example is as Shapefile from the QGIS sample data.

underdark
  • 84,148
  • 21
  • 231
  • 413