Let’s talk about geographical bounding boxes.

Bounding boxes are easy when you are on a 2D plane. E.g. PostGIS has box2d type that describes rectangular geometry. It is usually described by low-left and up-right points. …

Let’s look at how to aggregate data by a geography column. BigQuery refuses to using geography, so let’s consider alternatives, and learn about under-appreciated function.

Lacking the ability to GROUP BY a geography column, what can one use right now? A very common solution is to do…

You might have already seen many ways to convert GeoJson files to something BigQuery can understand. Let’s invent one more wheel!

E.g. this python script from Lak Lakshmanan:

Or using org2org tools to produce CSV file:

I also have a few node.js scripts to convert both ways between GeoJson or…

Michael Entin

Hi, I'm TL of BigQuery GIS project. Posting small recipes and various notes for BQ GIS users.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store