How to find points inside a country border
Mostrar comentarios más antiguos
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!
Respuesta aceptada
Más respuestas (2)
KSSV
el 15 de En. de 2019
0 votos
Read about inpolygon
1 comentario
Thao Linh Tran
el 15 de En. de 2019
FRANCO CERVERA
el 5 de Jul. de 2022
0 votos
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 comentario
KSSV
el 5 de Jul. de 2022
The error says, in the table S, there is no variable/ column with name NAME.
Categorías
Más información sobre Coastal Engineering en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!