首页 > 数据库技术 > 详细

postgrep sql几何量测量函数

时间:2017-08-16 14:59:49      阅读:531      评论:0      收藏:0      [点我收藏+]

1、量测面积 ST_Area(geometry)

2、根据经纬度点计算在地球曲面上的距离,单位米,地球半径取值6370986米        ST_distance_sphere(point, point)

 类似上,使用指定的地球椭球参数 ST_distance_spheroid(point, point, spheroid)

3、量测2D对象长度 ST_length2d(geometry)

4、量测3D对象长度 ST_length3d(geometry)

5、根据经纬度对象计算在地球曲面上的长度 ST_length_spheroid(geometry,spheroid)

  ST_length3d_spheroid(geometry,spheroid)

6、量测两个对象间距离 ST_distance(geometry, geometry)

7、量测两条线之间的最大距离 ST_max_distance(linestring,linestring)

8、量测2D对象的周长 ST_perimeter(geometry)

  ST_perimeter2d(geometry)

9、量测3D对象的周长 ST_perimeter3d(geometry)

10、量测两点构成的方位角,单位弧度 ST_azimuth(geometry, geometry)





本文出自 “简单可依赖” 博客,转载请与作者联系!

postgrep sql几何量测量函数

原文:http://wenxuehui.blog.51cto.com/12898974/1956673

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!