Is there a way to determine severe weather alert overlap?

  • 1
  • Question
  • Updated 6 years ago
If two separate cities right next to each other are affected by the same severe weather alert is it possible to determine that with the given information? When the call is made, if there is a severe alert, the alert information along with zones affected are returned. what are these zones? Do they refer to zip codes, cities, states, or other?
Photo of chowj2


  • 2 Posts
  • 0 Reply Likes

Posted 6 years ago

  • 1
Photo of WunderWilliam


  • 267 Posts
  • 18 Reply Likes
It isn't possible to determine it with the information that's on the API. The only real way to eliminate dupes is to compare the alerts (perhaps hash them first) and if they're the same, only send one and title it for both locations.