Info

此问题已关闭。 请重新打开它进行编辑或回答。

Can't download a satellite basemap with geoaxes even with Internet connection

1 次查看(过去 30 天)
Some months ago I needed to produce a geographic plot with two locations highlighted. geoaxes with the satellite basemap and geoscatter did the job perfectly:
p = geoaxes('Basemap','satellite'); hold on
geoscatter(39.08,17.13,'filled','g');
geoscatter(41.12,16.87,'filled','g');
geolimits([32 43],[12 27]);
I got back to this code these days, and re-run it to export the figure again, but now the satellite basemap is unavailable and the following error message appears:
Warning: Unable to access the Internet, showing "missing" tile where 'satellite' is unavailable. See Access Basemaps in MATLAB.
I tried to export the figure anyway; it seems that some parts of the map can be viewed, but this depends on the zoom level. Maybe there are some parts of the basemap saved in the cache from when the code worked?
The Internet connection in my office computer is on, but access is provided through a proxy, so I tested the same code on another computer with a direct connection and the problem re-occurred. The same occurs when I change to other basemaps hosted by Esri, such as streets or topographic.
Reading the documentation at this link I understood that I can download some basemaps via add-ons to use them without a connection, but unfortunately satellite is not available among the add-ons since it is provided by Esri. I can use another basemap, but nonetheless I am wondering if I am doing something wrong or something has changed in the exchange between Matlab and Esri sometime in the past.
  2 个评论
Jaynik
Jaynik 2023-10-13
Hi Lorenzo,
I understand that you are getting a warning on using "geoaxes". I tried to reproduce the issue on my end on R2023a but everything works fine. Try to execute the program on the latest release and provide additional information if the issue persists.
Lorenzo Melito
Lorenzo Melito 2023-10-13
Hello @Jaynik,
thanks for the answer! I completely forgot to update this question. Just days after I posted everything worked perfectly, so I assume this was a temporary fault. Thanks anyway!

回答(0 个)

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by