[GeoNode-users] can't see the layers preview in the "explore layer" page - partially SOLVED

Ivan Marchesini ivan.marchesini at gmail.com
Sun Nov 26 12:27:37 PST 2017


Hi Francesco...

Bingo!!!
Thank you

Testing the countries of Natural earth I have seen that the thumbs was 
created. So I decided to try again with my data..

it seems that, in order to generate the thumbnails the layers must be in 
epsg:4326 !!!!! This is true for vector and raster data (shapefiles and 
tiff at least).
In precedence I have tested only with data in epsg:32633 (UTM/WGS84, 
zone 33) and other CRS but now I see that WGS84 lat/long is the only CRS 
in which Geonode is able to generate the thumbs..
It is not perfect since we have to re-project the data and that can 
generate some problems (re-interpolation algorithms for raster, datum 
transformation errors), however it is good enough for starting...

do you think it is a bug or a well known feature?
do you think it can be solved?

thank you again
Ivan



On 26/11/2017 18:33, Francesco Bartoli wrote:
> Ivan,
>
> given your answers then, assuming your are testing with the same 
> datasets ever, can you try with different data? Maybe classic 
> shapefile like countries from natural earth.
>
> Francesco
>
> Il giorno 26/nov/2017, alle ore 15:33, Ivan Marchesini 
> <ivan.marchesini at gmail.com <mailto:ivan.marchesini at gmail.com>> ha scritto:
>
>> Hi Toni,
>>
>> thank you very much for your answer...
>>
>>>
>>> - Browser cache. (Delete it)
>>> - a not writeable thumbs dir (checkit)
>>
>> thank you for the hints
>> I have cleaned the browser cache but the problem is still there: the 
>> thumbnails exist but they are png images completely white
>> The thumbs dir has the following rules
>>
>> ls -al /var/www/geonode/uploaded/
>>
>> drwxrwxrwx 4 www-data www-data 4096 nov 24 13:51 .
>> drwxr-xr-x 5 www-data root     4096 nov 24 13:50 ..
>> drwxrwxrwx 2 www-data www-data 4096 nov 25 19:20 layers
>> drwxrwxrwx 2 www-data www-data 4096 nov 26 15:08 thumbs
>>
>> I think they are fine...
>>
>> Moreover I have tested that the thumbnails of the maps are correctly 
>> created and, if I'm not wrong, they are stored in the same folder of 
>> the layers thumbs
>>
>>>
>>> what else you can do is check the thumbnail url and see if the image 
>>> exists on your
>>> drive.
>>
>> Yes, thank you.
>> The files exist but they are white png images
>>
>>> An easy way is as already suggested to use the browser console. Or 
>>> to navigate
>>> to a layer in django admin: http://YOURURL/admin/layers/layer/1/ 
>>> <http://yoururl/admin/layers/layer/1/>
>>
>> yes... the thumb file is there: 
>> uploaded/thumbs/layer-40a378c6-d20d-11e7-a6fc-0050568d40c1-thumb.png
>>
>>
>> thank you again...
>> any idea or strategy for understanding the problem is welcome
>>
>> best regards
>> Ivan
>>
>>
>>
>>>
>>> cheers,
>>>
>>> Toni
>>>
>>> -----------------------------------------------
>>> CSGIS
>>>
>>> -----------------------------------------------
>>> Kolonnadenstraße 1
>>> 04109 Leipzig
>>> -----------------------------------------------
>>> Mobil+49/ (0) 176 6680 3198
>>> Tel +49/ (0) 341 24 04 738
>>> Fax +49/ (0) 341 24 04 73
>>> Webhttp://csgis.de <http://csgis.de/>
>>> -----------------------------------------------
>>>
>>> Hinweis gemäß § 33 BDSG
>>> Daten der Verfahrensbeteiligten werden gespeichert. Dieses Dokument 
>>> ist ausschließlich für den
>>> Adressaten bestimmt. Der Inhalt der E-Mail ist vertraulich. Falls 
>>> Sie diese E-Mail versehentlich
>>> erhalten haben, rufen Sie uns unter obiger Rufnummer umgehend an und 
>>> löschen Sie diese Nachricht
>>> von Ihrem Computer. Jegliche Art von Reproduktionen, Verbreitung, 
>>> Vervielfältigung, Veränderung,
>>> Verteilung und/oder Veröffentlichung dieser E-Mail ist verboten.
>>>
>>>> Am 26.11.2017 um 07:13 schrieb 
>>>> geonode-users-request at lists.osgeo.org 
>>>> <mailto:geonode-users-request at lists.osgeo.org>:
>>>>
>>>> Message: 3
>>>> Date: Sat, 25 Nov 2017 18:19:39 +0100
>>>> From: Ivan Marchesini <ivan.marchesini at gmail.com 
>>>> <mailto:ivan.marchesini at gmail.com>>
>>>> To:geonode-users at lists.osgeo.org <mailto:geonode-users at lists.osgeo.org>
>>>> Subject: [GeoNode-users] can't see the layers preview in the "explore
>>>>        layer"  page
>>>> Message-ID: <a52ee523-8cc1-b518-5875-bf0f5efaac8e at gmail.com 
>>>> <mailto:a52ee523-8cc1-b518-5875-bf0f5efaac8e at gmail.com>>
>>>> Content-Type: text/plain; charset=utf-8; format=flowed
>>>>
>>>> Dear Geonode users,
>>>>
>>>> after a fresh installation of Geonode 2.6 on ubuntu 16.04 I'm doing 
>>>> some
>>>> tests and it seems I can't see the thumbnail of the uploaded layers in
>>>> the "explore later" page...
>>>>
>>>> is this something that you have already observed?
>>>>
>>>> many thanks
>>>>
>>>> Ivan
>>>
>>
>> _______________________________________________
>> geonode-users mailing list
>> geonode-users at lists.osgeo.org <mailto:geonode-users at lists.osgeo.org>
>> https://lists.osgeo.org/mailman/listinfo/geonode-users
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20171126/3ce855eb/attachment-0001.html>


More information about the geonode-users mailing list