如何使用空间SQL获取线中间位置的坐标

如何使用空间SQL获取线中间位置的坐标
已邀请:

刘锋

赞同来自:

【解决办法】:
select (st_x(st_startpoint(shape))+st_x(st_endpoint(shape)))/2 as x,(st_y(st_startpoint(shape))+st_y(st_endpoint(shape)))/2 as y from SDE.table。

要回复问题请先登录注册