A. Walter created GEOS-5381 |
Issue Type: |
Bug |
Affects Versions: |
2.2 |
Assignee: |
|
Components: |
WMS |
Created: |
29/Oct/12 6:23 AM |
Description: |
Hello, I have added an external WMS server as a data store to my GeoServer. I was expecting GeoServer to display exactly the same tiles I get when I request them directly from the remote WMS, but the tiles I receive from GeoServer look different (and, unfortunately, “uglier”). For example: This is a request to the original WMS server (jpeg, but same for png): My GeoServer isn’t publicly available, so I cannot link directly to it, but this is what they look like for MY_GEOSERVER_URL?LAYERS=namespace%3AOSM-WMS-Deutschland&SRS=EPSG%3A31467&FORMAT=image%2Fpng&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&BBOX=3474387.6290625,5526143.6123375,3474554.910375,5526310.89365&WIDTH=256&HEIGHT=256 I noticed in GeoServer’s logs that GeoServer is actually issuing this request for the above tile: So apparently it is not just handing my request through to the original WMS, but instead it requests a larger tile (266x266 instead of the original 256x256). The WMS responds with one of the “ugly” tiles. I tried to be clever by requesting a 246x246 tile from my GeoServer, leading GeoServer to request the following 256x256 tile from the original WMS: Which is, again, an ugly tile. (Maybe because the bbox is different from the one used above, because it’s created by enlarging a 246x246 box?) I am not sure if this is actually a bug or if requesting larger than necessary tiles is the desired behaviour. If this IS the desired behaviour, however, I’d really appreciate it if an option for “just hand this request to the cascaded WMS, no adjustments necessary” could be added. Thanks a lot in advance! [Note: This question was asked at the GeoServer Mailing List as well a few weeks ago, but there were no responses, so I’m still lost on this issue.] |
Project: |
|
Priority: |
Minor |
Reporter: |