Google地图与海岸的距离 [英] Google Maps distance to sea coast

查看:166
本文介绍了Google地图与海岸的距离的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在谷歌地图中只有一点,是否有知道到海岸最近点的距离(即距离海面最近的距离),以及它在海岸的哪一点?

b
$ b

预先感谢。

解决方案

Google地图API中没有记录方法将返回到海岸的距离。



然而,你可能想看看下面的文章:



作者描述了一个点到多段线距离与 GSHHS 1 数据集一起使用找出一个点到大海有多远。




<1> GSHHS是一个高分辨率的海岸线数据集合,来自两个公共数据库域。数据经过广泛处理,没有内部不一致性,如不稳定点和交叉点。海岸线完全由分层排列的封闭多边形构成。这些数据可用于简化数据搜索和数据选择,或研究海岸线和陆地的统计特征。它配备了访问软件和例程,以促进基于标准缩减线路算法的抽取。

Given just one point in Google Maps, is there anyway to know the distance to the nearest point in the coast (that is the minimun distance to the sea), and which point in the coast it is?

Thanks in advance.

解决方案

There is no documented method in the Google Maps API that will return the distance to the coast.

However, you may want to check out the following article:

The author describes a "point-to-polyline distance" function that was used with the GSHHS1 dataset to find out how far a point is to the sea.


1 GSHHS is a high-resolution shoreline data set amalgamated from two databases in the public domain. The data have undergone extensive processing and are free of internal inconsistencies such as erratic points and crossing segments. The shorelines are constructed entirely from hierarchically arranged closed polygons. The data can be used to simplify data searches and data selections, or to study the statistical characteristics of shorelines and land-masses. It comes with access software and routines to facilitate decimation based on a standard line-reduction algorithm.

这篇关于Google地图与海岸的距离的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆