Hi,
I'm using GeoServer 2.0.2. I want to use a PropertyIsNotEqualTo in SLD
referring to Double field. If the literal is an integer value -it ends with
".0"-, the comparison always returns false. Geoserver is probably using a
String comparison instead of a Double comparison. This problem doesn't shows
up with PropertyIsEqualTo.
This does NOT work.
<ogc:PropertyIsNotEqualTo>
<ogc:PropertyName>area</ogc:PropertyName>
<ogc:Literal>530.0</ogc:Literal>
</ogc:PropertyIsNotEqualTo>
This work:
<ogc:PropertyIsNotEqualTo>
<ogc:PropertyName>area</ogc:PropertyName>
<ogc:Literal>530</ogc:Literal>
</ogc:PropertyIsNotEqualTo>
Any idea?
Thanks.
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users