[Gvsig_english] Raster tool for cell counting

Nicolas DEVAUX devaux at supagro.inra.fr
Wed Feb 24 14:06:24 CET 2010


Antonio Falciano a écrit :
> Il 24/02/2010 11.56, Nicolas DEVAUX ha scritto:
>   
>> gvSIG 1.9 Sextante 0.3-1232 Ubuntu 9.10
>>
>> Hi, I have a bolean reclassified raster layer with 0 and 1 values
>> cells. I'm looking for a tool that count the total number of each
>> value cell in the raster layer. I tried the function Sort with
>> sextante but it didn't work... Do i need a specific raster format for
>> doing this ?
>>
>> Does anybody have an idea ?
>>     
>
> Hi Nicolas,
> you can use the histogram tool in gvSIG [1] on your before reclassified
> raster layer, without the need to change its format. Hope this helps!
>
> Cheers,
> Antonio
>
> [1]
> https://gvsig.org/web/docusr/new-functionalities-gvsig-1-9/raster/funcionalidades-de-capa/histograma/descripcion
>
>   
I already tried this solution.
It can work with very few values raster layer, but how do you do if you 
have 20 or 30 different values ?
I tried to export the statistics, but the resulting table gave me the 
rank order of the different cells values and not the exact cell value 
that I have in each cell...
I would like to have something like in other GIS softwares that can 
count all pixels associate with such or such other values...

Anyway thanks for this answer.

Nico

-- 
------------------------------------------------------------------------------
ATTENTION nouvelle adresse mail
    devaux at supagro.inra.fr

Nicolas DEVAUX
Laboratoire d'étude des Interactions entre Sol, Agrosystème et Hydrosystème
UMR LISAH AgroM-INRA-IRD
Bat. 24
place Viala
34060 Montpellier cedex 1
tél : +33 0(4) 99 61 25 45
fax: +33 0(4) 67 63 26 14
email: devaux at supagro.inra.fr
http://sol.ensam.inra.fr/lisah/
------------------------------------------------------------------------------



More information about the Gvsig_internacional mailing list