[Geoserver-users] ogc:Filter for numeric NaN value

2014-06-17 Thread tt5430
I use Geoserver for rendering Imagery and Vector data. I have a PostGIS table with a numeric type which has NaN values. I am creating SLD for this vector data and not sure how to setup ogc:Filter for this value. I have tried the followings and they don't seem to work:

Re: [Geoserver-users] ogc:Filter for numeric NaN value

2014-06-17 Thread Jody Garnett
I notice that the IsEqualsToImpl does make allowances for NaN: return (fp1 == fp2) || (Double.isNaN(fp1) Double.isNaN(fp2)); See https://github.com/geotools/geotools/blob/master/modules/library/main/src/main/java/org/geotools/filter/IsEqualsToImpl.java#L126 However I cannot see any test case

Re: [Geoserver-users] ogc:Filter for numeric NaN value

2014-06-17 Thread Jody Garnett
I was kind of hoping NaN would work - since it is supported by Double.valueOf [1] -- Jody [1] http://stackoverflow.com/questions/10750975/parse-string-to-double-nan Jody Garnett On Tue, Jun 17, 2014 at 7:14 PM, Andrea Aime andrea.a...@geo-solutions.it wrote: On Tue, Jun 17, 2014 at 11:03 AM,