Geoplot map low resolution

조회 수: 33 (최근 30일)
Joseph Pierre
Joseph Pierre 2019년 6월 10일
답변: Jonas 2020년 4월 3일
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

답변 (2개)

Hiro Yoshino
Hiro Yoshino 2019년 8월 23일
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 2020년 4월 3일
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!

Translated by