mail2vajram wrote:
When i am using the fillowing code i got the    error:Unknown base item type
: 4

DataSet ds=GDal.Open(".....\File1.IMG",Access.GA_ReadOnly);

why this error ocuurs.........
thank you.....


It means a node in the .img file has a BASEDATA object with an unknown data
type.  If things seem to be working ok anyways, then just ignore it and
continue on.  If not, you should consider filing a ticket and providing
the data with the ticket in some fashion.

Most likely the data is non-critical, but in at least some circumstances
the Python bindings are over sensitive to non-fatal errors issued down
deep in functions.

Best regards,
I set the clouds in motion - turn up   | Frank Warmerdam,
light and sound - activate the windows |
and watch the world go round - Rush    | Geospatial Programmer for Rent

gdal-dev mailing list

Reply via email to