<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
hi, <br>
<br>
in fact the descriptions of Vicent are more clear than mine... matters
with the language (and the technical acknowledgment)!<br>
<br>
Only one thing more. With the Sextante extension, you have the option
of changing the datatype of the rasters. May be it could be useful for
you.<br>
<br>
Sextante-&gt;basic tools for rasater layers-&gt; Change datatype<br>
<br>
Then, if you change byte to integer (I have done it) I thing you will
obtain the result that you want (the sea, in white, 210 instead -46). <br>
<br>
But may be you will have one more problem... may be you will get out of
bounds of ram memory. If you get that problem you could reduce the
input data or change the memory settings.<br>
<br>
And also I will check that there is not an error in the software
(confusion in datatypes) which
have to be solved (and say it to the developers). I will test a little
bit the data you refer.<br>
<br>
Regards.<br>
<br>
Mithoefer, Klaus wrote:
<blockquote
 cite="mid:3A03213F2C680F429897406A814DE6AA0FB4410F3A@icipedudumx1"
 type="cite">
  <pre wrap="">Thank you Guillermo and Vincent!

I guess Vincent might be right. The data source I am using can be found on the web at <a
 class="moz-txt-link-freetext"
 href="ftp://guestglobcover:Pir8Eefo@us-ext-nas.eo.esa.int/regional/07_Globcover_200412_200606_V2.2_Africa.zip">ftp://guestglobcover:Pir8Eefo@us-ext-nas.eo.esa.int/regional/07_Globcover_200412_200606_V2.2_Africa.zip</a>
I use the file GLOBCOVER_200412_200606_V2.2_Africa_Reg.tif from this package which is an 8 bit unsigned file format. It seems really that gvSIG is interpreting this as 8 bit signed.

I tried to convert is using GDAL to Eras IMG, but the effect remains.

Thank you.

Klaus


-----Original Message-----
From: <a class="moz-txt-link-abbreviated"
 href="mailto:gvsig_internacional-bounces@listserv.gva.es">gvsig_internacional-bounces@listserv.gva.es</a> [<a
 class="moz-txt-link-freetext"
 href="mailto:gvsig_internacional-bounces@listserv.gva.es">mailto:gvsig_internacional-bounces@listserv.gva.es</a>] On Behalf Of Guillermo Tamburini
Sent: Wednesday, June 30, 2010 14:46
To: Users and Developers mailing list
Subject: Re: [Gvsig_english] raster iamge wrong band value

hi,

I have no idea what could be your problem. And i can not test with other 
softwares because I haven't it now.

Well, my only proposal is that you try to make sure that the different 
software are understanding the data in the same data type. Raster layers 
could be byte, float, integer... Or to export the data to other formats 
for testing if the result is always the same.

 From gvSIG you could check the data type in the general tab of the 
layer proprieties. May be in ESRI and in that case you get only real 
positive numbers, and gvSIG is understanding numbers up and down the 
zero. In that case you would obtain the data moved a half to the 
negative values.

If you want you can send us some data example for testing it.

Best regards.

Mithoefer, Klaus wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Dear List,

I use globecover vegetation data. When I try to retrieve the band value by using the information picker or assign values to a point layer I get the wrong value (e.g. for lakes I get-46 instead of 210). I compared this with ArcGIS and FWtools.

I tried gvSIG 1.2, 1.9 and 2010 OADE with Geotif and Erdas IMG format. They all do the same. What is the problem?

Thank you,

Klaus

Klaus Mith&ouml;fer 
Geographic Information Systems (GIS) Officer 
icipe - International Centre of Insect Physiology and Ecology 
P.O. Box 30772 - 00100 
Nairobi, Kenya 
Phone: +254-20-8632000, Extn. 2147
Fax: +254-20-8632001/2 
Mobile: +254-724-308404
E-Mail: <a class="moz-txt-link-abbreviated"
 href="mailto:kmithoefer@icipe.org">kmithoefer@icipe.org</a>
web: <a class="moz-txt-link-abbreviated" href="http://www.icipe.org">www.icipe.org</a>


----------------------------------------------------------------------------
This position is supported by German development cooperation // 
Centre for international Migration and Development - <a
 class="moz-txt-link-freetext"
 href="http://www.cimonline.de/en/index.asp">http://www.cimonline.de/en/index.asp</a>

<a class="moz-txt-link-abbreviated"
 href="mailto:Klaus.mithoefer@cimonline.de">Klaus.mithoefer@cimonline.de</a>

 
_______________________________________________
Gvsig_internacional mailing list
<a class="moz-txt-link-abbreviated"
 href="mailto:Gvsig_internacional@listserv.gva.es">Gvsig_internacional@listserv.gva.es</a>
<a class="moz-txt-link-freetext"
 href="http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional">http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional</a>


  
    </pre>
  </blockquote>
  <pre wrap=""><!---->

  </pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">-- 
Guillermo Tamburini Beliveau
Proyecto gvSIG 
Conseller&iacute;a de Infraestructuras y Transportes (GVA) 
Valencia (Spain) 
 
</pre>
</body>
</html>