Hi,
Is there a way to read an oracle blob file within FME. I know the structure and can read with python, is it possible to do something with FME? Is it possible at least to read in the blob with FME then use a python caller to extract using the struct library?
Many Thanks as always,
Oliver
cursor.execute("SELECT BLOB_DATA,DATATYPE,BYTES_USED,BLK_NO FROM {}.GEO_SHAPE WHERE VID={}".format(xxx,19971))
ORACLErow = cursor.fetchall()
for row in ORACLErow:
print row
print struct.unpack('>d',row[0].read(1,8))[0]
print struct.unpack('>d',row[0].read(9,8))[0]
print struct.unpack('>d',row[0].read(17,8))[0]
print struct.unpack('25s',row[0].read(25,25))[0]
print struct.unpack('>i',row[0].read(50,4))[0]