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:

<ogc:PropertyIsNull><ogc:PropertyName>hdp</ogc:PropertyName></ogc:PropertyIsNull>
 
- This returned no results.

<ogc:PropertyIsEqualTo><ogc:PropertyName>hdp</ogc:PropertyName><ogc:Literal>NaN</ogc:Literal></ogc:PropertyIsEqualTo>
- This gives the following error:
Caused by: org.postgresql.util.PSQLException: ERROR: column "nan" does not
exist

What is the correct way to handle this NaN value?  Many thanks in advance.

Regards,
Tam







--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/ogc-Filter-for-numeric-NaN-value-tp5146135.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to