Refactor of the serializers for exposure layers in order to use the aggregated data and stats that are now being collected in the models.HeveDetails model
Change representation of an exposure layer in order to conform to the expectations of the frontend.
The single layer API now responds to a request to:
This PR is connected to #13 Major changes:
models.HeveDetails
modelThe single layer API now responds to a request to:
http://10.0.1.95:8000/gfdrr_det/api/v1/exposures/{layer-id}/
with the following GeoJSON content: