Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add issuedate range and warngeom spatial filters to weather warnings api #539

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

larskendall
Copy link
Contributor

It should now be possible to filter weather warnings by issuedate range, and by warngeom using any geodjango spatial filter (except distance filters, which tastypie doesn't yet support).

https://www.notion.so/prominentedge/API-to-access-FireCARES-weather-alerts-in-NFORS-1bafbe5268024aa38412f751160221c3#aa4b200672704339a5b67ee856139118

Example API Request

GET /api/v1/weather-warning/?issuedate__range=2020-05-23T21:10:00,2020-05-24T21:10:00&warngeom__intersects=POINT(-91.459 31.458)

Notes

Copy link
Contributor

@joliveros joliveros left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants