`Hi everyone,
I have a really big database (more than 80,000 arrows) with latitud and longitud coordinate which correspond mainly to African Continent, and I was interested in calculate the distance to coast for each coordinate. I wonder if this simulation is possible and in that case what the best form to do it.
In case the time of simulation is very long, is it more appropiate to use other language like fortran or c++?
Thank you!`
The answer depends somewhat on what speed you need, and what accuracy.
The fastest method I know of I describe in my paper "Optimal orientations of discrete global grids and the Poles of Inaccessibility" (free pdf here).
The idea is that you acquire:
C++ code for performing the above is available here.
Slower, prepackaged methods in R are listed in this answer.