Plot google map with nice m_map borders / projections

3 vues (au cours des 30 derniers jours)
Michael
Michael le 18 Juil 2016
Commenté : Michael le 19 Juil 2016
I would like to create a google satellite image of an area using the function plot_google_map but with a fancy border or on a certain map projections using m_map functions. Anyone know how to do this?
using these functions: https://www.eoas.ubc.ca/~rich/map.html#7._Lambert_Conformal_Projection_with_Med
some basic code, it's more the problem of combining the two functions:
m_grid('linestyle','none','tickdir','out','linewidth',3); %m_map projection
hold on
plot_google_map('maptype','satellite','showlabels','scale') % google map satellite
ylim([38 46]); % latitude
xlim([4 12]); % longitude
I tried it the other way, plot_google_map first and then m_grid but doesn't work either. Tried different projections too.
Ideally it would be nice to have the satellite image within the border, and if this example projection is too difficult, a straight forward square/rectangle projection would be fine.

Réponses (0)

Catégories

En savoir plus sur Mapping Toolbox dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by