GFDRR / geonode

GFDRR Lab GeoNode
https://www.geonode-gfdrrlab.org
GNU General Public License v3.0
2 stars 3 forks source link

Large dataset compression causing server down #91

Open matamadio opened 4 years ago

matamadio commented 4 years ago

Geonode has the tendency to fail (goes down for several minutes) when large raster (1+ gb) datasets are requested for download as the server tries to zip the tif. This is suboptimal, since tifs are already compressed. It would be more efficient if the download link pointed directly to the file, as accessible from metadata description.

Example: https://www.geonode-gfdrrlab.org/layers/hazard:rftl_aa_mean_1980_2018 This dataset is a 2.5 gb raster. When trying to dowload, the server goes down. However, using the direct link to the uploaded file (https://www.geonode-gfdrrlab.org/uploaded/layers/2020/05/29/rftl_aa_mean_1980_2018.tif) the download starts immediatly and without failing the server.