Skip to content

Instantly share code, notes, and snippets.

@janbenetka
Last active September 21, 2021 04:15
Show Gist options
  • Save janbenetka/cf30ec5abf054954c3f7b6536fd33772 to your computer and use it in GitHub Desktop.
Save janbenetka/cf30ec5abf054954c3f7b6536fd33772 to your computer and use it in GitHub Desktop.
[Bigquery Centroid] #bigquery #geo #coordinates
ST_Y(ST_CENTROID(geog)) AS tract_lat,
ST_X(ST_CENTROID(geog)) AS tract_lon,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment