[mapserver-users] How to deal with floating point exception?

jjwang jaja0506 at gmail.com
Wed Oct 19 22:39:13 EDT 2011


I got an floating point exception when I tried to run the mapserv.

*./mapserv -nh
"QUERY_STRING=map=/images/mapserv_map_files/BR_WFS.map&request=GetFeature&service=WFS&version=1.1.0&typename=nsw&BBOX=153.50183890072711,-28.163052299741643,153.50183890072711,-28.163052299741643&outputformat=stateonly"
Content-type: text/html

Floating point exception*

I found this was caused by the longitude value I provided
'153.50183890072711'. If I make a little change of the value, for example
change it to '153.50183890072701', it will works fine. But obviously, it's
not a solution to my problem.

Any ideas on this issue?

JJ

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/How-to-deal-with-floating-point-exception-tp6911285p6911285.html
Sent from the Mapserver - User mailing list archive at Nabble.com.


More information about the mapserver-users mailing list