フィルターのクリア

Unable to access the terrain data and import the .osm file in the site viewer

6 ビュー (過去 30 日間)
Weijia Huang
Weijia Huang 2020 年 7 月 6 日
コメント済み: 河山 张 2022 年 4 月 12 日
I tried to run the following line of code from the R2020a ray tracing example.
viewer = siteviewer("Buildings","hongkong.osm");
But then I got an error.
Error using siteviewer (line 213)
Unable to access terrain data 'gmted2010'. See Access Basemaps and Terrain in MATLAB.
However, if I run
uif = uifigure;
g = geoglobe(uif,'Terrain','none');
g.Terrain = 'gmted2010';
It works perfectly fine and accesses the terrain data successfully.
In addition, the same code worked well when I was in Canada but not here in China.
Thanks in advance.
  5 件のコメント
Weijia Huang
Weijia Huang 2020 年 7 月 11 日
This solves the problem. Thank you!
河山 张
河山 张 2022 年 4 月 12 日
Why can't I solve the problem.
Incorrect use of siteViewer (line 110)
'Buildings' is an unrecognized parameter. See the documentation for this function for a list of valid name-value pair arguments.
错误使用 siteviewer (line 110)
'Buildings' 为无法识别的参数。 有关有效的名称-值对参数列表,请参阅 此函数 的文档。

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeRF Propagation についてさらに検索

製品


リリース

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by