Text this: Pointwise density estimation on metric spaces and applications in seismology