|
It seems that geoserver does not work properly when version 1.3.0 is used for ImageMosaic layers.
Tested by using GeoServer 2.5.2 and also 2.5-SNAPSHOT (build date = 03-Sep-2014 15:29).
This can easily be reproduced with the GeoServer 2.5.2 release version and by previewing ImageMosaic layer nurc:mosaic which is given as one of the default layers. When version number in URL is changed to 1.3.0 image is not shown. For example:
when using OpenLayers preview: http://localhost:8080/geoserver/nurc/wms?service=WMS&version=1.3.0&request=GetMap&layers=nurc:mosaic&styles=&bbox=6.346,36.492,20.83,46.591&width=512&height=356&srs=EPSG:4326&format=application/openlayers
which seems to use following URL for an image: http://localhost:8080/geoserver/nurc/wms?LAYERS=nurc%3Amosaic&STYLES=&FORMAT=image%2Fjpeg&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&SRS=urn%3Ax-ogc%3Adef%3Acrs%3AEPSG%3A4326&BBOX=-0.896,31.47059375,28.072,51.61240625&WIDTH=512&HEIGHT=356 which does not work because of the &SRS value, works if using &SRS=EPSG%3A4326
Also, image is not given properly if version 1.3.0 is used instead of 1.1.1: http://localhost:8080/geoserver/nurc/wms?LAYERS=nurc%3Amosaic&STYLES=&FORMAT=image%2Fjpeg&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&SRS=EPSG%3A4326&BBOX=-0.896,31.47059375,28.072,51.61240625&WIDTH=512&HEIGHT=356
ImageMosaic layer seems to work fine when using &version=1.1.1 or even with 1.3 work but 1.3 is not proper version number according to standard.
Also, it seems that 1.3.0 problem is limited only to ImageMosaic layers.
|