Hello,

I have got problems with parsing the following Filter in GeoTools 2.3.1

                <Filter>
                        <PropertyIsEqualTo>
        
<PropertyName>Flurstueckskennzeichen</PropertyName>
                                <Literal>1201011010004500000</Literal>
                        </PropertyIsEqualTo>
                </Filter>


First of all the attribute I apply the Filter on is an String attribute. The
value I got in the Filter-Object after parsing the XML is an double value.
When I convert the value back to String with the following code

                        Double d = (Double)value;
                        DecimalFormat f = new
DecimalFormat("0.############################################################
######");
                        valueString =f.format(d);

I got back the value 1201011010004499970.

Has anyone an Idea how to solve this Problem?


- Tim





-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to