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일

0 개 추천

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일

0 개 추천

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.

카테고리

도움말 센터File Exchange에서 Geographic Plots에 대해 자세히 알아보기

질문:

2019년 6월 10일

답변:

2020년 4월 3일

Community Treasure Hunt

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

Start Hunting!

Translated by