C# rectObj -- image rectangle and the method fit(x,y)

Tamas Szekeres szekerest at GMAIL.COM
Wed Aug 8 19:16:07 EDT 2007


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 <zhonghaiw at gmail.com>:
> 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
>



More information about the mapserver-users mailing list