geoplot and geobasemap displays "missing" tile inexplicably

52 views (last 30 days)
I had written a code that plots GPS points over satellite maps using geoplot and geobasemap. The code worked previously fantastically. However, I can no longer get my geoaxes to display ANY map tiles. I have made no changes to my machine, license, or internet connection.
Ex:
geoplot(35,-74,'Marker','*','MarkerSize',25); %Choose an arbitrary point to plot with an obnoxiously large marker for reference
will plot a point overlaying an plot full of "missing" tiles. My command window will repeat the following warning several times (shown once here to reduce spam). See the attached .png
Warning: A value of class "double" was indexed with no subscripts specified. Currently the result of this operation is the indexed value itself, but in a future release, it will
be an error.
> In matlab.internal.asynchttpsave/AsyncHTTPContentFileWriter/handleThreadIsFinishedEvent
In matlab.internal.asynchttpsave.AsyncHTTPContentFileWriter
In matlabshared.asyncio.internal/Channel/onPropertyChanged (line 491)
In matlabshared.asyncio.internal.Channel>@(source,data)obj.onPropertyChanged(data.Name,data.Value) (line 405)
Warning: Unable to access the Internet, showing "missing" tile where 'streets-light' is unavailable. See Access Basemaps in MATLAB.
I'm familiar with the "unable to access internet" warning, which I have verified is not the problem - the default basemap does not require internet connection. Is there an obvious fix to this problem, or is this a very in-depth troubleshooting situation?

Answers (3)

Kelly Luetkemeyer
Kelly Luetkemeyer on 13 Dec 2022
Hi Chris,
Can you turn off either all warnings or this one 'MATLAB:subscripting:noSubscriptsSpecified' and see if the issue goes away?
>> warning off 'MATLAB:subscripting:noSubscriptsSpecified'
- or -
>> warning off all
  1 Comment
Chris Rhinehart
Chris Rhinehart on 14 Dec 2022
Hey Kelly,
Thanks for your answer. I actually had already had the warnings supressed prior to this issue happening. I observed this happening and un-suppressed them in order to gather information for troubleshooting. So unfortunately, turning off the warnings is not the fix.

Sign in to comment.


Kelly Luetkemeyer
Kelly Luetkemeyer on 14 Dec 2022
Hi Chris,
I was able to re-create the issue by setting
warning on all
and use the workaround by creating a new figure and setting
warning off all
I am on a mac running R2022b.
>> warning on all
>> geobasemap streets % pan/zoom until you can see tiles
Warning: A value of class "double" was indexed with no subscripts specified. Currently the result of this operation is the indexed value itself, but in a
future release, it will be an error.
(Type "warning off MATLAB:subscripting:noSubscriptsSpecified" to suppress this warning.)
>> warning off all
>> close all
>> geobasemap streets % pan/zoom to make sure you get new tiles - no warnings
The streets-light basemap (the default) does require Internet access and uses cached tiles if available. You can use darkwater if you do not have Internet access.
  1 Comment
Chris Rhinehart
Chris Rhinehart on 15 Dec 2022
Kelly,
My mistake - the dark water basemap does work. I don't know why I forgot that that was not the default. However, the workaround you provided does not allow me to see the map. It does make the warnings go away as expected and I do have the darkwater option, but it's necessaryfor my project to get the satellite basemap to function.
If it helps, I've also attempted downloading basemaps and using those downloaded basemaps to see if that is a viable workaround and I receive the same errors.

Sign in to comment.


LucasBar
LucasBar on 7 Nov 2024 at 15:37
The solution of silence the warming is not a real solution.

Categories

Find more on Geographic Plots in Help Center and File Exchange

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!