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