dividing coastline into equal interval

Antworten (1)
0 Stimmen
6 Kommentare
Assuming that the distances are such that Euclidean approximation is good enough, and assuming that the coast is continuous:
You can calculate the total distance along the coast using
D = sum(sqrt(diff(X).^2 + diff(Y).^2))
This allows you to calculate the fractional increment such that the adjacent distance is 50 km.
I said "assuming that the coast is continuous". It appears that works for your situation. It would be a nuisance if it did not, partly because it would not be defined what distance should be measured over any jump in the coast.
Looking at the map, I am not certain that using Euclidean approximation of the total distance would be good enough for your purposes. On the other hand, interparc expects Euclidean coordinates I expect.
You might need to convert map coordinates to some kind of linear coordinates before using interparc
Kategorien
Mehr zu Axes Transformations finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!