Re: [mapserver-users] Floating point exception

2022-04-09 Thread Luca Delucchi
On Fri, 8 Apr 2022 at 15:35, Jeff McKenna wrote: > > Ciao Luca, > Jeff, > What happens when you pass the full query through ogrinfo with the > "-sql" switch: > >ogrinfo -ro PG:"user= password= host=127.0.0.1 port=5432 > dbname=" -sql "select "short_name"::text,ST_AsBinary(("geom"

Re: [mapserver-users] Floating point exception

2022-04-08 Thread Jeff McKenna
Ciao Luca, What happens when you pass the full query through ogrinfo with the "-sql" switch: ogrinfo -ro PG:"user= password= host=127.0.0.1 port=5432 dbname=" -sql "select "short_name"::text,ST_AsBinary(("geom"),'NDR') as geom,"research_groups_id"::text from (select research_gro

Re: [mapserver-users] Floating point exception

2022-04-08 Thread Luca Delucchi
On Fri, 8 Apr 2022 at 13:43, Jeff McKenna wrote: > > Ciao Luca, > Ciao, > I am wondering also if you tried to access the PostGIS data through > ogrinfo yet (to confirm there is no data issue). Note that I'd > recommend GDAL 3.4.2, PROJ 8.2.1 with MapServer-main. > > ogrinfo -ro PG:"user=

Re: [mapserver-users] Floating point exception

2022-04-08 Thread Even Rouault
Build with cmake -DCMAKE_BUILD_TYPE=Debug and run under gdb: gdb --args map2img -m eurodeer_new.map -o eurodeer.png -all_debug 5 -conf /path/to/conffile run and when it crashes bt Le 08/04/2022 à 10:38, Luca Delucchi a écrit : Hi, I compiled the github master version and used map2img, th

Re: [mapserver-users] Floating point exception

2022-04-08 Thread Luca Delucchi
On Fri, 8 Apr 2022 at 11:03, Rahkonen Jukka (MML) wrote: > > Hi, > Hi, > Mapserver 8 has increased security and requires a special config file. The > best link for the documentation at the moment is probably > https://mapserver.org/development/rfc/ms-rfc-135.html (The message "See > mapserve

Re: [mapserver-users] Floating point exception

2022-04-08 Thread Jeff McKenna
Ciao Luca, I am wondering also if you tried to access the PostGIS data through ogrinfo yet (to confirm there is no data issue). Note that I'd recommend GDAL 3.4.2, PROJ 8.2.1 with MapServer-main. ogrinfo -ro PG:"user= password= host=127.0.0.1 port=5432 dbname=" table -summary

Re: [mapserver-users] Floating point exception

2022-04-08 Thread lars . schylberg
htikuuta 2022 11.39 > Vastaanottaja: Jeff McKenna > Kopio: MapServer > Aihe: Re: [mapserver-users] Floating point exception > > Hi, > > I compiled the github master version and used map2img, the output is not > helping so much... > > map2img -m eurodeer_new.map

Re: [mapserver-users] Floating point exception

2022-04-08 Thread Rahkonen Jukka (MML)
Aihe: Re: [mapserver-users] Floating point exception Hi, I compiled the github master version and used map2img, the output is not helping so much... map2img -m eurodeer_new.map -o eurodeer.png -all_debug 5 Cannot open configuration file /usr/local/etc/mapserver.conf. msLoadConfig(): Unable

Re: [mapserver-users] Floating point exception

2022-04-08 Thread Luca Delucchi
Hi, I compiled the github master version and used map2img, the output is not helping so much... map2img -m eurodeer_new.map -o eurodeer.png -all_debug 5 Cannot open configuration file /usr/local/etc/mapserver.conf. msLoadConfig(): Unable to access file. See mapserver.org/config_file.html for more

Re: [mapserver-users] Floating point exception

2022-04-03 Thread Luca Delucchi
On Fri, 1 Apr 2022 at 14:39, Jeff McKenna wrote: > > Ciao Luca, > Ciao Jeff, > 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_

Re: [mapserver-users] Floating point exception

2022-04-01 Thread Jeff McKenna
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

Re: [mapserver-users] Floating point exception agg png

2011-03-21 Thread Daniel Degasperi
Ok, ticket created at http://trac.osgeo.org/mapserver/ticket/3760 and necessary files attached. Daniel Am 21/03/2011 15:03, schrieb thomas bonfort: Daniel, any chance you can create a ticket for that with a mapfile and sample data that reproduces it ? the png vs. jpeg should not intervene as a

Re: [mapserver-users] Floating point exception agg png

2011-03-21 Thread thomas bonfort
Daniel, any chance you can create a ticket for that with a mapfile and sample data that reproduces it ? the png vs. jpeg should not intervene as at the point the error is occuring the code path has been nearly identical (i.e. no png or jpeg library calls have been made yet). thomas On Mon, Mar 21