geo.stDistance() 函数
geo.stDistance()
是实验性的,并且可能随时更改。
geo.stDistance()
返回从给定区域到指定 GIS 几何的距离。
geo.stDistance
用作 geo.ST_Distance()
的辅助函数。
函数类型签名
(geometry: A, region: B, units: {distance: string}) => float where A: Record, B: Record
有关更多信息,请参阅函数类型签名。
参数
region
(必需)要测试的区域。为形状指定记录属性。
geometry
(必需)要测试的 GIS 几何。可以是点或线串几何。
units
(必需)定义距离测量单位的记录。
此页面是否有帮助?
感谢您的反馈!