How to find points inside a country border
Show older comments
Hi everyone, I have a 2 dimension matrix containing lat, lon of multiple points. I would like to ask whether there is any way in Matlab to define which points are inside the border of a specified country. Any suggestion would be greatly appreciated!
Accepted Answer
More Answers (2)
FRANCO CERVERA
on 5 Jul 2022
0 votes
Hello,
I am trying to select coordinates points from a specified countries and your script would help me very much but i have problems by running it. Could you please help me to understand what to do with this error message from the script above ?
thank you !
Error using tabular/dotParenReference
Unrecognized table variable name 'NAME'.
Error in test_shapefile (line 12)
disp(S.NAME(idx))
1 Comment
KSSV
on 5 Jul 2022
The error says, in the table S, there is no variable/ column with name NAME.
Categories
Find more on Coastal Engineering 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!