<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1141" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face="MS UI Gothic"><FONT face="Times New Roman" size=2>> >
Please tell me, how can I change a 16 bit TIFF file to 8 bit TIFF file
when<BR>> > I am trying to import a TIFF file into the GRASS using [
r.in.tiff] command?<BR>> It may be better to use 'r.in.gdal' instead of
'r.in.tiff'.</FONT></FONT></DIV>
<DIV><FONT face="MS UI Gothic" size=2><FONT face="MS UI Gothic"
size=2></FONT></FONT> </DIV>
<DIV><FONT face="MS UI Gothic" size=2><FONT face="Times New Roman" size=3>Hi,
Markus<BR>Thank you very much for your advise.</FONT></FONT></DIV>
<DIV><FONT face="MS UI Gothic" size=2><FONT face="Times New Roman" size=3>I use
photoshop to converted 16bit channel tiff to 8bit channel.<BR>But the problem
is, I am also tried 'r.in.gdal' with the converted 8bit channel TIFF and the
origin data of JPEG, and there was an error message which says
to '20020726.tif':</FONT></FONT></DIV>
<DIV><FONT face="MS UI Gothic" size=2><FONT face="Times New Roman"
size=3> < Warning 1:
20020726.tif: wrong data type 1 for "XMLPacket"; tag ignored</FONT></FONT></DIV>
<DIV><FONT face="MS UI Gothic" size=2><FONT face="Times New Roman"
size=3> ERROR:
Projection of dataset does not appear to match current
location.</FONT></FONT></DIV>
<DIV><FONT face="MS UI Gothic" size=2><FONT face="Times New Roman"
size=3> cellhd.proj=0
(unreferenced)</FONT></FONT></DIV>
<DIV><FONT face="MS UI Gothic" size=2><FONT face="Times New Roman"
size=3> You can use
the -o flag to r.in.gdal to overtide this check></FONT></FONT></DIV>
<DIV><FONT face="MS UI Gothic" size=2><FONT face="Times New Roman"
size=3>And I tried 'r.in.gdal -o
input=20020726.tif output=020726ibnur',</FONT></FONT></DIV>
<DIV><FONT face="MS UI Gothic" size=2><FONT face="Times New Roman" size=3>but
there was another error message:</FONT></FONT></DIV>
<DIV><FONT face="MS UI Gothic" size=2><FONT face="Times New Roman"
size=3> <Warning 1: 20020726.tif:
wrong data type 1 for "XMLPacket"; tag ignored</FONT></FONT></DIV>
<DIV><FONT face="MS UI Gothic" size=2><FONT face="Times New Roman"
size=3> WARNING:
G_set_window(): Illegal latitude for north>.</FONT></FONT></DIV>
<DIV><FONT face="MS UI Gothic" size=2><FONT face="Times New Roman"
size=3>And the appeared error message, when I use origin data
'20020726.jpg' was the same with '20020726.tif'.</FONT></FONT></DIV>
<DIV>and when I override that check use '-o', the appeared error was:</DIV>
<DIV> <WARNING: G_set_window(): Illegal
latitude for South></DIV>
<DIV><FONT face="MS UI Gothic" size=2><FONT face="Times New Roman" size=3>What
is this mean?</FONT></FONT></DIV>
<DIV><FONT face="MS UI Gothic" size=2>And how can I solve this
problem?</FONT></DIV>
<DIV><FONT face="MS UI Gothic" size=2></FONT> </DIV>
<DIV><FONT face="MS UI Gothic" size=2>Eager for your advise</FONT></DIV>
<DIV><FONT face="MS UI Gothic" size=2>Sincerely</FONT></DIV>
<DIV><FONT face="MS UI Gothic"
size=2>*********************************<BR>Galip.Yasin<BR>University of
Tsukuba, Ibaraki, Japan<BR>e-mail: <A
href="mailto:s01k154@shako.sk.tsukuba.ac.jp">s01k154@shako.sk.tsukuba.ac.jp</A><BR>*********************************<BR>
</DIV>
<DIV><BR></DIV>
<DIV><BR></DIV></FONT></BODY></HTML>