Measure pedestrian access using raster analysis in JavaScript