The modification I made on may 30 was wrong and has been fixed by
Howard Butler.
You can swap miny and maxy as long as you set the fifth argument in
the rectoBj constructor to 1 (MS_TRUE).

Bugtracking at: http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=1817

Regards,
Umberto

On 7/5/06, Reyes, Mariano <[EMAIL PROTECTED]> wrote:




Hi,

            I found a problem in line 1937 of
./mapscript/java/mapscript_wrap.c  file:



OLD:

            if (poPixRect->maxy >= poPixRect->miny)

            {

                        msSetError(12, "Georeferenced coordinates miny <=
maxy",


"mapscript::mapObj::zoomRectangle()");

                        Return MS_FAILURE;

            }



NEW:

            if (poPixRect->miny >= poPixRect->maxy)

            {

                        msSetError(12, "Georeferenced coordinates miny >=
maxy",


"mapscript::mapObj::zoomRectangle()");

                        Return MS_FAILURE;

            }



Please check this



Mariano A. Reyes

Sistemas Catastrales S.A.

Buenos Aires - Argentina


Reply via email to