Re: [Geoserver-users] Gaps in tiled WMS raster layers [SEC=OFFICIAL]

2021-03-02 Thread Richard Duivenvoorde
Thanks Aaron! 

For letting us know this! I was not aware of this option.

For other wondering what this option does, from:

https://docs.geoserver.org/latest/en/user/configuration/raster_access.html#max-oversampling-factor

"When dealing with reprojection, the underlying raster read operation might do 
some oversampling in order to provide the requested output resolution"

Regards,

Richard Duivenvoorde

On 3/3/21 7:09 AM, Sedgmen Aaron wrote:
> For anyone encountering the same problem, I found the solution was to set the 
> max oversampling factor to a lower value than the default.  A value of 3 
> provided suitable results for the raster layers and CRSs I'm working with.
> 
> From looking at the GeoTools source code, the default value is 30 in version 
> GeoTools 22.1 (used in GeoServer 2.18.2) and 1 in earlier versions of 
> GeoTools (used in GeoServer versions 2.16.1 to 2.18.1). 
> 
> The max oversampling factor is set as a java option in the GeoServer startup 
> script (this is covered in the GeoServer user guide), e.g. 
> -Dorg.geotools.coverage.max.oversample=3.
> 
> Regards,
> 
> Aaron Sedgmen.
> 
> -Original Message-
> From: Sedgmen Aaron  
> Sent: Wednesday, 3 March 2021 10:23 AM
> To: geoserver-users@lists.sourceforge.net
> Subject: Re: [Geoserver-users] Gaps in tiled WMS raster layers [SEC=OFFICIAL]
> 
> Yes, it does look similar.  I tried changing between JAI-EXT and JAI which 
> was suggested as a possible source of the problem in GEOS-9016, to no avail.
> 
> This is looking like a bug so will log a ticket.
> 
> Regards,
> 
> Aaron Sedgmen.
> 
> 
> 
> -Original Message-
> From: Richard Duivenvoorde  
> Sent: Monday, 1 March 2021 8:25 PM
> To: geoserver-users@lists.sourceforge.net
> Subject: Re: [Geoserver-users] Gaps in tiled WMS raster layers [SEC=OFFICIAL]
> 
> This looks like an earlier issue I had in 2.14:
> 
> https://osgeo-org.atlassian.net/jira/software/c/projects/GEOS/issues/GEOS-9016
> 
> which 'disappeared' after some newer release of 2.14.1
> 
> Regards,
> 
> Richard Duivenvoorde
> 
> PS the demo page on duif.net is not there anymore...
> 
> On 3/1/21 6:14 AM, Sedgmen Aaron wrote:
>> @Olysterthanks for the advice.  Unfortunately it hasn't resolved the 
>> problem.  I've tried a range of metatile and gutter size combinations and it 
>> doesn't appear to make a difference.
>>
>>  
>>
>> To illustrate the problem, this is a screenshot of the spearfish dem raster 
>> layer in QGIS, 512x512 tiles, EPSG:4326 (GeoServer is reprojecting the data 
>> from EPSG:26713), zoomed in to a scale of 1:500.  The default interpolation 
>> method for the layer is set to bilinear in GeoServer.
>>
>>  
>>
>>  
>>
>> Regards,
>>
>>  
>>
>> Aaron Sedgmen.
>>
>>  
>>
>> -Original Message-
>> From: Olyster 
>> Sent: Saturday, 27 February 2021 12:15 AM
>> To: geoserver-users@lists.sourceforge.net
>> Subject: Re: [Geoserver-users] Gaps in tiled WMS raster layers [SEC=OFFICIAL]
>>
>>  
>>
>> Hi,
>>
>>  
>>
>> have a look at default meta tile size and default gutter size in caching 
>> settings.
>>
>>  
>>
>> For example, I use 1 X 1 metatile with 10 gutter size.
>>
>>  
>>
>> Hope this helps
>>
>>  
>>
>>  
>>
>>  
>>
>> --
>>
>> Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html 
>> 
>>
>>  
>>
>>  
>>
>> ___
>>
>> Geoserver-users mailing list
>>
>>  
>>
>> Please make sure you read the following two resources before posting to this 
>> list:
>>
>> - Earning your support instead of buying it, but Ian Turton: 
>> http://www.ianturton.com/talks/foss4g.html#/ 
>> 
>>
>> - The GeoServer user list posting guidelines: 
>> http://geoserver.org/comm/userlist-guidelines.html 
>> 
>>
>>  
>>
>> If you want to request a feature or an improvement, also see this: 
>> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
>>  
>> 
>>
>>  
>>
>>  
>>
>> Geoserver-users@lists.sourceforge.net 
>> 
>>
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users 
>> 
>>
>>
>> Geoscience Australia Disclaimer: This e-mail (and files transmitted with it) 
>> is intended only for the person or entity to which it is addressed. If you 
>> are not the intended recipient, then you have received this e-mail by 
>> mistake and any use, dissemination, forwarding, printing or copying of this 
>> e-mail and its file attachments is prohibited. The security of emails 
>> transmitted cannot be guaranteed; by forwarding or replying to this email, 
>> you acknowledge and accept 

Re: [Geoserver-users] Gaps in tiled WMS raster layers [SEC=OFFICIAL]

2021-03-02 Thread Sedgmen Aaron
For anyone encountering the same problem, I found the solution was to set the 
max oversampling factor to a lower value than the default.  A value of 3 
provided suitable results for the raster layers and CRSs I'm working with.

>From looking at the GeoTools source code, the default value is 30 in version 
>GeoTools 22.1 (used in GeoServer 2.18.2) and 1 in earlier versions of 
>GeoTools (used in GeoServer versions 2.16.1 to 2.18.1). 

The max oversampling factor is set as a java option in the GeoServer startup 
script (this is covered in the GeoServer user guide), e.g. 
-Dorg.geotools.coverage.max.oversample=3.

Regards,

Aaron Sedgmen.

-Original Message-
From: Sedgmen Aaron  
Sent: Wednesday, 3 March 2021 10:23 AM
To: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Gaps in tiled WMS raster layers [SEC=OFFICIAL]

Yes, it does look similar.  I tried changing between JAI-EXT and JAI which was 
suggested as a possible source of the problem in GEOS-9016, to no avail.

This is looking like a bug so will log a ticket.

Regards,

Aaron Sedgmen.



-Original Message-
From: Richard Duivenvoorde  
Sent: Monday, 1 March 2021 8:25 PM
To: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Gaps in tiled WMS raster layers [SEC=OFFICIAL]

This looks like an earlier issue I had in 2.14:

https://osgeo-org.atlassian.net/jira/software/c/projects/GEOS/issues/GEOS-9016

which 'disappeared' after some newer release of 2.14.1

Regards,

Richard Duivenvoorde

PS the demo page on duif.net is not there anymore...

On 3/1/21 6:14 AM, Sedgmen Aaron wrote:
> @Olysterthanks for the advice.  Unfortunately it hasn't resolved the problem. 
>  I've tried a range of metatile and gutter size combinations and it doesn't 
> appear to make a difference.
> 
>  
> 
> To illustrate the problem, this is a screenshot of the spearfish dem raster 
> layer in QGIS, 512x512 tiles, EPSG:4326 (GeoServer is reprojecting the data 
> from EPSG:26713), zoomed in to a scale of 1:500.  The default interpolation 
> method for the layer is set to bilinear in GeoServer.
> 
>  
> 
>  
> 
> Regards,
> 
>  
> 
> Aaron Sedgmen.
> 
>  
> 
> -Original Message-
> From: Olyster 
> Sent: Saturday, 27 February 2021 12:15 AM
> To: geoserver-users@lists.sourceforge.net
> Subject: Re: [Geoserver-users] Gaps in tiled WMS raster layers [SEC=OFFICIAL]
> 
>  
> 
> Hi,
> 
>  
> 
> have a look at default meta tile size and default gutter size in caching 
> settings.
> 
>  
> 
> For example, I use 1 X 1 metatile with 10 gutter size.
> 
>  
> 
> Hope this helps
> 
>  
> 
>  
> 
>  
> 
> --
> 
> Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html 
> 
> 
>  
> 
>  
> 
> ___
> 
> Geoserver-users mailing list
> 
>  
> 
> Please make sure you read the following two resources before posting to this 
> list:
> 
> - Earning your support instead of buying it, but Ian Turton: 
> http://www.ianturton.com/talks/foss4g.html#/ 
> 
> 
> - The GeoServer user list posting guidelines: 
> http://geoserver.org/comm/userlist-guidelines.html 
> 
> 
>  
> 
> If you want to request a feature or an improvement, also see this: 
> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
>  
> 
> 
>  
> 
>  
> 
> Geoserver-users@lists.sourceforge.net 
> 
> 
> https://lists.sourceforge.net/lists/listinfo/geoserver-users 
> 
> 
> 
> Geoscience Australia Disclaimer: This e-mail (and files transmitted with it) 
> is intended only for the person or entity to which it is addressed. If you 
> are not the intended recipient, then you have received this e-mail by mistake 
> and any use, dissemination, forwarding, printing or copying of this e-mail 
> and its file attachments is prohibited. The security of emails transmitted 
> cannot be guaranteed; by forwarding or replying to this email, you 
> acknowledge and accept these risks.
> 
> 
> ___
> Geoserver-users mailing list
> 
> Please make sure you read the following two resources before posting to this 
> list:
> - Earning your support instead of buying it, but Ian Turton: 
> http://www.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines: 
> http://geoserver.org/comm/userlist-guidelines.html
> 
> If you want to request a feature or an improvement, also see this: 
> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
> 
> 
> 

Re: [Geoserver-users] Gaps in tiled WMS raster layers [SEC=OFFICIAL]

2021-03-02 Thread Sedgmen Aaron
Yes, it does look similar.  I tried changing between JAI-EXT and JAI which was 
suggested as a possible source of the problem in GEOS-9016, to no avail.

This is looking like a bug so will log a ticket.

Regards,

Aaron Sedgmen.



-Original Message-
From: Richard Duivenvoorde  
Sent: Monday, 1 March 2021 8:25 PM
To: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Gaps in tiled WMS raster layers [SEC=OFFICIAL]

This looks like an earlier issue I had in 2.14:

https://osgeo-org.atlassian.net/jira/software/c/projects/GEOS/issues/GEOS-9016

which 'disappeared' after some newer release of 2.14.1

Regards,

Richard Duivenvoorde

PS the demo page on duif.net is not there anymore...

On 3/1/21 6:14 AM, Sedgmen Aaron wrote:
> @Olysterthanks for the advice.  Unfortunately it hasn't resolved the problem. 
>  I've tried a range of metatile and gutter size combinations and it doesn't 
> appear to make a difference.
> 
>  
> 
> To illustrate the problem, this is a screenshot of the spearfish dem raster 
> layer in QGIS, 512x512 tiles, EPSG:4326 (GeoServer is reprojecting the data 
> from EPSG:26713), zoomed in to a scale of 1:500.  The default interpolation 
> method for the layer is set to bilinear in GeoServer.
> 
>  
> 
>  
> 
> Regards,
> 
>  
> 
> Aaron Sedgmen.
> 
>  
> 
> -Original Message-
> From: Olyster 
> Sent: Saturday, 27 February 2021 12:15 AM
> To: geoserver-users@lists.sourceforge.net
> Subject: Re: [Geoserver-users] Gaps in tiled WMS raster layers [SEC=OFFICIAL]
> 
>  
> 
> Hi,
> 
>  
> 
> have a look at default meta tile size and default gutter size in caching 
> settings.
> 
>  
> 
> For example, I use 1 X 1 metatile with 10 gutter size.
> 
>  
> 
> Hope this helps
> 
>  
> 
>  
> 
>  
> 
> --
> 
> Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html 
> 
> 
>  
> 
>  
> 
> ___
> 
> Geoserver-users mailing list
> 
>  
> 
> Please make sure you read the following two resources before posting to this 
> list:
> 
> - Earning your support instead of buying it, but Ian Turton: 
> http://www.ianturton.com/talks/foss4g.html#/ 
> 
> 
> - The GeoServer user list posting guidelines: 
> http://geoserver.org/comm/userlist-guidelines.html 
> 
> 
>  
> 
> If you want to request a feature or an improvement, also see this: 
> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
>  
> 
> 
>  
> 
>  
> 
> Geoserver-users@lists.sourceforge.net 
> 
> 
> https://lists.sourceforge.net/lists/listinfo/geoserver-users 
> 
> 
> 
> Geoscience Australia Disclaimer: This e-mail (and files transmitted with it) 
> is intended only for the person or entity to which it is addressed. If you 
> are not the intended recipient, then you have received this e-mail by mistake 
> and any use, dissemination, forwarding, printing or copying of this e-mail 
> and its file attachments is prohibited. The security of emails transmitted 
> cannot be guaranteed; by forwarding or replying to this email, you 
> acknowledge and accept these risks.
> 
> 
> ___
> Geoserver-users mailing list
> 
> Please make sure you read the following two resources before posting to this 
> list:
> - Earning your support instead of buying it, but Ian Turton: 
> http://www.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines: 
> http://geoserver.org/comm/userlist-guidelines.html
> 
> If you want to request a feature or an improvement, also see this: 
> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
> 
> 
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
> 



___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Geoscience Australia Disclaimer: This e-mail (and files transmitted with it) is 

Re: [Geoserver-users] No download for ArcSDE Plugin

2021-03-02 Thread Senn Monika
Hi Andrea!

Thank you very much for your quick & very helpful reply!

Monika

Von: Andrea Aime 
Gesendet: Dienstag, 2. März 2021 14:21
An: Senn Monika 
Cc: Geoserver-users@lists.sourceforge.net
Betreff: Re: [Geoserver-users] No download for ArcSDE Plugin

Hi,
the ArcSDE plugin has dropped out of support, due to lack of a maintainer 
(which in turn happened due to lack of business around the datastore).

In 2.17.x the plugin can still be found among the "community modules", ready to 
be used along with a GeoServer 2.17.x nightly build:
https://build.geoserver.org/geoserver/2.17.x/community-latest/

Same happens for 2.18.x:
https://build.geoserver.org/geoserver/2.18.x/community-latest/

In the upcoming 2.19.0 the store has been completely removed. If you know 
anyone that is willing to maintain the plugin (or is interested
in sponsoring its re-integration in the source code, and the necessary 
maintenance), then it would be possible to bring it back,
the old sources are still in the version control history.

Cheers
Andrea


On Tue, Mar 2, 2021 at 2:10 PM Senn Monika 
mailto:monika.s...@noel.gv.at>> wrote:
Hi!
Does anybody know what’s wrong with the ArcSDE Plugin 
(ArcSDE)?
 It seems like there is no download or successful build available. Thanks!
Best,
Monika
___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


--

Regards, Andrea Aime

== GeoServer Professional Services from the experts! Visit http://goo.gl/it488V 
for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions 
S.A.S. Via di Montramito 3/A 55054 Massarosa (LU) phone: +39 0584 962313 fax: 
+39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it 
http://twitter.com/geosolutions_it 
--- Con riferimento alla 
normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento 
generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza 
inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è 
un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo 
scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, 
ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene 
notizia. This email is intended only for the person or entity to which it is 
addressed and may contain information that is privileged, confidential or 
otherwise protected from disclosure. We remind that - as provided by European 
Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or 
the information herein by anyone other than the intended recipient is 
prohibited. If you have received this email by mistake, please notify us 
immediately by telephone or e-mail.
___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] No download for ArcSDE Plugin

2021-03-02 Thread Andrea Aime
Hi,
the ArcSDE plugin has dropped out of support, due to lack of a maintainer
(which in turn happened due to lack of business around the datastore).

In 2.17.x the plugin can still be found among the "community modules",
ready to be used along with a GeoServer 2.17.x nightly build:
https://build.geoserver.org/geoserver/2.17.x/community-latest/

Same happens for 2.18.x:
https://build.geoserver.org/geoserver/2.18.x/community-latest/

In the upcoming 2.19.0 the store has been completely removed. If you know
anyone that is willing to maintain the plugin (or is interested
in sponsoring its re-integration in the source code, and the necessary
maintenance), then it would be possible to bring it back,
the old sources are still in the version control history.

Cheers
Andrea


On Tue, Mar 2, 2021 at 2:10 PM Senn Monika  wrote:

> Hi!
>
> Does anybody know what’s wrong with the ArcSDE Plugin (ArcSDE
> )?
> It seems like there is no download or successful build available. Thanks!
>
> Best,
>
> Monika
> ___
> Geoserver-users mailing list
>
> Please make sure you read the following two resources before posting to
> this list:
> - Earning your support instead of buying it, but Ian Turton:
> http://www.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines:
> http://geoserver.org/comm/userlist-guidelines.html
>
> If you want to request a feature or an improvement, also see this:
> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
>
>
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>


-- 

Regards, Andrea Aime

== GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information. == Ing. Andrea Aime @geowolf
Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa
(LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549
http://www.geo-solutions.it http://twitter.com/geosolutions_it
--- *Con riferimento
alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 -
Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni
circostanza inerente alla presente email (il suo contenuto, gli eventuali
allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i
destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per
errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le
sarei comunque grato se potesse darmene notizia. This email is intended
only for the person or entity to which it is addressed and may contain
information that is privileged, confidential or otherwise protected from
disclosure. We remind that - as provided by European Regulation 2016/679
“GDPR” - copying, dissemination or use of this e-mail or the information
herein by anyone other than the intended recipient is prohibited. If you
have received this email by mistake, please notify us immediately by
telephone or e-mail.*
___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] No download for ArcSDE Plugin

2021-03-02 Thread Senn Monika
Hi!
Does anybody know what's wrong with the ArcSDE Plugin 
(ArcSDE)?
 It seems like there is no download or successful build available. Thanks!
Best,
Monika
___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] WMS images are sometimes partly randomly blue, green, yellow, pink or red

2021-03-02 Thread Russ Hore
I have had this when using Bicubic Raster interpolation.

It was solved, by this list, by setting the ExpandToRGB=true in the 
_mosaic.properties file

Russ

> On 1 Mar 2021, at 13:02, Kylli Ek mailto:kylli...@csc.fi>> 
> wrote:
> 
> Hi,
> 
> Any idea what to check if some WMS images are sometimes partly randomly blue, 
> green, yellow, pink or red? See the attached images or here:
> https://www.dropbox.com/s/lma4hzqp761y28m/Nimiarkisto-karttabugi.png?dl=0 
> 
> 
> Sometimes the image is also partly black or totally empty.
> 
> Exactly the same request sometimes gives correct image, sometimes has the 
> colorful extras.
> 
> The layer is a mosaic layer with elevation and time. Nothing special in 
> style, only scale limitation. No coordinate transformation needed.
> 
> Example request:
> https://paituli.csc.fi/geoserver/kotus/wms?service=WMS=GetMap=kotus%3Anadigi2==image%2Fpng=true=1.1.0=1718=1750-1-1%2F2020-1-1=256=256=EPSG%3A3067=416032.02,6782975.7,418080.047,6785024
>  
> 
> 
> Best regards,
> Kylli Ek
> 
> GIS-coordinator
> CSC - IT Center for Science Ltd
> PL 405, 02101 Espoo
> Tel: +358 50 38 12 838
> gisco...@csc.fi
> ___
> Geoserver-users mailing list
> 
> Please make sure you read the following two resources before posting to this 
> list:
> - Earning your support instead of buying it, but Ian Turton: 
> http://www.ianturton.com/talks/foss4g.html#/ 
> 
> - The GeoServer user list posting guidelines: 
> http://geoserver.org/comm/userlist-guidelines.html 
> 
> 
> If you want to request a feature or an improvement, also see this: 
> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
>  
> 
> 
> 
> Geoserver-users@lists.sourceforge.net 
> 
> https://lists.sourceforge.net/lists/listinfo/geoserver-users

___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Layer group not appearing in WMS GetCapabilities

2021-03-02 Thread Joni Hämäläinen
Hi,

I am struggling, as I can't get a simple layer group to be visible in 
GetCapabilities response for unauthenticated users. 
I am fairly certain there is some issue/bug regarding data security and layer 
groups.

Similar problems have been posted by other users, but I don't see any real 
solutions in the answers:
https://sourceforge.net/p/geoserver/mailman/geoserver-users/thread/CADQ3-ytgSi7mF-ap9fukMWKF_hbKcqAPVYN%2BOWHa_NBm%2BxVOJw%40mail.gmail.com/#msg36625778
https://osgeo-org.atlassian.net/browse/GEOS-9376

Use case is to bundle few cascaded layers to a single group, that would be 
listed for a web app. Listing the layers naturally is done via GetCapabilities.

I have a workspace "example.com", which contains the cascaded store, the layers 
I want to group and the layer group itself.

I can see the layer group in the GetCapabilities when I am logged in to 
Geoserver. But making the same request from unauthenticated browser session 
results in that layer group disappear from the GetCapabilities document. All 
advertised "normal layers" in the same workspace list fine in GetCapabilities 
for both authenticated and unauthenticated users.
Result is the same with either SINGLE/OPAQUE CONTAINER/NAMED TREE setting for 
the layer group. (In the end I would like to set it as OPAQUE CONTAINER).

And note: I can make GetMap requests to the layer group, it works fine as it 
should be! The inconsistency is that it does not appear in the GetCapabilities.

I've come to conclusion that there is some inconsistency with the data security 
settings and layer groups, as eventually I can get the layer group appear in 
the GetCapablities for unauthenticated users. But this requires to relax 
security to level which I'm not comfortable with.

The starting point with security settings, that make the layer group NOT 
visible in the GetCapablities for unauthenticated users (but GetMap works):
*.*.r=ADMIN
*.*.w=GROUP_ADMIN,ADMIN
example.*.r=*
mode=HIDE

I tried adding "example..r=*", no luck.
I tried adding "example..r=*", no luck

Eventually I tried to remove the "ADMIN" requirement for read all, so the 
settings became:
*.*.r=*.
*.*.w=GROUP_ADMIN,ADMIN
example.*.r=*
mode=HIDE

And tada, the layer group appeared to the GetCapabilities document for 
unauthenticated users. 

But naturally I would not like to expose everything readable by default. And I 
am confused, because having the workspace read for everybody works with normal 
layers, as in they appear in GetCapabilities. But a simple layer group in the 
workspace is not included in the GetCapabilities.

I tried to go through the source code and even some test cases, but I couldn't 
find anything relevant to this with my limited knowledge of the code base.

Can anyone confirm, that there is a problem with this regarding layer groups 
appearing in GetCapabilities? Or is this an intended feature?
I feel it pretty strange, that I can happily make a GetMap request to this 
layer group, but it doesn't appear in the Capabilities.

Thank you very much for any feedback on this.

Best regards,
Joni



___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users