[Geoserver-users] Layer Groups

I have been working with a commercial support team but we are both at a loss and have submitted a bug ticket with no solution to be found. I wanted to send out an email to the community and see if anyone else has seen or had this problem.

Server spec:
Centos7
32GB Ram
32 Cores
Java 11 (have tried Java 8 also)
Geoserver 2.16

I have 4 image mosaic layers that I’m putting in a group together but when I do this the interpolation is not honored and the image is very blocky. If I call the layers separately they are fine. I want to use the layer group so its one call for the entire thing but need it to be smooth looking.

Smooth:

Screen Shot 2020-02-18 at 10.12.22 AM.png

Layer Group Blocky:

Screen Shot 2020-02-18 at 10.14.12 AM.png

Any suggestions or ideas?

···

Thanks and have a blessed day!

Bryan Kilgore
Co-Owner
317.519.2334
BAMWX LLC
https://bamwx.com - Main Website
https://bamwx.net - Remote WX Stations
For QuickSupport: https://bamwx.com/qs

Hi,

try with only one layer in the group layer to see if the problem is there
then add one layer at a time to find out which one is causing the problem.

Good luck

--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html

So if I just did one layer in the group it works but as soon as I add any of the other 3 layers it doesn’t. All created from the same raw data and put into individual geotifs per the parameters.

On Tue, Feb 18, 2020 at 12:09 PM Olyster <gagnon_olivier@…5777…> wrote:

Hi,

try with only one layer in the group layer to see if the problem is there
then add one layer at a time to find out which one is causing the problem.

Good luck


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:

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

CONFIDENTIALITY. This electronic mail and any files transmitted with it may contain information proprietary to BAM WX LLC, or one of its subsidiaries or affiliates, and is intended solely for the use of the individual to whom or entity to which this message is addressed and must be maintained in confidence and may not be disclosed to third parties without the written consent of the sender. If you are not the intended recipient or the person responsible for delivering the electronic mail to the intended recipient, be advised that you have received this electronic mail in error and that any use, dissemination, forwarding, printing, or copying of this electronic mail is strictly prohibited. If you have received this electronic mail in error, please immediately notify the sender by return mail.

Sorry for the back to back emails. I just fired up anUbuntu 18.04 test server and loaded the layers on it and it seems to be working just fine. So something is wrong with something running in Centos7. With this server being in production right now I’m not sure how easy it would be for me to switch OS and move over. I am running VMs so I can make it happen it just wouldn’t be easy and I know I’m not the only one who runs Centos for applications like this.

Bryan

···

Thanks and have a blessed day!

Bryan Kilgore
Co-Owner
317.519.2334
BAMWX LLC
https://bamwx.com - Main Website
https://bamwx.net - Remote WX Stations
For QuickSupport: https://bamwx.com/qs

I would be very surprized if it had anything to do with the OS that was hosting geoserver. I would suspect issue is something to do with config the instance. Are your servers running the same version of Geoserver, with same set of addins? I would also take a look at the cache settings on the layers and the groups. (Start by turning caching off completely for both layers and layer group. In production, I have caching off for layers, caching on for layer group, but turning everything off will eliminate that as source of problem).

And yes, all our geoserver instances are running on Centos servers, and I commonly use layer groups to merge tiff layers from each side of the antemeridian.

~WRD000.jpg

···

Sorry for the back to back emails. I just fired up anUbuntu 18.04 test server and loaded the layers on it and it seems to be working just fine. So something is wrong with something running in Centos7. With this server being in production right now I’m not sure how easy it would be for me to switch OS and move over. I am running VMs so I can make it happen it just wouldn’t be easy and I know I’m not the only one who runs Centos for applications like this.

Bryan

On Tue, Feb 18, 2020 at 12:16 PM Bryan Kilgore <bryan@…10308…> wrote:

So if I just did one layer in the group it works but as soon as I add any of the other 3 layers it doesn’t. All created from the same raw data and put into individual geotifs per the parameters.

On Tue, Feb 18, 2020 at 12:09 PM Olyster <gagnon_olivier@…5777…> wrote:

Hi,

try with only one layer in the group layer to see if the problem is there
then add one layer at a time to find out which one is causing the problem.

Good luck


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:

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

Thanks and have a blessed day!

Bryan Kilgore
Co-Owner

317.519.2334
BAMWX LLC
https://bamwx.com - Main Website

https://bamwx.net - Remote WX Stations

For QuickSupport: https://bamwx.com/qs

Image removed by sender.

CONFIDENTIALITY. This electronic mail and any files transmitted with it may contain information proprietary to BAM WX LLC, or one of its subsidiaries or affiliates, and is intended solely for the use of the individual to whom or entity to which this message is addressed and must be maintained in confidence and may not be disclosed to third parties without the written consent of the sender. If you are not the intended recipient or the person responsible for delivering the electronic mail to the intended recipient, be advised that you have received this electronic mail in error and that any use, dissemination, forwarding, printing, or copying of this electronic mail is strictly prohibited. If you have received this electronic mail in error, please immediately notify the sender by return mail.

The jira ticket is here https://osgeo-org.atlassian.net/browse/GEOS-9486 with some additional details.


Jody Garnett

On Tue, 18 Feb 2020 at 21:41, Phil Scadden <P.Scadden@anonymised.com> wrote:

I would be very surprized if it had anything to do with the OS that was hosting geoserver. I would suspect issue is something to do with config the instance. Are your servers running the same version of Geoserver, with same set of addins? I would also take a look at the cache settings on the layers and the groups. (Start by turning caching off completely for both layers and layer group. In production, I have caching off for layers, caching on for layer group, but turning everything off will eliminate that as source of problem).

And yes, all our geoserver instances are running on Centos servers, and I commonly use layer groups to merge tiff layers from each side of the antemeridian.

From: Bryan Kilgore <bryan@anonymised.com>
Sent: Wednesday, 19 February 2020 06:22
To: Olyster <gagnon_olivier@anonymised.com>
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Layer Groups

Sorry for the back to back emails. I just fired up anUbuntu 18.04 test server and loaded the layers on it and it seems to be working just fine. So something is wrong with something running in Centos7. With this server being in production right now I’m not sure how easy it would be for me to switch OS and move over. I am running VMs so I can make it happen it just wouldn’t be easy and I know I’m not the only one who runs Centos for applications like this.

Bryan

On Tue, Feb 18, 2020 at 12:16 PM Bryan Kilgore <bryan@anonymised.com> wrote:

So if I just did one layer in the group it works but as soon as I add any of the other 3 layers it doesn’t. All created from the same raw data and put into individual geotifs per the parameters.

On Tue, Feb 18, 2020 at 12:09 PM Olyster <gagnon_olivier@anonymised.com777…> wrote:

Hi,

try with only one layer in the group layer to see if the problem is there
then add one layer at a time to find out which one is causing the problem.

Good luck


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:

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

Thanks and have a blessed day!

Bryan Kilgore
Co-Owner

317.519.2334
BAMWX LLC
https://bamwx.com - Main Website

https://bamwx.net - Remote WX Stations

For QuickSupport: https://bamwx.com/qs

Image removed by sender.

CONFIDENTIALITY. This electronic mail and any files transmitted with it may contain information proprietary to BAM WX LLC, or one of its subsidiaries or affiliates, and is intended solely for the use of the individual to whom or entity to which this message is addressed and must be maintained in confidence and may not be disclosed to third parties without the written consent of the sender. If you are not the intended recipient or the person responsible for delivering the electronic mail to the intended recipient, be advised that you have received this electronic mail in error and that any use, dissemination, forwarding, printing, or copying of this electronic mail is strictly prohibited. If you have received this electronic mail in error, please immediately notify the sender by return mail.

Notice: This email and any attachments are confidential and may not be used, published or redistributed without the prior written consent of the Institute of Geological and Nuclear Sciences Limited (GNS Science). If received in error please destroy and immediately notify GNS Science. Do not copy or disclose the contents.


Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:

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

Hi Jody,
single raster layer vs groups use different rendering paths, the single one uses the “direct rendering path” which
does not go through StreamingRenderer, but uses pure JAI for better performance and scalability.
That said, if you are not able to reproduce the same issue in a different setup, something odd is going on.

I’ve just tried setting the WMS interpolation to bilinear in the server configuration, and running on the spearfish
group, the dem is interpolated with bilinear, even with high oversample (keep on zoomin in).
Also tried putting the dem in a mosaic and using that in a group, still interpolates as configured…
I’ve tested on 2.17.x, because that’s what I had handy for a 5 minute test.

Cheers
Andrea

~WRD000.jpg

···

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.

Thanks, I performed identical tests in January, when I first contacted you on gitter.
I will double check the ticket has the checks already performed.

~WRD000.jpg

···


Jody Garnett

Cc’ing the user list, please keep it there.
Is this the error you’re seeing?

https://github.com/GeoWebCache/geowebcache/blob/5e913193ff50a61ef9dd63a87887189352fa6b21/geowebcache/core/src/main/java/org/geowebcache/grid/ResolutionMismatchException.java#L19

That error normally points at a mismatch between the gridset requested by the client and the one cached by the server,

either because of differences in the bounding box, or because the resolutions are not the same.
Did you customize the gridsets in the old server by any chance?

Cheers
Andrea

~WRD000.jpg

···

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.

Yes it is. 3857 isn’t listed on GWC as gridset so I added it. That is what I didn’t before. Maybe I should not do that?

~WRD000.jpg

···

Thanks and have a blessed day!

Bryan Kilgore
Co-Owner
317.519.2334
BAMWX LLC
https://bamwx.com - Main Website
https://bamwx.net - Remote WX Stations
For QuickSupport: https://bamwx.com/qs

I didn’t have the cache layers set. That has been fixed but for some reason the capabilities doesn’t have the time dimensions listed anymore. I used to have them because my leaflet app would read it from there and let me do looping. Any ideas on that?

Bryan

CONFIDENTIALITY. This electronic mail and any files transmitted with it may contain information proprietary to BAM WX LLC, or one of its subsidiaries or affiliates, and is intended solely for the use of the individual to whom or entity to which this message is addressed and must be maintained in confidence and may not be disclosed to third parties without the written consent of the sender. If you are not the intended recipient or the person responsible for delivering the electronic mail to the intended recipient, be advised that you have received this electronic mail in error and that any use, dissemination, forwarding, printing, or copying of this electronic mail is strictly prohibited. If you have received this electronic mail in error, please immediately notify the sender by return mail.