0

I'm looking for a way to use ST_BUFFER function on Snowflake, but can't find it in the documentation. Is there an alias for this function or is there a way to replicate it?

4

2 回答 2

2

我认为他们现阶段不支持几何缓冲区。ST_AREA 不会帮助你。最后我听说他们正在努力改善他们的地理空间支持。

也就是说,您可以在工作流程的其他地方缓冲数据吗?比如在python中使用shapely buffer,或者在javascript中使用turf circle/buffer?

于 2020-09-25T07:19:58.510 回答
0

如上所述,您可以在此处找到所有地理空间功能:https ://docs.snowflake.com/en/sql-reference/functions-geospatial.html

关于 ST_BUFFER 我认为函数 ST_AREA 听起来不错:https ://docs.snowflake.com/en/sql-reference/functions/st_area.html

于 2020-09-24T06:22:06.667 回答