updates to template and api functions to account for vague descriptions of earthquake locations when processing from the database