GeographyPoint.From

Syntax

GeographyPoint.From(
    longitude as number,
    latitude as number,
    optional z as nullable number,
    optional m as nullable number,
    optional srid as nullable number
) as record

About

创建一个记录,该记录代表其构成部分的地理点,如经度、纬度,如果存在,则为高程(Z)和度量值(M)。 如果与默认值(4326)不同,则可以提供可选的空间引用标识符(SRID)。

Example

从经度和纬度创建地理点。

用法

GeographyPoint.From(-122.127222, 47.641944)

输出

[Kind = "POINT", Longitude = -122.127222, Latitude = 47.641944]