[Geoserver-devel] [jira] (GEOS-6651) ImageMosaic layers do not show images when version=1.3.0

Ville Karppinen created an issue

GeoServer / BugGEOS-6651

ImageMosaic layers do not show images when version=1.3.0

Issue Type:

BugBug

Affects Versions:

2.5.2

Assignee:

Andrea Aime

Components:

Image mosaic JDBC, WMS

Created:

05/Sep/14 7:38 AM

Environment:

Linux

Fix Versions:

2.5.3

Priority:

MajorMajor

Reporter:

Ville Karppinen

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.

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v6.1.6#6162-sha1:7af547c)

Atlassian logo