Geotools writes Double as Numeric, with parts Width=33 and Decimal=31. 
If one open resulting DBF with notepad, he will be able to see exact 
ASCII characters of stored number. I mean, if we write 33.132 from java 
to dbf, plain text view of dbf will have '33.132' substring among the 
pure binary dbf data.

First of all, if there are any means in Geotools to write Double as 
conventional 8-byte double?

Besides, Numerical(33,31) yields some problems: OLE DB from .NET cannot 
read such a double, saying 'The numerical value is too large to fit into 
a 96 bit decimal.'.  If one instead re-save such DBF as with double 
field having Numerical(21,15) OLE DB works quite fine. BTW 
Numerical(21,15) is value that old Excel 97 writes out, when it needs to 
save double column.

Thanks,
Sergey

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to