[GeoNode-users] Migrating from GeoNode 2.4.1 to 2.10.x

Paolo Pasquali paolo.pasquali at gmail.com
Tue Jan 15 05:19:28 PST 2019


Hi Toni,

Unfortunately the layers I need to publish have <queryable> already set to
true.
Now I'm checking whether my settings are properly configured as suggested
by Alessio.

Thanks for your help!

Bye,

P.

--------------------
Paolo Pasquali
ITHACA - Information Technology for Humanitarian Assistance, Cooperation
and Action
via Pier Carlo Boggio, 61
10138 Torino - Italy
Tel. +39 011 1975 1872
Fax +39 011 1975 1122


On Tue, Jan 15, 2019 at 12:09 PM Toni Schönbuchner <
toni.schoenbuchner at csgis.de> wrote:

> Hi Paolo,
>
> Do you mean the queryable checkbox of a layer under publish tab?
>
> I think this is written to the specific layer.xml like
> /data/geoserver-data/workspaces/geonode/geonode_data/tiger_roads/layer.xml
>
> <queryable>false</queryable>
>
> Unsure if there is some way by use of the rest endpoint but for sure you
> could
> „sed" it in all files:
>
> $ find /data/geoserver-data/workspaces/geonode -type f -iname  "layer.xml"
> -exec sed -i.bak
> 's/<queryable>false<\/queryable>/<queryable>true<\/queryable>/' "{}" +;
>
> ( untested )
>
> Cheers,
>
> Toni
>
> Am 15.01.2019 um 11:46 schrieb mailman at lists.osgeo.org:
>
> *Von: *Paolo Pasquali <paolo.pasquali at gmail.com>
> *Betreff: **Aw: [GeoNode-users] Migrating from GeoNode 2.4.1 to 2.10.x*
> *Datum: *15. Januar 2019 um 11:35:19 MEZ
> *An: *Francesco Bartoli <xbartolone at gmail.com>
> *Kopie: *geonode-users <geonode-users at lists.osgeo.org>
>
>
>
> Do you know where GeoServer store the information whether a layer is
> published or not?
>
> Thanks for your help!
>
> Ciao
>
> P.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20190115/a993abd2/attachment.html>


More information about the geonode-users mailing list