[udig-devel] [jira] Created: (UDIG-1385) error in reading a logical value in shapefile's attribute table

Andrea Antonello (JIRA) jira at codehaus.org
Thu Apr 24 08:40:46 PDT 2008


error in reading a logical value in shapefile's attribute table
---------------------------------------------------------------

                 Key: UDIG-1385
                 URL: http://jira.codehaus.org/browse/UDIG-1385
             Project: uDIG
          Issue Type: Bug
          Components: shapefile
    Affects Versions: UDIG 1.1-RC14
         Environment: tested on windows xp and macosx
            Reporter: Andrea Antonello
            Assignee: Jody Garnett
         Attachments: tmp.zip

The attached file throws a problems on the attribute table reading. This happens in the MODIF field. The file was produced with esri stuff.

In the:

	private Object readObject(final int fieldOffset, final int fieldNum)
			throws IOException {

the type is correctly read as Logical, but then when it comes to the switch 
switch (charBuffer.charAt(fieldOffset))

charBuffer.charAt(fieldOffset) = '?'

Opening the dbf with openoffice I see FALSE and TRUE instead of ?




-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the udig-devel mailing list