php - Detect water/sea between two lat longs

285

How can we detect is there any water/sea between two lat-longs using google map API or any PHP library.

e.g. In the attached image, there is water between Marker H and Marker P so somehow I want to know that yes there is water between this two lat-longs.

enter image description here

Note: It is different from Verify if a point is Land or Water in Google Maps

In my question I want to detect is there any water between two lat-longs, I don't want to know that my lat-long is on land or on water.

People are also looking for solutions to the problem: php - Codeigniter Unable to load the requested file:

Source

Didn't find the answer?

Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.

Ask a Question

Write quick answer

Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.

Similar questions

Find the answer in similar questions on our website.