thanks Tamas, I will give it a try.<br><br>Best Regards<br><br>Zhonghai<br><br><div><span class="gmail_quote">On 8/9/07, <b class="gmail_sendername">Tamas Szekeres</b> <<a href="mailto:szekerest@gmail.com">szekerest@gmail.com
</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Zhonghai,<br><br>The method should adjust the extent of the rectangle so as to fit in
<br>the given image window. Returns cellsize of the output image.<br><br>The actual implementation resides in msAdjustExtent (maputil.c)<br><br>Best regards,<br><br>Tamas<br><br><br><br>2007/8/9, Zhonghai Wang <<a href="mailto:zhonghaiw@gmail.com">
zhonghaiw@gmail.com</a>>:<br>> besides, how is the function "fit(integer, integer) as double" working?<br>><br>> Cheers<br>><br>> Zhonghai<br>><br>><br>> On 8/9/07, Zhonghai Wang <
<a href="mailto:zhonghaiw@gmail.com">zhonghaiw@gmail.com</a>> wrote:<br>> ><br>> > Hi Tamas,<br>> ><br>> > thanks for your information. Seems that we must still suffer it. If we are<br>> really going to do something in
5.2 release, i propose that we should<br>> separate the rectObj into pixRectObj and geoRectObj. This may do what we<br>> need.<br>> ><br>> > Best Regards<br>> ><br>> > Zhonghai<br>> ><br>
> ><br>> > On 8/9/07, Tamas Szekeres <<a href="mailto:szekerest@gmail.com">szekerest@gmail.com</a> > wrote:<br>> > > Zhonghai,<br>> > ><br>> > > We have a bunch of tickets on this issue especially regarding to the
<br>> > > zoomRectangle function. On one day it have been corrected that maxy is<br>> > > greater that miny but on the other day it have been reverted due to<br>> > > some other reasons:<br>> > > For more information see:
<br>> > > <a href="http://trac.osgeo.org/mapserver/ticket/1982">http://trac.osgeo.org/mapserver/ticket/1982</a><br>> > > <a href="http://trac.osgeo.org/mapserver/ticket/1988">http://trac.osgeo.org/mapserver/ticket/1988
</a><br>> > > <a href="http://trac.osgeo.org/mapserver/ticket/1817">http://trac.osgeo.org/mapserver/ticket/1817</a><br>> > ><br>> > > I personally would support having maxy greater than miny, but it seems
<br>> > > to be applied only for the 5.2 release.<br>> > ><br>> > > Best regards,<br>> > ><br>> > > Tamas<br>> > ><br>> > ><br>> > ><br>> > > 2007/8/8, Zhonghai Wang <
<a href="mailto:zhonghaiw@gmail.com">zhonghaiw@gmail.com</a>>:<br>> > > > Hi folks,<br>> > > ><br>> > > > I am using now the latest beta version MapServer C# wrapper. I<br>> remember that
<br>> > > > creating an image rectangle object with the old version wrapper, it<br>> should<br>> > > > be done like because of the screen coordinate system:<br>> > > ><br>> > > > Dim tempRect As New rectObj(intMinX, intMinY, intMaxX, intMaxY, 0)
<br>> > > > Dim t As Integer = 0<br>> > > > Dim tc As Integer = 0<br>> > > > t = tempRect.miny<br>> > > > tempRect.miny = tempRect.maxy<br>> > > > tempRect.maxy = t
<br>> > > ><br>> > > > Is this situation changed in the latest beta version?<br>> > > ><br>> > > > besides, i noticed that there is a fit(integer, integer) as double<br>> method,
<br>> > > > I've tried to get the idea of this method in mailing list, but i<br>> didn't get<br>> > > > it.<br>> > > ><br>> > > > Could anyone you guys give me some hints?
<br>> > > ><br>> > > > Cheers<br>> > > ><br>> > > > Zhonghai<br>> > > ><br>> > ><br>> ><br>> ><br>><br>><br></blockquote></div><br>