[Geoserver-devel] Gs2.5.2 ImageMosaic layers show totally white image for version=1.3.0 even if bbox values swapped. Related to GEOS-6651.

My question is related to the issue https://jira.codehaus.org/browse/GEOS-6651 which ended up to be a user error related to the bbox value. It seems that when version 1.3.0 bbox coordinates are swapped, only some of the images are shown properly. This seems to depend on the srs-value. For example in our services, &srs=EPSG:3035 shows images properly but when using &srs=EPSG:3067 images become totally white.

Do you think this may be also a user-error, or could there be a bug?

Below are some URLs to demo this issue by using different version numbers and srs-values with couple of different layers. These URLs are temporarily available for you.

Our services use GeoServer 2.5.2 Build Date 22-Jul-2014 09:05.

Layer: Radar:suomi_rr_eureffin
SRS=EPSG:3067

Request an image by using version 1.1.1:
http://wms.fmi.fi/fmi-apikey/4bda0057-9e4a-453e-9fa9-966a15a368e1/geoserver/Radar/wms?LAYERS=Radar%3Asuomi_rr_eureffin&STYLES=&FORMAT=image%2Fjpeg&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG%3A3067&BBOX=-117278.40864788,6335621.1670142,874514.7741461,7907751.5372634&WIDTH=323&HEIGHT=512

Image is shown properly

Request an image by using version 1.3.0. Notice, version 1.3.0 requires that bbox uses y/x order instead of x/y that is used in version 1.1.1. Therefore, this URL has different version and also modified bbox in comparison to 1.1.1 URL above.
http://wms.fmi.fi/fmi-apikey/4bda0057-9e4a-453e-9fa9-966a15a368e1/geoserver/Radar/wms?LAYERS=Radar%3Asuomi_rr_eureffin&STYLES=&FORMAT=image%2Fjpeg&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&SRS=EPSG%3A3067&BBOX=6335621.1670142,-117278.40864788,7907751.5372634,874514.7741461&WIDTH=323&HEIGHT=512

Only a totally white image is shown, even if same image as with version 1.1.1 is expected

Layer: Radar:opera_europe_dbz
SRS=EPSG:3035

Request an image by using version 1.1.1:
http://wms.fmi.fi/fmi-apikey/4bda0057-9e4a-453e-9fa9-966a15a368e1/geoserver/Radar/wms?LAYERS=Radar%3Aopera_europe_dbz&STYLES=&FORMAT=image%2Fjpeg&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG%3A3035&BBOX=2380482.9873367,1227287.8501035,6179178.0618397,5627586.2169485&WIDTH=442&HEIGHT=512

Image is shown properly

Request an image by using version 1.3.0 and bbox values swapped:
http://wms.fmi.fi/fmi-apikey/4bda0057-9e4a-453e-9fa9-966a15a368e1/geoserver/Radar/wms?LAYERS=Radar%3Aopera_europe_dbz&STYLES=&FORMAT=image%2Fjpeg&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&SRS=EPSG%3A3035&BBOX=1227287.8501035,2380482.9873367,5627586.2169485,6179178.0618397&WIDTH=442&HEIGHT=512

···
Best regards,

-- 
Ville Karppinen
[ville.karppinen@anonymised.com](mailto:ville.karppinen@anonymised.com)
+358407509542

On Wed, Sep 24, 2014 at 11:58 AM, Ville Karppinen <ville.karppinen@anonymised.com..>
wrote:

My question is related to the issue
https://jira.codehaus.org/browse/GEOS-6651 which ended up to be a user
error related to the bbox value. It seems that when version 1.3.0 bbox
coordinates are swapped, only some of the images are shown properly. This
seems to depend on the srs-value. For example in our services,
&srs=EPSG:3035 shows images properly but when using &srs=EPSG:3067 images
become totally white.

Yes, WMS 1.3 requires swapped coordinates only if the SRS in question uses
north/east orientation in the official EPSG database, you can check its
online
version here: http://www.epsg-registry.org/

As a simplified rule, most of the geographic CRS need to use lat/lon order,
most of the projected ones are east/north instead (although there are a few
exceptions
of projected SRS that still use north/east order)

Cheers
Andrea

--

GeoServer Professional Services from the experts! Visit
http://goo.gl/NWWaa2 for more information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*

Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo è consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla distruzione del messaggio
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
utilizzarlo per finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.

-------------------------------------------------------