Hello
I have a .csv file in which is included one column with Latitudes, one column with Longtitudes and one column with Values(for example 1,2,3, etc). I would like to create a map but I don't know which command to use. I ve tried to use geoshow, geoplot and mapshow command but it is no use.
I mean i ve tried these :
lon1=d1(:,7);
lat1=d1(:,6);
values=d1(:,12);
mapshow(lat1,lon1,A,cmap) %or
geoshow(lat1,lon1,A,cmap) %or
geoplot(lat1,lon1,A,cmap)
but I have no results. Furthermore, I would like to create maps with these format (see attachment images )
The region I want to create maps is Greece.
Could anyone help me to make it?
Thanking you in advance

1 commentaire

hizaki
hizaki le 31 Jan 2020
Hi! have you found out how? I am also planning to make a map using MATLAB..

Connectez-vous pour commenter.

 Réponse acceptée

Hiro Yoshino
Hiro Yoshino le 31 Jan 2020

0 votes

I bet either geoplot or geoscatter is the one for you.
if you want to use maps, e.g., openstreetmap, from outside of MATLAB echosystem, try:
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)
and
% Replace the map of your choice
% latlim: latitude, lonlim: longitude
geoscatter("SEE DOCUMENTATION for GRAMMER!!")
geobasemap("openstreetmap");
geolimits(latlim,lonlim);

Plus de réponses (0)

Catégories

En savoir plus sur Geographic Plots dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by