Verify if a point is Land or Water in Google Maps

后端 未结 18 1664
不知归路
不知归路 2020-11-22 17:16

..and then Google-maps \"divide the waters from the waters\"

Well, not in the biblical sense but..

I would like to know what options I have in order to verif

18条回答
  •  北海茫月
    2020-11-22 17:50

    I have a different solution here. In current google map implementation, it does not calculate direction/distance from a water location to land location and vice versa. Why dont we use this logic to determine if the point is land or water.

    For example lets take this example

    if we want to determine, if a point x is land or water, then

    let us check the direction between point x and a known point y which is land. If it determines the direction/distance then point x is land or else it is water.

提交回复
热议问题