[Gdal-dev] Failure in opening a pci disk file
Frank Warmerdam
warmerdam at pobox.com
Fri Nov 28 12:00:04 EST 2003
N. Farah wrote:
> Hi,
>
> using pcidskdataset.cpp, the open operation failed when trying to fetch
> the number of bands of a .pix file. The returned number of bands was 0.
> The pci disk file used was "contours.pix" from the remotesensing.org ftp
> site under gdal\data\pcidsk.
>
> I downloaded the file twice in order to avoid any possible corruption of
> the file. Twice the opening operation failed. This occurs in this line:
> (poDS->nBands = CPLScanLong( szTemp + 376, 8 );)
Noureddine,
To the best of my knowledge this file contains only contour vectors. The
GDAL PCIDSK translator does not support reading vector (or any other auxilary
segment data except for the georeferencing segment). So, I think things are
working properly.
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent
More information about the Gdal-dev
mailing list