Sql 如何获得第一点';类型为path的列的s坐标
我有上面的桌子 尝试进行如下查询:Sql 如何获得第一点';类型为path的列的s坐标,sql,postgresql,path,coordinates,postgis,Sql,Postgresql,Path,Coordinates,Postgis,我有上面的桌子 尝试进行如下查询: SELECT e.id, e.distance, e.height, e.coordinates, e.gtype FROM rf.geometry e WHERE coordinates[0][0] > 10; 我得到了一个错误: ERROR: cannot subscript type path because it is not an array 路径的维度是什么?您是如何构建的?是否有理由不使用几何体或地理类型而不是自定义的“路径”? ER
SELECT e.id, e.distance, e.height, e.coordinates, e.gtype FROM rf.geometry e WHERE coordinates[0][0] > 10;
我得到了一个错误:
ERROR: cannot subscript type path because it is not an array
路径的维度是什么?您是如何构建的?是否有理由不使用几何体或地理类型而不是自定义的“路径”?
ERROR: cannot subscript type path because it is not an array