In MATLAB, display specific data from a CSV file and show an image when selecting GPS points marked on a map

3 次查看(过去 30 天)
Hello! I have marked some GPS points on a map (in a scatter plot). Now I want to display specific data from a CSV file (from which I also have the GPS points) and also plot an image when I select one of these points. However, I am still a beginner in MATLAB and have no idea how to achieve this.

回答(1 个)

Sangesh Pv
Sangesh Pv 2023-10-13
from what i can understand you want to make a map from the csv file, you can replace the gps with you preferred name and and change the filename.csv to your file
gps = readtable('filename.csv');
gps = geoscatter(gps,"Latitude","Longitude","filled");
  1 个评论
Masoud Fahim
Masoud Fahim 2023-10-13
I have already plotted a map in a scatter plot, and the GPS points are already displayed on it. I've also adjusted the DataTipRow so that when I select a GPS point, relevant information is shown. I just need to figure out how to open an image associated with that point. All the information, including the file paths to the images, is stored in a CSV file.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Image Processing Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by