Hi!<br>
Thanks for ur support.<br>
<br>
As u have said ,i got the <span style="font-weight: bold;">georefercing information using gdalinfo</span>.<br>
It give following output<br>
Driver: GTiff/GeoTIFF<br>
Size is 5177, 3450<br>
Coordinate System is:<br>
<span style="font-weight: bold;">GEOGCS[" Unable to match Ellipsoid
(Datum) to a GeographicTypeGeoKey value Ellipsoid = Modified Everest
Datum = Modified Everest",</span><br>
DATUM["unknown",<br>
SPHEROID["unnamed",6377304.063,300.8017000971244]],<br>
PRIMEM["Greenwich",0],<br>
UNIT["degree",0.0174532925199433]]<br>
Origin = (65.999420352116971,24.000579647883026)<br>
Pixel Size = (0.001159295766052,-0.001159295766052)<br>
Metadata:<br>
AREA_OR_POINT=Area<br>
TIFFTAG_SOFTWARE=ERDAS IMAGINE<br>
TIFFTAG_XRESOLUTION=1<br>
TIFFTAG_YRESOLUTION=1<br>
TIFFTAG_RESOLUTIONUNIT=1 (unitless)<br>
Image Structure Metadata:<br>
INTERLEAVE=PIXEL<br>
Corner Coordinates:<br>
Upper Left ( 65.9994204, 24.0005796) ( 65d59'57.91"E, 24d 0'2.09"N)<br>
Lower Left ( 65.9994204, 20.0010093) ( 65d59'57.91"E, 20d 0'3.63"N)<br>
Upper Right ( 72.0010945, 24.0005796) ( 72d 0'3.94"E, 24d 0'2.09"N)<br>
Lower Right ( 72.0010945, 20.0010093) ( 72d 0'3.94"E, 20d 0'3.63"N)<br>
Center ( 69.0002574, 22.0007945) ( 69d 0'0.93"E, 22d 0'2.86"N)<br>
Band 1 Block=64x64 Type=Byte, ColorInterp=Red<br>
Metadata:<br>
LAYER_TYPE=athematic<br>
Band 2 Block=64x64 Type=Byte, ColorInterp=Green<br>
Metadata:<br>
LAYER_TYPE=athematic<br>
Band 3 Block=64x64 Type=Byte, ColorInterp=Blue<br>
Metadata:<br>
LAYER_TYPE=athematic<br>
<br>
<span style="font-weight: bold;">and then i tried to import the tif file .</span><br style="font-weight: bold;">
<span style="font-weight: bold;">r.in.gdal -e in=nf42_geo.tif out=tm</span><br>
WARNING: Datum 'unknown' not recognised by GRASS and no parameters found.<br>
Datum transformation will not be possible using this projection<br>
information.<br>
<span style="font-weight: bold;">
Projection of input dataset and current location appear to match.</span><br>
Proceeding with import...<br>
100%<br>
CREATING SUPPORT FILES FOR tm.red<br>
SETTING GREY COLOR TABLE FOR tm.red (8bit, full range)<br>
100%<br>
CREATING SUPPORT FILES FOR tm.green<br>
SETTING GREY COLOR TABLE FOR tm.green (8bit, full range)<br>
100%<br>
CREATING SUPPORT FILES FOR tm.blue<br>
SETTING GREY COLOR TABLE FOR tm.blue (8bit, full range)<br>
<span style="font-weight: bold;">
r.in.gdal complete.</span><br>
<br>
<span style="font-weight: bold;">now i am trying to display the imported file..<br>
i got the error<br>
</span><br>
<span style="font-weight: bold;"> g.region rast=tm</span><br style="font-weight: bold;">
<span style="font-weight: bold;">ERROR: raster map <tm> not found.<br>
</span>Please tell how could i display it.<br>
Thanks in Advance<span style="font-weight: bold;"><span style="font-weight: bold;"><br style="font-weight: bold;">
</span></span><br>//--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------<br>
//-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------<br><div><span class="gmail_quote">On 2/20/08, <b class="gmail_sendername">Glynn Clements</b> <<a href="mailto:glynn@gclements.plus.com">glynn@gclements.plus.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br> Kunal Malik wrote:<br> <br> > If i don't know the Projection Information of the File to be Imported,could<br> > i import the raster/vector file available..<br> <br> <br>The "Projection of dataset does not appear to match the current<br>
location" error can only occur if the file is georeferenced. If it<br> isn't, r.in.gdal will just assume that it matches the projection of<br> the current location.<br> <br> As Frank mentions, you can use gdalinfo to obtain the georeferencing<br>
information.<br> <br> And you can use "r.in.gdal location=" or "g.proj -c location=" to<br> create a new location with the correct projection based upon what's in<br> the file.<br> <br> If a file isn't georeferenced and you don't have that information<br>
available, you can import the file into an location with an X/Y<br> projection, although you will lose the ability to perform operations<br> which require projection information (e.g. reprojection).<br> <br> More generally, if you have some data but don't know what part of the<br>
planet that data refers to, you don't really have any data. It's like<br> knowing that the answer is 42 without knowing what the question is.<br> <br><br> --<br> <br>Glynn Clements <<a href="mailto:glynn@gclements.plus.com">glynn@gclements.plus.com</a>><br>
</blockquote></div><br><br clear="all"><br>-- <br>Thanks & Regards<br><br>Kunal Malik<br>09871147561