Re: [gdal-dev] Reading binary data from FileGDB

2021-05-02 Thread srweal
Hey, thanks so much for the response Paul. I feel kind of useless with this stuff but want to get more involved so I can contribute to GDAL eventually (where possible). This code looks like it'd do exactly what I need and would be great to see it end up within the source. Is that easy to create t

Re: [gdal-dev] Reading binary data from FileGDB

2021-05-01 Thread Paul Harwood
That said ... I managed to create a working version of the bindings that provide a method on Feature : byte[] GetFieldAsBinary(int id) You can see this in this fork https://github.com/runette/gdal/tree/binary Of course this is not even ready to be a PR, let alone being submitted, reviewed, merg

Re: [gdal-dev] Reading binary data from FileGDB

2021-04-30 Thread Paul Harwood
I am going to go out on a couple of limbs here : - About 3041 - it is what it is! As it happens I have been thinking about learning more about the SWIG side of things and I had a quick look. Not a trivial issue - that method was excluded for a reason. There is some complicated marshalling to do.

[gdal-dev] Reading binary data from FileGDB

2021-04-29 Thread srweal
Hi, I'm after advice. I need to read a BLOB field from various features within a FileGDB. I need to work with this data either in C# code (via the GDAL C# bindings), or else have it directly read into a SQL database (e.g. via ogr2ogr). I've hit up against a couple of problems doing this that I d