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

thomas bonfort thomas.bonfort at gmail.com
Thu Oct 20 03:47:09 EDT 2011


your bounding box is invalid as minx=maxx and miny=maxy. please open a
ticket for this as mapserver should return an error message, and not
fail with an exception.

--
thomas

On Thu, Oct 20, 2011 at 04:39, jjwang <jaja0506 at gmail.com> wrote:
> 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.
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>


More information about the mapserver-users mailing list