I have several points (long, lat in EPSG:4326) in a region like this:
and I would like to find a way to estimate the average distance between all points inside the region with a command-line tool solution (eg.
gmt). About the distance, I am not worried about the precision of the estimated distance (I know the longitude/latitude thing between 4326 and UTM), just need to have a distance estimate (degrees or meters) from all points inside the region. Below you can find a zoom area of the region previously shown:
Just as an example from the image above, distance between points in the x-direction is of 2-5 m in the along-line direction (ie. on each line segment) while it is of 20-30 m in the y-direction (ie. between line segments).
I just found the SAGA tool
Point Distance but after using it I got
1%Terminado (killed) in a small data set of 10k points.... Here the link to this small sample data set https://ufile.io/e3vcp0xx