Where can I get terrain data for a small area?

1 回表示 (過去 30 日間)
Ranjan Sonalkar
Ranjan Sonalkar 2017 年 1 月 26 日
回答済み: Niels 2017 年 1 月 26 日
I am looking to get sample terrain data that is no more than 1 km x 1 km with 1m resolution. Is there a way to convert any particular terrain map data format to a simple N x N matrix that is N-meters by N-meters, with entries in terms of altitude in meters?

回答 (1 件)

Niels
Niels 2017 年 1 月 26 日
the data you will recieve will probably be a 1.000.000 x 3 matrix (first column for x, second for y and last one for altitude)
% i guess you load the data, lets name it data
x=reshape(data(:,1),1000,1000);
y=reshape(data(:,2),1000,1000);
altitude=reshape(data(:,3),1000,1000);

製品

Community Treasure Hunt

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

Start Hunting!

Translated by