<div dir="ltr">Hello,<div style>currently, I see wms clients (qgis, arcgis 10) doing getmap requests with height=1. MapServer (6.2) throws an exception: </div><div><br></div><div>msDrawMap(): Image handling error. Unable to initialize image.</div>
<div>msCalculateScale(): General error message. Invalid image extent, minx=nan, miny=nan, maxx=nan, maxy=nan.</div><div><br></div><div style>The reason is in msAdjustExtent(), where the cell size is calculated using MS_CELLSIZE(miny,maxy,height), defined as ((max - min)/(d-1)). Formally, I don't see any reasons against 1 pixel requests. What are the reasons for "d-1"?</div>
<div style><br></div><div style>Martin</div></div>