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

Paolo Corti pcorti at gmail.com
Thu Nov 30 14:09:00 PST 2017


Ciao Ivan
this looks like a bug to me. Thumbnails should be rendered also for
layers with a srid different than 4326.
I will file a ticket and see if there is an easy way to fix it.
thanks for reporting
p

On Sun, Nov 26, 2017 at 3:27 PM, Ivan Marchesini
<ivan.marchesini at gmail.com> wrote:
> 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> 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/
>
>
> 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
> Web 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:
>
> Message: 3
> Date: Sat, 25 Nov 2017 18:19:39 +0100
> From: Ivan Marchesini <ivan.marchesini at gmail.com>
> To: 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>
> 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
> https://lists.osgeo.org/mailman/listinfo/geonode-users
>
>
>
>
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/geonode-users
>



-- 
Paolo Corti
Geospatial software developer
web: http://www.paolocorti.net
twitter: @capooti
skype: capooti


More information about the geonode-users mailing list