[gdal-dev] Export image binary data from GDB dataset

andy aborruso at gmail.com
Wed Nov 15 03:49:37 PST 2023


Hi,
I have a Binary field in a GDB data source.

I have no other metadata about it. I know only that the field name is
"image", then it should contain images.
But I do not know the original file format.

I have extract one row (and then one field) as string it, using

ogr2ogr -f CSV /vsistdout/ -fieldTypeToString Binary data.gdb SITI_ARCHEO
-where "OBJECTID=277" >out.csv

And I have a long string as the one below.
I have tried to use "xxd -r -p" to convert to binary and then use "file" to
interpret its file format, but I don't get anything useful.

How could I do some reverse extraction of these images in their original
format?

Thank you

151C3B00020000001B000C0014002F00FFFFFFFF466F746F6772616669612064692050686F746F20456469746F72004D5350686F746F45642E330001050000020000000C0000004D5350686F746F45642E33000000000000000000000E0900D0CF11E0A1B11AE1000000000000000000000000000000003E000300FEFF09000600000000000000000000000A0000000100000000000000001000000200000001000000FEFFFFFF0000000000000000040000000500000006000000070000004502000046020000470200004802000049020000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
...

-- 
___________________

Andrea Borruso
website: https://medium.com/tantotanto
38° 7' 48" N, 13° 21' 9" E, EPSG:4326
___________________

"cercare e saper riconoscere chi e cosa,
 in mezzo all’inferno, non è inferno,
e farlo durare, e dargli spazio"

Italo Calvino
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20231115/8c639a9b/attachment.htm>


More information about the gdal-dev mailing list