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

Toni Schönbuchner toni.schoenbuchner at csgis.de
Tue Jan 15 03:09:11 PST 2019


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 <mailto: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 <mailto:xbartolone at gmail.com>>
> Kopie: geonode-users <geonode-users at lists.osgeo.org <mailto: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/babcd598/attachment.html>


More information about the geonode-users mailing list