Opened 8 years ago

Closed 7 months 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 8 years ago.

Download all attachments as: .zip

Change History (8)

Changed 8 years ago by rhaden

Attachment: test.mdb added

comment:1 Changed 8 years ago by rhaden

Owner: changed from warmerdam to tamas

comment:2 Changed 7 years ago by 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:3 in reply to:  2 Changed 7 years ago by tamas

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 Changed 7 years ago by rburhum

Thank you Tamas!

comment:5 Changed 6 years ago by rburhum

Hi Tamas,

Just curious if this was addressed. Thanks!

comment:6 Changed 4 years ago by Even Rouault

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 Changed 7 months ago by Even Rouault

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.