[GRASS-user] bsq file format - problem!!!

ambrish dhaka ambijat at hotmail.com
Sat Sep 1 05:29:37 PDT 2012





Hi! Marcus!
I am getting it projected but with wrong lat long values.

The problem is of getting the right details from glcf file to hdr file.

The following is the relevant detail from glcf file
Upper_Left_Corner=-1.800000000000000e+02,9.000000000000000e+01;
Upper_Right_Corner=1.800000000000000e+02,9.000000000000000e+01;
Lower_Right_Corner=1.800000000000000e+02,-9.000000000000000e+01;
Lower_Left_Corner=-1.800000000000000e+02,-9.000000000000000e+01;
Geographic_Upper_Left_Corner=180d00'00.0000"W,090d00'00.0000"N;
Geographic_Upper_Right_Corner=180d00'00.0000"E,090d00'00.0000"N;
Geographic_Lower_Right_Corner=180d00'00.0000"E,090d00'00.0000"S;
Geographic_Lower_Left_Corner=180d00'00.0000"W,090d00'00.0000"S;
Pixel_Resolution=8.00000000000000e+03,8.00000000000000e+03;

According to glcf data guide the hdr needs to get the following entries. Entries with # need to revised with upper information.

Image BSQ header file
nrows 21600 
ncols 43200
nbands 1
nbits 8
layout bsq
skipbytes 0
ulxmap 324000 #
ulymap -648000 #
xdim 1000 #
ydim 1000 #
I guess you can help this.
Ambrish

> From: neteler at osgeo.org
> Date: Sat, 1 Sep 2012 09:46:32 +0200
> Subject: Re: [GRASS-user] bsq file format - problem!!!
> To: ambijat at hotmail.com
> CC:                      grass-user at lists.osgeo.org
> 
> On Sat, Sep 1, 2012 at 8:56 AM, ambrish dhaka <ambijat at hotmail.com> wrote:
> > Hi!
> > I wish to open gl-latlong-1km-landcover.bsq file in grass, but no idea so
> > far.
> 
> What did you try?
> 
> r.in.gdal will do it, see
> http://lists.osgeo.org/pipermail/gdal-dev/2004-August/003861.html
> 
> Markus

 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20120901/54427345/attachment.html>


More information about the grass-user mailing list