Identifying earthquake-prone areas in the state of California
Last updated
Last updated
In this example we are going to use some of the functions included in CARTO’s Analytics Toolbox in order to highlight zones prone to earthquakes, using a BigQuery public dataset.
First we define our region of interest, which in this case is a bounding box enclosing the state of California, using the function ST_MAKEENVELOPE
. After filtering the earthquake locations with this bounding box, we compute the concave hull polygon enclosing the resulting points using the ST_CONCAVEHULL
function. For visualization purposes, this polygon is smoothed out by means of the ST_BEZIERSPLINE
function. Finally, we construct the polygon defining the earthquake-prone area using the ST_POLYGONIZE
function.
This project has received funding from the European Union’s Horizon 2020 research and innovation programme under grant agreement No 960401.