[GRASSLIST:245] can´t run tcltkgrass

Hello!
I´m running grass5.0.2 (from precompiled binary) and I can´t start tcltkgrass because there is a problem with Xlib and the graphic server. This not occurs at all when I run grass as root. (nor with 5.0.0 pre5 as normal user). Can´t anybody explain me what should I do to resolve this problem?
Thanks in advance
Juan Pablo
Spain

_________________________________________________________________
Multiplica por cinco el tamaño de tu buzón de correo y envía adjuntos de hasta 2 Mb con MSN Almacenamiento Extra. http://join.msn.com/?pgmarket=es-es

Please tell me, how can I change a 16 bit TIFF file to 8 bit TIFF file when
I am trying to import a TIFF file into the GRASS using [ r.in.tiff] command?
It may be better to use ‘r.in.gdal’ instead of ‘r.in.tiff’.

Hi, Markus
Thank you very much for your advise.
I use photoshop to converted 16bit channel tiff to 8bit channel.
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’:
< Warning 1: 20020726.tif: wrong data type 1 for “XMLPacket”; tag ignored
ERROR: Projection of dataset does not appear to match current location.
cellhd.proj=0 (unreferenced)
You can use the -o flag to r.in.gdal to overtide this check>
And I tried ‘r.in.gdal -o input=20020726.tif output=020726ibnur’,
but there was another error message:
<Warning 1: 20020726.tif: wrong data type 1 for “XMLPacket”; tag ignored
WARNING: G_set_window(): Illegal latitude for north>.
And the appeared error message, when I use origin data ‘20020726.jpg’ was the same with ‘20020726.tif’.
and when I override that check use ‘-o’, the appeared error was:
<WARNING: G_set_window(): Illegal latitude for South>
What is this mean?
And how can I solve this problem?

Eager for your advise
Sincerely


Galip.Yasin
University of Tsukuba, Ibaraki, Japan
e-mail: s01k154@shako.sk.tsukuba.ac.jp


On Fri, May 30, 2003 at 09:32:26AM +0900, Alip.Yasin wrote:

> > Please tell me, how can I change a 16 bit TIFF file to 8 bit TIFF file
when
> > I am trying to import a TIFF file into the GRASS using [ r.in.tiff]
command?
> It may be better to use 'r.in.gdal' instead of 'r.in.tiff'.

Hi, Markus
Thank you very much for your advise.
I use photoshop to converted 16bit channel tiff to 8bit channel.
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':
         < Warning 1: 20020726.tif: wrong data type 1 for "XMLPacket"; tag
ignored

XMLPacket? This looks very unusual for a TIFF file.
What does

file 20020726.tif
say? ('file' is a unix command which tells you about the file type).

Markus

Hello, Markus
'file 20020726.tif ’ says that:
<20020726.tif: TIFF iamge data, little-endian>
and ‘file 20020726.jpg’ says that:
<20020726.jpg: JPEG image data, JFIF standard 1.01, aspect ratio, 1*1>
Sincerely

Ghalip.Yasin

Hi, Markus
Thank you very much for your advise.
I use photoshop to converted 16bit channel tiff to 8bit channel.
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’:
< Warning 1: 20020726.tif: wrong data type 1 for “XMLPacket”; tag
ignored

XMLPacket? This looks very unusual for a TIFF file.
What does file 20020726.tif say? (‘file’ is a unix command which tells you about the file type).

Markus

Markus Neteler wrote:

> > > Please tell me, how can I change a 16 bit TIFF file to 8 bit TIFF file > when
> > > I am trying to import a TIFF file into the GRASS using [ r.in.tiff] command?
> > It may be better to use 'r.in.gdal' instead of 'r.in.tiff'.
>
> Hi, Markus
> Thank you very much for your advise.
> I use photoshop to converted 16bit channel tiff to 8bit channel.
> 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':
> < Warning 1: 20020726.tif: wrong data type 1 for "XMLPacket"; tag
> ignored

XMLPacket? This looks very unusual for a TIFF file.

TIFF is infinitely extensible. Many TIFF images will contain
extensions, most of which will be ignored.

I doubt that either r.in.tiff or r.in.gdal would process the XMLPacket
record even if was correct, so the fact that it's broken won't matter.

--
Glynn Clements <glynn.clements@virgin.net>

Hi Markus
Hi Hamish
Hi Glynn
Thank you very much for your helpfull advice.
Following your advice I solved my problem.
r.in.tiff created 3 layer of raster map(in xy location).
after that ‘g.region’ changed the current region to match that created raster map’s boundaries.
g.rast showed me those maps clearly.

Heartfully Thankes to You.
Sincerely
Ghalip.Yasin from Tsukuba University, Japan
s01k154@shako.sk.tsukuba.ac.jp