[gdal-dev] Re: learning GDAL with C/C++
Frank Warmerdam
warmerdam at pobox.com
Wed Feb 22 22:16:22 EST 2012
On Wed, Feb 22, 2012 at 7:12 PM, joseph.nalluri
<joseph.nalluri at gmail.com> wrote:
> Thanks.
> I have a .bil file with an associated .hdr file with metadata. Do I have to
> read in the .hdr file and manually prepare the variables or is there a
> specified function? I could not find much info. about .hdr file.
> I am not sure what should the values be for pixel height and pixel width. I
> am using a 16 bit resolution camera.
> Can you advise me on what steps I need to undertake when creating a C prog
> which would be inputted with a .bil file?
>
Joseph,
GDAL should automatically read the .hdr file if you call
GDALOpen() on the .bil file.
You can test in advance with gdalinfo by running gdalinfo
against your .bil file.
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 Software Developer
More information about the gdal-dev
mailing list