Ciao Luca,

I had earlier documented by usual PostGIS debugging steps at https://mapserver.org/optimization/vector.html#debugging-speed-issues-with-postgis

Also, instead of the "-map_debug 3" option with shp2img, try "-all_debug 5" (use "3" if you just want to show the draw speed times)

The goal would be to output the exact query that MapServer is trying to execute against your database, and then try running that query at the psql commandline.

And, if all else fails, be sure to retry all of this with a build of today's MapServer "main" branch, and try with map2img.

-jeff



--
Jeff McKenna
GatewayGeo: Developers of MS4W, MapServer Consulting and Training
co-founder of FOSS4G
http://gatewaygeo.com/



On 2022-04-01 9:22 a.m., Luca Delucchi wrote:
Hi all,

I'm getting "Floating point exception" error running shp2img, also
running with the debug option I don't get any other information.
The mapfile read data from PostGIS database, and If I use the same
mapfile with different database with the same tables I don't get this
error, so I think the problem is in the data but I don't know
where/what investigate

thanks in advance


_______________________________________________
MapServer-users mailing list
MapServer-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to