[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.

Hi,

I made a test with Geoserver 2.6-RC1 by creating a new image mosaic from scratch. I used two aerial images which are natively in EPSG:3067. The resulting layer works without errors both through WMS 1.1.1 and WMS 1.3.0.

I would recommend to build the mosaic again by increasing it little by little. It may be that Geoserver has troubles with georeferencing of some granule even it does feel odd that WMS 1.1.1 works well while 1.3.0 does not.

-Jukka Rahkonen-

···

Lähettäjä: Andrea Aime [mailto:andrea.aime@…1268…]
Lähetetty: 24. syyskuuta 2014 15:12
Vastaanottaja: Ville Karppinen
Kopio: Geoserver-devel
Aihe: Re: [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.

On Wed, Sep 24, 2014 at 2:02 PM, Ville Karppinen <ville.karppinen@…3920…> wrote:

Version 1.3.0 gives an error, even if an image is expected (no need to
flip bbox, using CRS instead of SRS in URL):
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&CRS=EPSG%3A3067&BBOX=-117278.40864788,6335621.1670142,874514.7741461,7907751.5372634&WIDTH=323&HEIGHT=512

1.3.0 error:


Error rendering coverage on the fast path
org.opengis.geometry.MismatchedReferenceSystemException: The coordinate
reference system must be the same for all objects. The coordinate
reference system must be the same for all objects.

Do you have the full stack trace?

Also, any chance you can share a (small) dataset that can be used to reproduce the issue you’re seeing?

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.


Hi,

Stacktrace from the logfile is included as an attachment.

Error XML can be reproduced with following steps by using the attached tif-file:

Using GeoServer 2.5.2 Stable Platform Independent Binary

- copied rr_201409241300.tif file (attachment) into empty geoserver folder: data_dir/coverages/rr

In GeoServer GUI:

- added new workspace: tmp

- added new ImageMosaic store into tmp workspace by using URL: file:coverages/rr
- saved store

- published rr layer
-- made sure layer tile caching off
-- saved layer

- layer preview rr --> OpenLayers

image URL with 1.1.1:
http://localhost:8080/geoserver/tmp/wms?LAYERS=tmp%3Arr&STYLES=&FORMAT=image%2Fjpeg&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG%3A3067&BBOX=-117278.40864789,6335621.1670142,874514.77414609,7907751.5372634&WIDTH=323&HEIGHT=512
>>> shows raster image

image URL modified for 1.3.0 (version changed to 1.3.0, SRS changed to CRS, bbox same as in 1.1.1)
http://localhost:8080/geoserver/tmp/wms?LAYERS=tmp%3Arr&STYLES=&FORMAT=image%2Fjpeg&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&CRS=EPSG%3A3067&BBOX=-117278.40864789,6335621.1670142,874514.77414609,7907751.5372634&WIDTH=323&HEIGHT=512
>>> gives error XML

Best regards,

Ville Karppinen
ville.karppinen@anonymised.com
+358407509542

On 09/24/2014 03:56 PM, Rahkonen Jukka (Tike) wrote:

Hi,

I made a test with Geoserver 2.6-RC1 by creating a new image mosaic from scratch. I used two aerial images which are natively in EPSG:3067. The resulting layer works without errors both through WMS 1.1.1 and WMS 1.3.0.

I would recommend to build the mosaic again by increasing it little by little. It may be that Geoserver has troubles with georeferencing of some granule even it does feel odd that WMS 1.1.1 works well while 1.3.0 does not.

-Jukka Rahkonen-

*Lähettäjä:*Andrea Aime [mailto:andrea.aime@anonymised.com]
*Lähetetty:* 24. syyskuuta 2014 15:12
*Vastaanottaja:* Ville Karppinen
*Kopio:* Geoserver-devel
*Aihe:* Re: [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.

On Wed, Sep 24, 2014 at 2:02 PM, Ville Karppinen <ville.karppinen@anonymised.com <mailto:ville.karppinen@anonymised.com>> wrote:

Version 1.3.0 gives an error, even if an image is expected (no need to
flip bbox, using CRS instead of SRS in URL):
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&CRS=EPSG%3A3067&BBOX=-117278.40864788,6335621.1670142,874514.7741461,7907751.5372634&WIDTH=323&HEIGHT=512

1.3.0 error:
<ServiceExceptionReport xmlns="http://www.opengis.net/ogc&quot;
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&quot; version="1.3.0"
xsi:schemaLocation="http://www.opengis.net/ogc
http://wms.fmi.fi:80/fmi-apikey/4bda0057-9e4a-453e-9fa9-966a15a368e1/geoserver/schemas/wms/1.3.0/exceptions_1_3_0.xsd&quot;&gt;
<ServiceException>
Error rendering coverage on the fast path
org.opengis.geometry.MismatchedReferenceSystemException: The coordinate
reference system must be the same for all objects. The coordinate
reference system must be the same for all objects.
</ServiceException>
</ServiceExceptionReport>

Do you have the full stack trace?

Also, any chance you can share a (small) dataset that can be used to reproduce the issue you're seeing?

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.

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

(attachments)

rr_201409241300.tif (310 KB)
gs_252_stacktrace.txt (12.1 KB)