[mapserver-users] MAXSIZE on Windows
Rahkonen Jukka
jukka.rahkonen at mmmtike.fi
Wed May 8 12:36:33 PDT 2013
Hi,
First thing to do is really to check the GetMap request which is sent by QGis. Setting DEBUG on is good general suggestion, but all the WMS requests from the clients go always directly into Apache access log in \ms4w\Apache\logs\access.log and you can find them from there.
Check the WIDTH and HEIGHT values from the failing request. I guess that the problem is in how QGis detects the extents of the WMS layer. I also guess that if you'll make a try with OpenJUMP you will not face the same error.
-Jukka Rahkonen-
________________________________________
Fawcett, David wrote:
> Louis,
> I am guessing that QGIS is requesting an image that is too large. You might try enabling debugging to see the WMS request that QGIS is sending. I think that with a high debug level it should log the request.
> http://mapserver.org/optimization/debugging.html
> David.
-----Original Message-----
From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Luís de Sousa
Sent: Wednesday, May 08, 2013 9:40 AM
To: mapserver-users at lists.osgeo.org
Subject: [mapserver-users] MAXSIZE on Windows
Dear all,
I have set up MapServer for the first time on Windows using MS4W, and the installation itself went well. I then tried to set up a map file and retrieve the data with QGis. No matter what I always get an error like this:
msWMSLoadGetMapParams(): WMS server error. Image size out of range, WIDTH and HEIGHT must be between 1 and 32736 pixels.
I'm using map files that I use in Linux without needing to set MAXSIZE. On Windows not only it seems to be necessary, it seems also to require a large figure. Anyone knows what size should be set? Or is this error being caused by something else?
Thank you,
Luis
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/MAXSIZE-on-Windows-tp5052107.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
More information about the MapServer-users
mailing list