Request for suggestion about obtaining map data of mountain from google map and creating a contour plot
1 view (last 30 days)
Show older comments
Hello everyone! I need to create the contour map of a mountain using Matlab. Also, the map of mountain is present on google map or mapcarta. I need to obtain the map data. And create a contour plot. I am new to matlab, and I don’t know how to proceed. Can anyone please suggest me, how should I proceed? I will greatly appreciate the help!.
0 Comments
Answers (1)
Randy Acheson
on 11 Apr 2017
I've never used Google Map data in MATLAB, but you might want to take a look at this File Exchange link:
I do know that you can access map data from the Web Map Service directly through MATLAB. This is an API for geographic data from multiple sources. You can choose one you like from the documentation page here:
This is an example of how to access and use some cloud data from a NASA server. You may be able to modify this code for your needs:
Once you have map data in MATLAB, you can create a contour plot with the 'contourm' or 'contourfm' functions. Here is the documentation for these functions:
https://www.mathworks.com/help/map/ref/contourm.html https://www.mathworks.com/help/map/ref/contourfm.html
Good luck!
0 Comments
See Also
Categories
Find more on Mapping Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!