

* convert coordinates using Google Maps projection | Year event_id d_latit~e d_longi~e coor_id km_to_nid _ID _X _X | list Year event_id d_latitude d_longitude coor_id km_to_nid _ID _X _X event_id: is the id of the drowning eventĪlso please notice that I have 343 drowning events and many more data for latitude and longitude.Ĭode.d_latitude d_longitude defines the coordinates of where the drowning event happened.latitude and longitude are instead the coordinates that define the Lybian border (have them for all the countries)._ID identifies the Country LIbya=3 Tunisia=5 Egypt=2.I need that because after that I am gonna say that the boat departed from Libya (if libya is the closest country), and I will build a variable called number of events by departure point.

I have latitude and longitude for a set of drowning events occurred in the Mediterranean Sea, I also have the data, as a shape file, of the coastal border of Libya Tunisia and Egypt, what I would like to do is: compute all the possible distances between every single drownig event and the coastal border of the countries stated above.įor example I have that a boat (identified as event 4) capsized at coordinates: 32.6853649 (d_latitude) 25.9012421(d_longitude) I want then to compute all the pairwise distances from that point to each country border and then take the smllest of such distance. Good Morning I am dealing with the following problem:
