Opened 13 years ago
Closed 13 years ago
#104 closed enhancement (fixed)
No error message while importing unsupported tiled TIFF
Reported by: | Owned by: | Dimitar Misev | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | conversion | Version: | 8.2 |
Keywords: | tiff, import, tiled | Cc: | Peter Baumann |
Complexity: | Medium |
Description
I used RPMs from http://urchin.spbcas.ru/elip/ on a CentOS 6 machine.
There were some problems while importing tiff images:
I had to create a type definition for my four-band data. [see attachment]
Inserting a TIFF (via rasql) showed no error whatsoever a collection with the correct extent (~ 6000x6000) was created. Hex and TIFF output though showed that the collection was filled with 0's.
rasql -q "select m[0:10,0:10] from mr as m" —out hex
rasql: rasdaman query tool v1.0, rasdaman v8 -- generated on 23.12.2011 09:32:23. opening database RASBASE at localhost:7001...ok Executing retrieval query...ok Query result collection has 1 element(s): Result object 1: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 rasql done.
console output:
rasql: rasdaman query tool v1.0, rasdaman v8 -- generated on 23.12.2011 09:32:23. opening database RASBASE at localhost:7001...ok fetching type information for GreyString from database, using readonly transaction...ok reading file 091117P600300036L0000S4_imagery.tif...ok constant 1: GMarray Oid...................: Type Structure........: Type Schema...........: marray< char > Domain................: [0:191109432] Base Type Schema......: char Base Type Length......: 1 Data format.......... : Array Data size (bytes).... : 191109433 Executing update query...ok rasql done.
N?.log tells me that:
... TIFF error: Can not read scanlines from a tiled image ...
I don't think that this is the reason for the import error (see next ticket). But I suggest to add an error message (that tiled TIFFs are not supported) while importing.
Attachments (3)
Change History (5)
by , 13 years ago
Attachment: | basictypes.dl added |
---|
comment:1 by , 13 years ago
Cc: | added |
---|---|
Owner: | changed from | to
Status: | new → accepted |
Joachim,
can you provide me with a smaller tiled image on which I can reproduce this? The error is reported by libtiff, and this should have been caught in rasdaman, so it's a bug to be fixed.
comment:2 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
Submitted patch that fixes it.
type definition file