Hey community,
I simply want to display my latitude / longitude data on a satellite map:
geoplot(lat,lon)
geobasemap satellite
It works fine on my pc at home. However, at work I get the error message:
Error using geoplot (line 98)
Expected Basemap to match one of these values:
'darkwater', 'grayland', 'bluegreen', 'grayterrain', 'colorterrain', 'landcover', 'none'
The input, 'satellite', did not match any of the valid values.
I tried some other options to change the basemap but none is working:
set(groot,'defaultGeoaxesBasemap','satellite')
geoaxes('Basemap','satellite')
The siteviewer works fine with the satellite map anyway... Any suggestions?

 採用された回答

Joseph Kirk
Joseph Kirk 2020 年 3 月 3 日
編集済み: Joseph Kirk 2020 年 3 月 3 日

0 投票

If you are using R2019a or older at work, MATLAB will not recognize the new basemap options like 'satellite'.
When the geobasemap/geoplot functions were first introduced (R2018b), only the options you listed were available --- then 'satellite', 'topographic', 'streets', 'streets-dark', and 'streets-light' basemaps were introduced in a more recent version (R2019b).

3 件のコメント

Robin Schäfer
Robin Schäfer 2020 年 3 月 3 日
Thank you Joseph for your fast response! I am using R2019a indeed. I will update MATLAB and hopefully it will work!
Robin Schäfer
Robin Schäfer 2020 年 3 月 3 日
Works fine after updating!!! Thank you very much!
Joseph Kirk
Joseph Kirk 2020 年 3 月 3 日
Great! :)

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange で Geographic Plots についてさらに検索

製品

リリース

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by