Not that exact function that I am aware of but there is a *Distance to
nearest hub (points) *tool in the processing toolbox that will give you the
distance to all of the points and then you can choose the one with the
shortest distance. You could also use select by expression using the *Closest
Point *function.

On Sun, Nov 12, 2023 at 7:14 AM Pankajeshwara Sharma via QGIS-Developer <
qgis-developer@lists.osgeo.org> wrote:

> Dear developers,
>
> I was wondering of there is a QGIS equivalent of Turf's nearest point
> function?
> https://www.npmjs.com/package/@turf/nearest-point
>
> The function takes a reference point and a FeatureCollection of Features
> with Point geometries and returns the point from the FeatureCollection
> closest to the reference.
>
>
> Yours sincerely,
> Pankaj Sharma
> Research Fellow
> University of Auckland
> pankaj.sha...@auckland.ac.nz
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>


-- 
___________________________
Sebastian "Bas* " Gutwein
*rhymes with Josh

Regenerative Design Group
1 Chevalier Ave
Greenfield, Ma 01301
Web: regenerativedesigngroup.com
(631) 241-1018

*Look close, think big, make change. *
_______________________________________________
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to