S2 Geofunctions in BigQuery?

I'm just wondering if there are any plans to add features for S2 geotextics in BigQuery?

It seems that many people have lat-long data in BQ - some s2 functions that fall into cells and vice versa, etc. would be very useful, of course, - they would gladly send a function request if they are not already there.

The best links I can find as fyi:

http://blog.christianperone.com/2015/08/googles-s2-geometry-on-the-sphere-cells-and-hilbert-curve/ https://godoc.org/github.com/golang/geo/ s2 https://docs.google.com/presentation/d/1Hl4KapfAENAOf4gv-pSngKwvS_jwNVHRPZTTDzXXn6Q/view

I see some javascript libraries, but not sure if they can be used in UDF

https://www.npmjs.com/package/s2-geometry https://github.com/mapbox/node-s2

Interestingly, this is something that can only be done in UDF?

+3
source share
1 answer

BigQuery - - , , - . , S2 Google , BigQuery. JavaScript, - , BigQuery JS.

: BigQuery GIS: https://cloud.google.com/bigquery/docs/gis-intro

+6

Source: https://habr.com/ru/post/1653888/


All Articles