I have 2 .shp layers in my workspace, polyLayer
and pointLayer
Using PyQGIS I'd like to be able to get the distance from the point to the nearest boundary of the polygon.
I've done this sort of thing successfully in PostGIS. It seems like it must be a very commonly used query, but I can't find anything on performing such queries on .shp files using PyQGIS.
Does anyone know how this can be achieved?