Plot my GPS loop on google satellite maps.
39 次查看(过去 30 天)
显示 更早的评论
I have 14 different .mat files and they are sections of a whole loop. I have the gps plot ready but I need to plot it on a google satellite map.
Lat = Signal_83.y_values.values./3600;
Long = -Signal_82.y_values.values./3600 ;
geoscatter(Lat,Long,'.'); hold on
the above code gives me a plot on an open street map and I need it on a satellite view plot.
0 个评论
回答(1 个)
Yash
2023-11-8
Hello Riddhesh,
I understand you want to plot your latitude and longitude data on a Google satellite map. To achieve this. you can use the 'webmap' function in MATLAB from the Mapping Toolbox before plotting the latitude and longitude data on the map. Thereafter, function 'tileLayer' can be used to incorporate a satellite tile layer into a web map. Satellite tile layer refers to a map layer that portrays the Earth's surface through satellite imagery. This layer is typically employed in mapping applications to offer a more comprehensive and lifelike representation of the landscape.
This is how you can add a satellite tile layer to a web map before plotting latitue and longitude data on the map:
WM = webmap('Google'); % creating a web map object
TL = WM.tileLayer('GoogleSatellite'); % adding a satellite tile layer to the map
The above code will create a web map object using the Google Maps API and add a satellite tile layer to the map.
To know more about the Web Map Display and its functions, you can refer to its documentation here: https://in.mathworks.com/help/map/web-map-display.html?s_tid=CRUX_topnav
Hope it helps!
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Satellite Mission Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!