Data Science, GIS, Risk Management, Insuretech.
raster. Now we simply loop over the earthquake events and rasterize them. We place 1 in the raster if the pixel falls within the buffered region and 0 otherwise. The sum of these rasters now give us a heat map, the higher the pixel values, the more earthquakes have occurred in the region. import