简体   繁体   中英

Is there a way to use ST_BUFFER on Snowflake?

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?

I don't think they have support for geometry buffers at this stage. ST_AREA isn't going to help you. Last I heard they are working on improving their geospatial support.

That said, can you buffer your data somewhere else in your workflow? Such as using shapely buffer in python, or turf circle/buffer in javascript?

As said above you can find all geospatial functions here: https://docs.snowflake.com/en/sql-reference/functions-geospatial.html

Regarding ST_BUFFER I think the function ST_AREA sounds good: https://docs.snowflake.com/en/sql-reference/functions/st_area.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM