Find curve intersection points in lat lon between rivers and satellite traces on a map

2 views (last 30 days)
Hello, I have a set of (lon,lat) points defining the course of a river. Then I also have a set of (lon, lat) points defining the traces of satellite measurements on-ground. All are discrete finite points but of course both are in reality continuous (e.g. the river has infinite points). I want to find the intersections between both curves. It seems to be a curve intersection problem solvable with polyxpoly, but I get erratic intersections which do not make sense. Maybe because the satellite traces are not really a 'curve'? It seems so, it closes the curves of the traces which gives the erratic points
I attach a mat file with exemplary lat lon data to intersect. The provided river in fact does not intersect the satellite traces, but instead I get one invalid one. Thank you
  2 Comments
Albert Zurita
Albert Zurita on 15 Jun 2022
Yes in this case there is no intersection. But using polyxpoly i get one point in the river. Can you plot the red dots instead with a line? There is why I find a fake intersection

Sign in to comment.

Accepted Answer

KSSV
KSSV on 15 Jun 2022
  2 Comments

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by