Am 28.08.2014 um 14:11 schrieb Andrea Aime:
Can you share a direct way to reproduce, like a public wms where this
happens?
We're very short on time, it's unlikely that someone will spend time to
reproduce it
unless it works at the first random attempt with another local wms server
Ok, this one is freely available:
http://sg.geodatenzentrum.de/wms_webatlasde.light?request=GetCapabilities&service=wms
I just tried with a new 2.6.x installation from
http://ares.boundlessgeo.com/geoserver/2.6.x/geoserver-2.6.x-2014-08-28-war.zip
Steps to reproduce:
- in "Global Settings": Verbose Messages,
Verbose Exception Reporting,
Logging Profile: "VERBOSE_LOGGIN.properties"
- add new store "WMS - Cascades a remote Web Map Service":
Workspace "topp", WMS Source Name "WebAtlasDe.light", Enabled,
Capabilities URL:
http://sg.geodatenzentrum.de/wms_webatlasde.light?request=GetCapabilities&service=wms
- publish layer "webatlasde.light":
Declared SRS: "EPSG:31467"
SRS handling: "Reproject native to declared"
Bounding Boxes: click on links "Compute from data" and "Compute from
native bounds"
- hit Server with:
http://
<localserver>/geoserver/wms?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&BBOX=3474000,5840000,3474500,5840500&SRS=EPSG:31467&WIDTH=500&HEIGHT=500&LAYERS=topp:webatlasde.light&STYLES=&FORMAT=image/jpeg
Result:
- white image (500x500px)
- server-logs:
[...]
2014-08-28 15:12:23,102 DEBUG [ows.OWSHandlerMapping] - Mapping [/wms]
to HandlerExecutionChain with handler [org.geoserver.ows.Dispatcher@anonymised.com]
and 1 interceptor
[...]
2014-08-28 15:12:23,105 DEBUG [geotools.util] -
InterpolationConverterFactory can be applied from Strings to Interpolation
only.
2014-08-28 15:12:23,105 DEBUG [geotools.util] - CRSConverterFactory can
be applied from Strings to CRS only.
2014-08-28 15:12:23,105 DEBUG [geotools.util] -
InterpolationConverterFactory can be applied from Strings to Interpolation
only.
2014-08-28 15:12:23,105 DEBUG [geotools.util] - CRSConverterFactory can
be applied from Strings to CRS only.
2014-08-28 15:12:23,109 DEBUG [geoserver.ows] - Getting layers and
styles from LAYERS and STYLES
2014-08-28 15:12:23,109 DEBUG [geoserver.ows] - establishing null style
for topp:webatlasde.light
2014-08-28 15:12:23,117 DEBUG [geoserver.wms] - setting up map
2014-08-28 15:12:23,118 DEBUG [wms.map] - setting up 500x500 image
[...]
2014-08-28 15:12:23,134 DEBUG [geotools.map] - Issuing request:
http://sg.geodatenzentrum.de/wms_webatlasde.light?SERVICE=WMS&LAYERS=webatlasde.light&CRS=EPSG:4326&FORMAT=image%2Fpng&HEIGHT=11&TRANSPARENT=FALSE&BGCOLOR=0xFFFFFF&REQUEST=GetMap&BBOX=52.642809609914,8.540778953125084,52.741456629764,8.703143421106123&WIDTH=11&STYLES=&VERSION=1.3.0
2014-08-28 15:12:23,200 DEBUG [data.ows] - Executed request to URL:
http://sg.geodatenzentrum.de/wms_webatlasde.light?SERVICE=WMS&LAYERS=webatlasde.light&CRS=EPSG:4326&FORMAT=image%2Fpng&HEIGHT=11&TRANSPARENT=FALSE&BGCOLOR=0xFFFFFF&REQUEST=GetMap&BBOX=52.642809609914,8.540778953125084,52.741456629764,8.703143421106123&WIDTH=11&STYLES=&VERSION=1.3.0
[...]
2014-08-28 15:12:23,214 DEBUG [operation.transform] - Optimizing the
warp into an affine transformation: AffineTransform[[1.006349355532817,
0.006404195129459, -0.070079899634152], [-0.005275504334846,
1.005199275256101, 4.37009055531E-4]]
2014-08-28 15:12:23,217 DEBUG [coverage.processing] - Resampled coverage
"WebAtlasDE.light" from coordinate system "WGS 84" (for an image of size
11Ã11) to coordinate system "DHDN / 3-degree Gauss-Kruger zone 3" (image
size 11Ã11). JAI operation is "Warp" with "Nearest" interpolation on
geophysics pixels values. Background value is (255, 255, 255).
[...]
Result with 2.5.2:
- correct image:
http://sg.geodatenzentrum.de/wms_webatlasde.light?SERVICE=WMS&LAYERS=webatlasde.light&CRS=EPSG:31467&FORMAT=image%2Fjpeg&HEIGHT=500&REQUEST=GetMap&BBOX=5840000.0,3474000.0,5840500.0,3474500.0&WIDTH=500&STYLES=&VERSION=1.3.0
- server-logs:
2014-08-28 15:16:22,320 DEBUG [ows.OWSHandlerMapping] - Mapping [/wms]
to HandlerExecutionChain with handler [org.geoserver.ows.Dispatcher@anonymised.com]
and 1 interceptor
[...]
2014-08-28 15:16:22,331 DEBUG [geoserver.ows] - Getting layers and
styles from LAYERS and STYLES
2014-08-28 15:16:22,332 DEBUG [geoserver.ows] - establishing null style
for trailpro:webatlasde.light
2014-08-28 15:16:22,354 DEBUG [geoserver.wms] - setting up map
2014-08-28 15:16:22,355 DEBUG [wms.map] - setting up 500x500 image
2014-08-28 15:16:22,362 DEBUG [geotools.map] - Issuing request:
http://sg.geodatenzentrum.de/wms_webatlasde.light?SERVICE=WMS&LAYERS=webatlasde.light&CRS=EPSG:31467&FORMAT=image%2Fpng&HEIGHT=510&TRANSPARENT=FALSE&BGCOLOR=0xFFFFFF&REQUEST=GetMap&BBOX=5839990.0,3473990.0,5840510.0,3474510.0&WIDTH=510&STYLES=&VERSION=1.3.0
2014-08-28 15:16:22,590 DEBUG [data.ows] - Executed request to URL:
http://sg.geodatenzentrum.de/wms_webatlasde.light?SERVICE=WMS&LAYERS=webatlasde.light&CRS=EPSG:31467&FORMAT=image%2Fpng&HEIGHT=510&TRANSPARENT=FALSE&BGCOLOR=0xFFFFFF&REQUEST=GetMap&BBOX=5839990.0,3473990.0,5840510.0,3474510.0&WIDTH=510&STYLES=&VERSION=1.3.0
2014-08-28 15:16:22,655 DEBUG [geotools.rendering] - Drawing coverage
GridCoverage2D["WebAtlasDE.light", GeneralEnvelope[(3473990.0, 5839990.0),
(3474510.0, 5840510.0)], DefaultProjectedCRS["DHDN / 3-degree Gauss-Kruger
zone 3"]]
[...]