Skip to content

Why alerts API does not return polygon #641

Answered by JJKraw
long-nguyen asked this question in Q&A
Discussion options

You must be logged in to vote

For alerts that do not contain an explicit polygon, you can use the geometries associated with the zone codes included in the alert. Those are found at /zones/{type}/{zoneID}

Make sure you request geo+json.

I keep a cache of these so I don't have to fetch every time.

Replies: 2 comments 14 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
14 replies
@sullynole
Comment options

@ephcoding
Comment options

@scadergit
Comment options

@ephcoding
Comment options

@JJKraw
Comment options

Answer selected by long-nguyen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants