Opened 12 years ago

Closed 5 years ago

#4457 closed defect (wontfix)

GetFieldAsBinary() not implemented in C#

Reported by: rhaden Owned by: tamas
Priority: normal Milestone: closed_because_of_github_migration
Component: default Version: 1.8.0
Severity: critical Keywords: GetFieldAsBinary CSharp
Cc:

Description

A binding for the GetFieldAsBinary() method is not included in the C# bindings for GDAL.

I've attached test data to help resolve 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.

Attachments (1)

test.mdb (576.0 KB ) - added by rhaden 12 years ago.

Download all attachments as: .zip

Change History (8)

by rhaden, 12 years ago

Attachment: test.mdb added

comment:1 by rhaden, 12 years ago

Owner: changed from warmerdam to tamas

comment:2 by rburhum, 12 years ago

I am interested in this. I notice that the GetFieldAsBinary is not shown here https://svn.osgeo.org/gdal/trunk/gdal/swig/include/ogr.i

I assume this method does not exist for any of the other SWIG related bindings?

in reply to:  2 comment:3 by tamas, 12 years ago

Returning byte arrays require special handling for the various languages. In case of C# it doesn't seem to be complicated to implement this. I'll be trying to get it working asap.

Replying to rburhum:

I am interested in this. I notice that the GetFieldAsBinary is not shown here https://svn.osgeo.org/gdal/trunk/gdal/swig/include/ogr.i

I assume this method does not exist for any of the other SWIG related bindings?

comment:4 by rburhum, 12 years ago

Thank you Tamas!

comment:5 by rburhum, 11 years ago

Hi Tamas,

Just curious if this was addressed. Thanks!

comment:6 by Even Rouault, 9 years ago

Priority: highnormal

All those tickets have more than one year and nobody has acted on it, so the priority is not so high

comment:7 by Even Rouault, 5 years ago

Milestone: closed_because_of_github_migration
Resolution: wontfix
Status: newclosed

This ticket has been automatically closed because Trac is no longer used for GDAL bug tracking, since the project has migrated to GitHub. If you believe this ticket is still valid, you may file it to https://github.com/OSGeo/gdal/issues if it is not already reported there.

Note: See TracTickets for help on using tickets.