BUG -- JAVA MAPSCRIPT !!!!!

Umberto Nicoletti umberto.nicoletti at GMAIL.COM
Thu Jul 6 03:25:45 EDT 2006


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 <mreyes at siscat.com.ar> 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
>
>



More information about the mapserver-users mailing list