I have GPS data which can be close to the north/south pole and can move thousands of kilometers.
If I build a distance matrix for example with:
from geographiclib.geodesic import Geodesic
p1_lat, p1_lon = 43.374880, -78.119956
p2_lat, p2_lon = 43.374868, -78.119666
geod = Geodesic.WGS84
g = geod.Inverse(p1_lat, p1_lon, p2_lat, p2_lon)
print("Distance is {:.2f}m".format(g['s12']))
Can I apply the Ramer-Douglas-Peucker Algorithm on it ?
I always see an array of x, y coords as an input of the RDP algorithm but in my case the transformation which preserve the distances doesn't exist.