12.17.7.2 Point Property Functions点特性函数

A Point consists of X and Y coordinates, which may be obtained using the ST_X() and ST_Y() functions, respectively. Point由X和Y坐标组成,可以分别使用ST_X()ST_Y()函数获得。These functions also permit an optional second argument that specifies an X or Y coordinate value, in which case the function result is the Point object from the first argument with the appropriate coordinate modified to be equal to the second argument.这些函数还允许一个可选的第二个参数指定X或Y坐标值,在这种情况下,函数结果是第一个参数的Point对象,相应的坐标修改为等于第二个参数。

For Point objects that have a geographic spatial reference system (SRS), the longitude and latitude may be obtained using the ST_Longitude() and ST_Latitude() functions, respectively. 对于具有地理空间参考系(SRS)的点对象,可以分别使用ST_longitude()ST_latitude()函数获取经度和纬度。These functions also permit an optional second argument that specifies a longitude or latitude value, in which case the function result is the Point object from the first argument with the longitude or latitude modified to be equal to the second argument.这些函数还允许指定经度或纬度值的可选第二个参数,在这种情况下,函数结果是第一个参数的点对象,经度或纬度修改为等于第二个参数。

Unless otherwise specified, functions in this section handle their geometry arguments as follows:除非另有规定,否则本节中的函数按如下方式处理其几何参数:

These functions are available for obtaining point properties:这些函数可用于获取点特性: