On Wed, Feb 22, 2012 at 7:12 PM, joseph.nalluri <joseph.nall...@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, warmer...@pobox.com light and sound - activate the windows | http://pobox.com/~warmerdam and watch the world go round - Rush | Geospatial Software Developer _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev