postgis 自相交数据检测 修复

检测:

SELECT ST_IsValid(geom),ST_IsValidReason(geom) FROM tableName

  

修复

update tableName set geom=ST_MakeValid(geom)

  

posted @ 2022-01-05 11:13  qukaige  阅读(589)  评论(0编辑  收藏  举报