Feature request #18172

Define area in Nearest Neighbor analysis

Added by Matt McLean about 6 years ago.

Status:Open
Priority:Normal
Assignee:-
Category:Analysis library
Pull Request or Patch supplied:No Resolution:
Easy fix?:No Copied to github as #:26063

Description

When using the Nearest neighbor analysis (Menu bar >>> Vector >>> Analysis >>> Nearest Neighbor Analysis) the current implementation does the area calculations based on the extent of the input layer (https://github.com/qgis/QGIS/blob/835cca7cae3a8bc4cdff881ec7be374eaf390f6f/python/plugins/processing/algs/qgis/NearestNeighbourAnalysis.py#L105-L106) It would be useful to have the option of manually setting the area for the purpose of being able to compare z-scores for study areas of a fixed size. This is a feature that currently exists in ArcGIS (http://pro.arcgis.com/en/pro-app/tool-reference/spatial-statistics/h-how-average-nearest-neighbor-distance-spatial-st.htm) however I would prefer to stay in an Open Source work-flow.

Also available in: Atom PDF