ST_Area —返回多边形几何的面积。 ST_Azimuth —返回以北为基准的方位角,以弧度为单位,从点A的垂直方向到点B的角度以弧度为单位。 ST_Angle —返回3个点之间或2个向量之间的角度(4个点或2条线)。 ST_ClosestPoint —返回g1上最接近g2的2D点。这是最短线的第一点。 ST_3DClosestPoint —返回g1上最接...
量测2D对象的周长 ST_perimeter(geometry) ST_perimeter2d(geometry) 量测3D对象的周长 ST_perimeter3d(geometry) 量测两点构成的方位角,单位弧度 ST_azimuth(geometry, geometry) 几何对象输出: 参考语义: NDR:Little Endian XDR:big-endian HEXEWKB:Canonical SVG:SVG 格式 GML:GML 格式 KML:KML 格式 GeoJson:...
量测两个对象间距离 ST_distance(geometry, geometry) 量测两条线之间的最大距离 ST_max_distance(linestring,linestring) 量测2D对象的周长 ST_perimeter(geometry) ST_perimeter2d(geometry) 量测3D对象的周长 ST_perimeter3d(geometry) 量测两点构成的方位角,单位弧度 ST_azimuth(geometry, geometry) 几何对象输...
ST_MakeLine从输入几何体创建线串。 V1.3版本HQE支持。 ST_MakePoint ST_MakePoint(x, y) 子类型POINT的 GEOMETRY。 ST_MakePoint返回其坐标值为输入值的点几何体。 V1.3版本HQE支持。 ST_Point ST_Point(x, y) 子类型POINT的 GEOMETRY。 ST_Point从输入坐标值返回点几何体。
ST_Azimuth— Returns the north-based azimuth as the angle in radians measured clockwise from the vertical on pointA to pointB. ST_Angle—返回3个点之间或2个向量之间的角度(4个点或2条线)。 ST_Angle— Returns the angle between 3 points, or between 2 vectors (4 points or 2 lines). ...
8. ST_InterpolatePoints:用于在两点之间以给定距离间隔生成一系列点坐标,返回一个 MULTIPOINT 对象。 9. ST_LongestLine:用于找到多条线段之间的最长线段,返回一个 LINESTRING 对象。 10. ST_Azimuth:用于计算两点之间的方位角(以北为基准),返回一个 double 类型值。©...
degrees(ST_Azimuth( ST_GeomFromText('POINT(-122.679 45.519)', 4326), ST_GeomFromText('POINT(-122.667 45.532)', 4326) )) AS direction; 结果如下: 用人类的话说,这意味着 5650 英尺,航向为东北 42.7°。 再例如,我们可以使用函数ST_Intersects()来查找某个点所在的城市、县和州的名称。 请记住,市...
EXECUTE 'SELECT degrees( ST_Azimuth( ST_StartPoint(''' || rec.geom::text || '''), ST_EndPoint(''' || rec.geom::text || ''') ) )' INTO heading; -- Return record seq := seq + 1; gid := rec.gid; node := rec.node; ...
ST_perimeter2d(geometry) 量测3D对象的周长ST_perimeter3d(geometry) 量测两点构成的方位角,单位弧度ST_azimuth(geometry, geometry) 几何对象输出: 参考语义: NDR:Little Endian XDR:big-endian HEXEWKB:Canonical SVG:SVG格式 GML:GML格式 KML:KML格式 GeoJson:GeoJson格式 ST_AsBinary(geometry,{'NDR'|'XDR'...
ST_perimeter2d(geometry)--量测3D对象的周长ST_perimeter3d(geometry)--量测两点构成的方位角,单位弧度ST_azimuth(geometry, geometry) 4.几何对象输出 ST_AsBinary(geometry,{'NDR'|'XDR'}) ST_AsEWKT(geometry) ST_AsEWKB(geometry, {'NDR'|'XDR'}) ...