[GeoNode-devel] Update the BBOX of an existing layer
tomkralidis at gmail.com
Tue Sep 13 16:06:23 PDT 2016
Some of GeoNode's CSW fields are ancillary fields which are managed via
signals as opposed to forms/views.
In the GeoNode Layer case, the Layer.csw_wkt_geometry would be the exact field
to update (with WKT of course)
I'm not familiar with your exact workflow/use case, but when saving a layer,
the signal in  should do this for you automagically given a Layer.save() in
your calling application.
Hope this helps.
On Tue, 13 Sep 2016, Dimitris Karakostis wrote:
> Date: Tue, 13 Sep 2016 16:47:15 +0200
> From: Dimitris Karakostis <karakostis.dimitris at gmail.com>
> To: geonode-devel <geonode-devel at lists.osgeo.org>
> Subject: Re: [GeoNode-devel] Update the BBOX of an existing layer
> Any suggestions on this?
> On Thu, Aug 4, 2016 at 2:17 PM, Dimitris Karakostis <
> karakostis.dimitris at gmail.com> wrote:
>> Some extra links on geoserver's RESTapi on the recalculate parameter:
>> and the layer_metadata view: https://github.com/wfp-
>> On Thu, Aug 4, 2016 at 2:10 PM, Dimitris Karakostis <
>> karakostis.dimitris at gmail.com> wrote:
>>> I am working on the development of a functionality where the user can
>>> add/edit the location of existing features (points etc.)
>>> When I add the new point then I use the <<recalculate>> parameter (from
>>> geoserver) in order to update the BBOX in the geoserver.
>>> But I can not find out how to update the BBOX stored in the CSW.
>>> I have found out, that if I manually update the layer's metadata, then
>>> the BBOX in the model is replaced with the correct one.
>>> But looking at the layer_metadata view, I am not sure, which is the
>>> function that actually does this.
>>> Can someone point me to the right direction?
More information about the geonode-devel