kartoza / gfdrr_oondra

GFDRR Challenge Online Operational Natural Disaster Risk Assessment platform
0 stars 3 forks source link

some layers not drawing and no thumbnails working #43

Closed gubuntu closed 7 years ago

gubuntu commented 7 years ago

please fix urgently

NyakudyaA commented 7 years ago

The thumbnails are not working mainly because they are loaded in the db as port 8000 instead of the external port port:8111. From the database select thumbnail_url from base_resourcebase where thumbnail_url is not null; returns the value with incorrect ports.

Solution: we need to fix the upload script so that it has correct url

gubuntu commented 7 years ago

Thanks @NyakudyaA, please go ahead and fix the script and fix the layers in place.

gubuntu commented 7 years ago

@NyakudyaA this is fixed, right? For all layers and in load procedure and not just a workaround? Please comment and complete or close

NyakudyaA commented 7 years ago

All layers are working fine now. If you load a layer it will generate the correct thumbnail.