New answers tagged algorithm
You can check the source code for the Nearest Neighbour Analysis tool from GitHub. More specifically, the following lines of code which shows how the different parameters are calculated: do = float(sumDist) / count de = float(0.5 / math.sqrt(count / A)) d = float(do / de) SE = float(0.26136 / math.sqrt(( count ** 2) / A)) zscore = float((do - de) / SE) ...
You may want to review the Paul Ramsey PostGIS Gotchas You Tube Video. The video link starts at the distance discussion. There are pitfalls with every coordinate system. The thing that caught my eye along time ago when I saw a similar video is that a GPS point may not be under the line that your two other GPS points draw.
Top 50 recent answers are included