Ticket #4456 (closed defect: invalid)
GetFieldAsString() does not return entire string
| Reported by: | rhaden | Owned by: | tamas |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | default | Version: | 1.8.0 |
| Severity: | critical | Keywords: | GetFieldAsString CSharp |
| Cc: |
Description
The GetFieldAsString?() method seems to truncate the returned string to 75 characters or fewer. This behavior is at least present in the C# bindings for GDAL - I'm not sure if it's present in the native library.
I've attached test data which illustrates the issue. It's a Microsoft Access database with ESRI Personal Geodatabase formatting. There's an additional table called BinaryRecords? which contains two fields: an ID field and a field called BinaryData? which is of type "OLE Object" (Access' equivalent to a BLOB). The table contains three records, each of which has a 1024-byte-long value in the BinaryData? column.

