我正在使用postgis 2.2,如何使用postgis查询将多边形缩小到10米?
这是我的多边形
POLYGON((72.89994120597838 19.070245311788284,72.89981782436371) 19.069915760688904,72.9002845287323 19.070001951039718,72.9003381729126 19.070341641985888,72.89991974830626 19.07023517176424,72.89994120597838 19.070245311788284))
答案 0 :(得分:0)
你可以像这样st_buffer函数
选择st_buffer(st_geogfromtext(' POLYGON)((72.89994120597838 19.070245311788284,72.89981782436371 19.069915760688904, 72.9002845287323 19.070001951039718,72.9003381729126 19.070341641985888,72.89991974830626 19.07023517176424, 72.89994120597838 19.070245311788284))'), -10 )