[GeoNode-devel] Update the BBOX of an existing layer

Dimitris Karakostis karakostis.dimitris at gmail.com
Tue Sep 13 07:47:15 PDT 2016

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:
> http://docs.geoserver.org/stable/en/user/rest/api/featuretypes.html#
> recalculate
> and the layer_metadata view: https://github.com/wfp-
> ose/geonode/blob/master/geonode/layers/views.py#L297
> Thanks
> Dimitris
> 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?
>> Thanks.
>> Dimitris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-devel/attachments/20160913/d850b7fd/attachment.html>

More information about the geonode-devel mailing list