I looked at it again and primary problem is zero record count so this
was my fault. javadoc of DbaseFileWriter mistaken me, you have to use
DbaseFileHeader.setNumRecords method before using the header.
Anyway CDBF really changed fieldAddress by 1 and code of
DbaseFileHeader looks that someone forced actual writing of header to
begin with 0. Subclass dbaseField looks filled same as CDBF.

On 10/16/06, openplans <[EMAIL PROTECTED]> wrote:
> Jan Gregor ha scritto:
> > I probably found solution, fieldAdress looks wrong. This counter
> > begins with 0 but dbf repair program increased this counter by 1 and
> > this it enough to let openoffice work with the dbf.
> >
> Hum, this means you've found a "bug" in the gt2 dbf classes? No-one of
> us played with those
> for quite a bit of time, but yeah, it's something we may want to fix.
>
> Cheers
> Andrea
>

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to