[Geoserver-users] cascaded arcgis wms, why is the request width so large?

I have set up a cascaded wms directing to

http://arcgis-scheldestromenec2-1568813859.eu-west-1.elb.amazonaws.com/arcgis/services/Basisthemasextern/Waterbeheer/MapServer/WmsServer?

Setup went fine, but when I try to access this cascaded wms from an openlayers app, I notice the following request in the geoserver log.

http://arcgis-scheldestromenec2-1568813859.eu-west-1.elb.amazonaws.com/arcgis/services/Basisthemasextern/Waterbeheer/MapServer/WmsServer?SERVICE=WMS&LAYERS=0&CRS=EPSG:4326&FORMAT=image%2Fpng&HEIGHT=1438&TRANSPARENT=TRUE&REQUEST=GetMap&WIDTH=4484&BBOX=50.741083708244645,1.4890833775366896,52.20234369946047,6.045884196565414&STYLES=&VERSION=1.3.0

Pasting the request in the browser shows the original error:


Parameter 'width' contains unacceptable value.

How can I prevent geoserver from making these large width requests? It is way wider than the request fired by OpenLayers. Is there a way to request the origin as tiled? Or does anybody have any other tips or tricks?

On Wed, Apr 2, 2014 at 10:01 AM, Milo van der Linden <milo@anonymised.com>wrote:

I have set up a cascaded wms directing to

http://arcgis-scheldestromenec2-1568813859.eu-west-1.elb.amazonaws.com/arcgis/services/Basisthemasextern/Waterbeheer/MapServer/WmsServer?SERVICE=WMS&LAYERS=0&CRS=EPSG:4326&FORMAT=image%2Fpng&HEIGHT=1438&TRANSPARENT=TRUE&REQUEST=GetMap&WIDTH=4484&BBOX=50.741083708244645,1.4890833775366896,52.20234369946047,6.045884196565414&STYLES=&VERSION=1.3.0&gt;

Setup went fine, but when I try to access this cascaded wms from an
openlayers app, I notice the following request in the geoserver log.

http://arcgis-scheldestromenec2-1568813859.eu-west-1.elb.amazonaws.com/arcgis/services/Basisthemasextern/Waterbeheer/MapServer/WmsServer?SERVICE=WMS&LAYERS=0&CRS=EPSG:4326&FORMAT=image%2Fpng&HEIGHT=1438&TRANSPARENT=TRUE&REQUEST=GetMap&WIDTH=4484&BBOX=50.741083708244645,1.4890833775366896,52.20234369946047,6.045884196565414&STYLES=&VERSION=1.3.0

Pasting the request in the browser shows the original error:

Parameter 'width' contains unacceptable value.

How can I prevent geoserver from making these large width requests? It is
way wider than the request fired by OpenLayers. Is there a way to request
the origin as tiled? Or does anybody have any other tips or tricks?

Hmm... not sure. Are you using tiled requests? GWC? Metatiling?
Is there reprojection involved?

Cheers
Andrea

--

Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK
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

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