[mapserver-users] Reaspect?
SixDegrees
paulcarlisle at comcast.net
Tue Nov 1 13:45:47 PDT 2011
Can someone provide an example of what the 'reaspect' parameter of a wms
request will do when Mapserver receives it in a GetMap request? As I
understand it (poorly) the WIDTH and HEIGHT will remain the same, but if
'reaspect=true' the BBOX may be adjusted so the aspect ratio of the
projected image is preserved and WIDTH and HEIGHT just specify a "window"
onto this "correctly" proportioned rendering, while if 'reaspect=false' the
BBOX is retained along with WIDTH and HEIGHT and the image is
stretched/squished to fit. Is this correct, or am I completely
misunderstanding this?
Also, if the above is true and 'reaspect=true' is set, how is the "window"
defined by WIDTH and HEIGHT placed onto the image? Is it centered with
respect to the BBOX? Placed against one of the corners? Or something else
altogether?
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Reaspect-tp6953208p6953208.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
More information about the MapServer-users
mailing list