GetMap request results generated incorrectly when requested from Google Earth

Description

Hi all,

this is related to this issue that I posted on Geoserver's mailing list.

I've originally thought the issue was caused by Google Earth when trying to overlay the image. Then I checked how the GetMap request results look like before they are send to GE and they are already generated incorrectly. (please see the attachments).

This is how the bbox parameters look like for the two requests. I've changed the position on the map only a little bit for the second request and both a1 and a2 coordinates of the bbox parameter changed drastically, which resulted in wrongly generated image. Note that a2 for the second request is > 180.

png

a1

b1

a2

b2

GE_1_OK

-77.2196888892176

4.072993922

98.20739285

66.85737202

GE_2_NotOK

4.137746221

-1.347245574

358.6616384

72.74486323

The extent of the raster is:-32.05,19.95,42.05,72.05, epsg 4326

 

I've shared the raster that I use in the WMS calls here.

I'll appreciate any kind of feedback on this.
Thank you

Environment

OS: Windows
Apache Tomcat 9.0
Google Earth Pro: 7.3.2.5776 (64-bit)

Assignee

Unassigned

Reporter

Pa Pu

Triage

None

Fix versions

None

Affects versions

Components

Priority

High
Configure