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.
However I cannot see any test case showing how to make Double.NaN in NumericConverterFactoryTest (which is responsible for turning strings into numbers if required).
Sounds like you may have a bug report to make, for now try using an else rule to render anything that falls through the cracks.
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:
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
However I cannot see any test case showing how to make Double.NaN
in NumericConverterFactoryTest (which is responsible for turning strings
into numbers if required).
Sounds like you may have a bug report to make, for now try using an else
rule to render anything that falls through the cracks.
However I cannot see any test case showing how to make Double.NaN in NumericConverterFactoryTest (which is responsible for turning strings into numbers if required).
Sounds like you may have a bug report to make, for now try using an else rule to render anything that falls through the cracks.