generate coordinates and alert json