纬度和经度范围的土地

时间:2021-08-10 16:00:54

I'm writing a program where I need the range of latitudes and longitudes that correspond to land on the earth. This can be a rough approximation, but I'm not sure how to go about obtaining this range. I mainly want to differentiate the continents from the oceans.

我正在编写一个程序,我需要的是与地球上的陆地相对应的纬度和经度范围。这可能是一个粗略的近似,但我不知道如何获得这个范围。我主要想区分大陆和海洋。

Thanks

1 个解决方案

#1


You can try The Google Time Zone API

您可以尝试使用Google时区API

When you enter a coordiante which is ouside land (i.e. on a ocean) then the returned time zone is ZERO_RESULTS. This response you can use.

当您输入一个coordiante(即海洋)时,返回的时区为ZERO_RESULTS。您可以使用此响应。

#1


You can try The Google Time Zone API

您可以尝试使用Google时区API

When you enter a coordiante which is ouside land (i.e. on a ocean) then the returned time zone is ZERO_RESULTS. This response you can use.

当您输入一个coordiante(即海洋)时,返回的时区为ZERO_RESULTS。您可以使用此响应。