Filter löschen
Filter löschen

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

2 Ansichten (letzte 30 Tage)
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.

Antworten (1)

Sangesh Pv
Sangesh Pv am 13 Okt. 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 Kommentar
Masoud Fahim
Masoud Fahim am 13 Okt. 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.

Melden Sie sich an, um zu kommentieren.

Community Treasure Hunt

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

Start Hunting!

Translated by