Site Viewer, when i use basemap , it shows "Unable to access terrain data"
14 次查看(过去 30 天)
显示 更早的评论
" rfprop.AntennaSite/show (line 77)
Unable to access terrain data. See Access Basemaps and Terrain in Site Viewer."
when i use Site Viewer , it show this error, how can i deal with that?
3 个评论
Abhi Sundararaman
2019-5-13
The default terrain data is hosted online; This message is usually thrown when MATLAB has trouble accessing the internet to fetch the terrain data.
When do you receive this message? Do you receive this message consistently? Also, are you able to access the "satellite" basemap, or do you only see the "dark water" basemap when you open Site Viewer? You can check this using the following:
viewer = siteviewer;
viewer.Basemap = "satellite";
The reason I ask is: if MATLAB is unable to access the "satellite" basemap AND it can't access the terrain data, then it is almost certainly an internet connection issue.
Yuqi Meng
2019-11-3
I encountered the same error message when I tried to run the following example code on the matlab documentation:
tx = txsite('Name','MathWorks', ...
'Latitude', 42.3001, ...
'Longitude', -71.3503);
rx = rxsite('Name','Boston', ...
'Latitude', 42.3601, ...
'Longitude', -71.0589, ...
'ReceiverSensitivity', -90);
ss = sigstrength(rx,tx)
it shows Unable to access terrain data 'gmted2010'. See Access Basemaps and Terrain in MATLAB.
even though I downloaded all the basemaps on this instruction.
when I execute the code, it still shows the message.
However I can execute the
viewer = siteviewer;
viewer.Basemap = "satellite";
code successfully.
回答(3 个)
Colin Shaw
2021-4-27
damn, nobody answer this question!!! I encountered this problem for many times.
1 个评论
Anakin ZC
2021-8-3
damn, nobody answer this question!!! I also encountered this problem for many times. do you solve this problem?
Ehsan Jalilvand
2021-9-23
编辑:Ehsan Jalilvand
2021-9-23
I faced the same issue and found this alternative solution using addCustomBasemap function. See the following codes to add the Google satellite basemap:
ax = geoaxes;
name = 'googleSat'; url = 'https://mt1.google.com/vt/lyrs=s&x={x}&y={y}&z={z}';
addCustomBasemap(name,url)
geobasemap(ax,name)
and for adding other basemaps:
name = 'BingAerial'; url = 'http://ecn.t3.tiles.virtualearth.net/tiles/a{q}.jpeg?g=1';
name = 'GoogleHybrid'; url = 'https://mt1.google.com/vt/lyrs=y&x={x}&y={y}&z={z}';
name = 'openStreetMap'; url = 'http://tile.openstreetmap.org/{z}/{x}/{y}.png';
- Ehsan
0 个评论
Tai
2024-1-17
Hello, I'm afraid I have faced a similar issue. When I run the command siteviewer("Basemap","openstreetmap","Buildings","hongkong.osm"). A warning message pops up: Unable to access the Internet, showing 'darkwater' instead of 'openstreetmap'.
Do you know how to fix this issue?
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 RF Propagation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!