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

Zhonghai Wang zhonghaiw at GMAIL.COM
Thu Aug 9 09:58:29 EDT 2007


 besides, how is the function "fit(integer, integer) as double" working?

Cheers

Zhonghai

On 8/9/07, Zhonghai Wang <zhonghaiw at gmail.com> 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 <szekerest at gmail.com> 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 < 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
> > >
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20070809/97ff09eb/attachment.html


More information about the mapserver-users mailing list