Filter löschen
Filter löschen

Distinguish european voyages from coordinates

3 Ansichten (letzte 30 Tage)
Vanessa
Vanessa am 26 Mai 2017
Beantwortet: Walter Roberson am 26 Mai 2017
Hello everyone,
I have a large dataset with coordinates and name of arrival and departure ports. How can Matlab identify if the ports are in Europe or not? Is there a way from coordinates to distinguish voyages into Europe and outside of it?
Thanks, Vanessa
  3 Kommentare
Jan
Jan am 26 Mai 2017
Russia? But what about Switzerland?
Stephen23
Stephen23 am 26 Mai 2017
Bearbeitet: Stephen23 am 26 Mai 2017
What about the UK ?
Greenland ?
French Guiana ?
Iraq ?

Melden Sie sich an, um zu kommentieren.

Antworten (3)

MathReallyWorks
MathReallyWorks am 26 Mai 2017
Bearbeitet: MathReallyWorks am 26 Mai 2017
Hello Vanessa,
Firstly, classify this large dataset into 2 classes: Inside the europe and outside the europe.
Then perform matching for any of the data points. If that data point lies in "Inside the europe" class then particular port is in europe otherwise not.
  2 Kommentare
Vanessa
Vanessa am 26 Mai 2017
How can I do the first classification? Is there a toolbox tha identifies if the location is inside or outside Europe?
Thanks
MathReallyWorks
MathReallyWorks am 26 Mai 2017
There are so many algorithms to perform classification. Now, which one to choose, depends on your data and its type.
It will be easy for someone to give proper answer of your question if you show you database.

Melden Sie sich an, um zu kommentieren.


Vanessa
Vanessa am 26 Mai 2017
Is there a way to get back the continent in which the coordinates correspond?
  1 Kommentar
Jan
Jan am 26 Mai 2017
Bearbeitet: Jan am 26 Mai 2017
The names of the arrival ports seems to be much easier. How many different ports do you have? What exactly is "large"?
Did you take the time to ask an internet search engine already? Perhaps: https://www.google.de/search?q=Find+country+belonging+to+GPS+coordinates . This migth be useful: https://developers.google.com/maps/documentation/geocoding/start?csw=1

Melden Sie sich an, um zu kommentieren.


Walter Roberson
Walter Roberson am 26 Mai 2017
Have a look at https://www.mathworks.com/matlabcentral/answers/129963-generating-50-random-locations-inside-geo-map-data#answer_268603 where Kelly shows how to test whether a point is within a given shape.
Combine that with a shape file for Europe, perhaps one of the ones mentioned at https://gis.stackexchange.com/questions/177741/looking-for-a-free-shapefile-of-the-european-countries

Kategorien

Mehr zu Get Started with Signal Processing Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by