[GeoNode-users] set default_style_id by reading geoserver layer

Simone Dalmasso simone.dalmasso at gmail.com
Mon Jan 9 01:23:39 PST 2017

Bella Simo,

we should have something that should help you, take a look at this function

Let me know.


2017-01-05 17:07 GMT+01:00 simone balbo <simone.blb at gmail.com>:

> Hi list,
> I found out that I have the 'default_style_id' field set to null for all
> my layers in GeoNode 2.4 (not sure how I end up with this, probably
> update_layers?).
> Therefore I would like to write a script that for each layer reads the
> default style for the corresponding layer in geoserver and sets the correct
> id in GeoNode.
> Does anyone have suggestion on which existing function can I take
> advantage of?
> Thanks!
> Simone
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geonode-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20170109/45158a4d/attachment.html>

More information about the geonode-users mailing list