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

3 views (last 30 days)
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.

Answers (1)

Sangesh Pv
Sangesh Pv on 13 Oct 2023
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 Comment
Masoud Fahim
Masoud Fahim on 13 Oct 2023
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.

Sign in to comment.

Categories

Find more on Image Processing 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!