【问题标题】:function st_length3d(geometry) does not exist函数 st_length3d(geometry) 不存在
【发布时间】:2015-09-22 06:45:25
【问题描述】:

每当我执行这个查询时:

SELECT ST_Length3D(ST_GeomFromEWKT('LINESTRING(0 0 0,5 0 3,5 10 5)'));在 postgresql 中它会抛出一个错误,如 ERROR: function st_length3d(geometry) does not exist SQL state: 42883

但此查询运行良好并显示结果 SELECT ST_Length(ST_GeomFromEWKT('LINESTRING(0 0 0,5 0 3,5 10 5)'));

我的系统定义函数中似乎没有添加 ST_Length3D 知道如何恢复它吗?

【问题讨论】:

    标签: postgis


    【解决方案1】:

    试试ST_3DLength

    该函数在 PostGIS 2.0 中从 ST_Length3D 重命名为 ST_3DLength

    【讨论】:

      猜你喜欢
      • 2022-07-20
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-01-21
      • 1970-01-01
      • 1970-01-01
      • 2018-05-06
      • 2021-01-21
      相关资源
      最近更新 更多