This PR improves the hazards detail endpoint with the following:
The detail endpoint now shows a list of the events that are part of an event_set
It is now possible to use the bbox query parameter both on the list and on the detail endopoints. On the list endpoint it will filter out event_sets and on the detail endpoint it will filter out events
This PR improves the hazards detail endpoint with the following:
bbox
query parameter both on the list and on the detail endopoints. On the list endpoint it will filter outevent_sets
and on the detail endpoint it will filter outevents
Example request:
Deployment to the test server
This PR requires that the existing
HeveDetails
layers be deleted and that the whole ingestion process be redone:run
django-admin shell
and enternow go to geoserver's admin area and remove the
hazards
storefinally run
django-admin ingesthazards -f
. Do not forget the-f
flag in order to force the regeneration of the materialized views