Re: [MapServer-users] zoomRectangle error image rectangle maxy >= miny

2024-05-08 Thread Fernando Sánchez García via MapServer-users
Thanks for everything Seth, it's already solved. The truth is that I had previously tried reversing the values of Y but the result was another error: $pixext = new rectObj($minx, $miny, $maxx, $maxy); "Error: rectObj(): Invalid rectangle. { 'minx': 596.00 , 'miny': 85.00 , 'maxx': 745

Re: [MapServer-users] zoomRectangle error image rectangle maxy >= miny

2024-05-07 Thread Seth G via MapServer-users
Hi Fernando, There is a test case for this at: https://github.com/MapServer/MapServer/blob/0cb56232d4ca0e64d747efa1db602ff08e0ea42f/src/mapscript/python/tests/cases/zoom_test.py#L99 This test has the MaxY < MinY. It looks like the rectObj represents an image rather than a map, and so the maxy a

[MapServer-users] zoomRectangle error image rectangle maxy >= miny

2024-05-07 Thread Fernando Sánchez García via MapServer-users
Dear users, my name is Fernando and I work at the University of Córdoba in Spain. I have been using mapserver for several years as a user at the University together with pmapper. Our old virtual machine has Ubuntu Server 18.04 LTS + mapserver 7.2.1 + PHP 5.6.40 + postgres/postgis with pmapper 4