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:
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
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,