I think we can also calculate bounds via rest api?

--
Jody Garnett

On 11 July 2017 at 10:19, Torben Barsballe <[email protected]>
wrote:

>
> Thanks David and Torben, this will be a little bit of a challenge to
>> explain - one wrinkle that may be a challenge is calculating the bounds
>> when one of these style groups is used.
>>
>> By calculating bounds, I assume you mean in the UI, when defining the
> layer group. Off the top of my head, I can think of a couple options:
>
>    1. Use the CRS bounds of the LayerGroup when calculating bounds for
>    one of these groups (since they are ostensibly unknown, and subject to
>    change)
>    2. Parse the layer names out of the linked style, and then calculate
>    bounds from there. Given that the calculated bounds for a layer group
>    typically must be changed manually when the layers change anyways, the fact
>    that these bounds may become out of date if the style changes seems fine,
>    and in line with the current behaviour.
>
> Torben
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to