Re: [Geoserver-users] 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 wrote: > On Tue, Jun 17, 2014 at 11:03 AM, Jody Garnett > wrote: > >

Re: [Geoserver-users] for numeric NaN value

2014-06-17 Thread Andrea Aime
On Tue, Jun 17, 2014 at 11:03 AM, Jody Garnett wrote: > 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/fi

Re: [Geoserver-users] 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

[Geoserver-users] 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 for this value. I have tried the followings and they don't seem to work: hdp - This returned no results.