dividing coastline into equal interval

回答 (1 件)
0 投票
6 件のコメント
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
カテゴリ
ヘルプ センター および File Exchange で Axes Transformations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!