Geoplot map low resolution

28 views (last 30 days)
Joseph Pierre
Joseph Pierre on 10 Jun 2019
Answered: Jonas on 3 Apr 2020
I'm using geobubble (along with geoplot, geobasemap, etc...) to model dynamics at a city scale. The map appears but the resolution is so low that we can't even recognize the city. Are there ways to import a map of higher quality into matlab to improve my figure, without having to buy the Mapping Toolbox?
See image below.
Screen Shot 2019-06-10 at 1.00.38 PM.png

Answers (2)

Hiro Yoshino
Hiro Yoshino on 23 Aug 2019
How about using maps provided by third parties?
The one provided by "open street map" worked well for me in terms of resolution. (find the attached file please.)
name = 'openstreetmap';
url = 'a.tile.openstreetmap.org';
copyright = char(uint8(169));
attribution = copyright + "OpenStreetMap contributors";
displayName = 'Open Street Map';
addCustomBasemap(name,url,'Attribution',attribution,'DisplayName',displayName)
This script adds "open street map" to your geobasemap.
Once you run this, you'll get a new list of base maps to choose from - that has the open street map in itself.
You can change the base map by
geobasemap("opensteetmap");

Jonas
Jonas on 3 Apr 2020
There are higher resolution maps available with version R2019b, without needing the Mapping Toolbox. You can change the base map with the command geobasemap, for example:
geobasemap streets
It will change your figure's basemap immediately. More info on which other basemaps are available go check the documentation. I personally like satellite, streets, and topography.

Community Treasure Hunt

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

Start Hunting!