Re: [Qgis-user] pixel counting in a raster

2014-07-02 Thread G. Allegri
2014-07-02 21:07 GMT+02:00 Marco Antonio : > Hi, again. > You'r rigth, is necesary export the raster to a grass location and mapset > bla bla bla... > I think there is a tool to do it in Qgis, is an experimental complement > "processing" [https://hub.qgis.org/projects/sextante/] maybe you should >

Re: [Qgis-user] pixel counting in a raster

2014-07-02 Thread Alex Mandel
With Processing (Included in 2.2+, previously called sextante) you can access the r.stats or r.report function directly in QGIS. If you don't see a Processing Menu, you can enable it in the Plugin Manager. It should be fairly straight foward to pick a loaded raster and get results back. Thanks, A

Re: [Qgis-user] pixel counting in a raster

2014-07-02 Thread Marco Antonio
Hi, again. You'r rigth, is necesary export the raster to a grass location and mapset bla bla bla... I think there is a tool to do it in Qgis, is an experimental complement "processing" [https://hub.qgis.org/projects/sextante/] maybe you should install it. When installed go to Processing > toolbox.

Re: [Qgis-user] pixel counting in a raster

2014-07-01 Thread Etienne Tourigny
you may want to file a feature request in the bug tracker to be able to save the raster histogram as a text file... On Tue, Jul 1, 2014 at 5:54 PM, Giacomo Fontanelli < giacomofontanell...@gmail.com> wrote: > Hi Etienne > > yes the Histogram works, but I taught there was also a tool that could >

Re: [Qgis-user] pixel counting in a raster

2014-07-01 Thread Marco Antonio
Hi Giacomo, the r.stats command from GRASS complement could be useful for you. Open the GRASS tools and go to the console, there write: r.stats -c raster_layer_name the c flag prints the total count of the cells that have a certain value. Good luck Marco 2014-07-01 12:00 GMT-05:00 Giacomo Fontan

Re: [Qgis-user] pixel counting in a raster

2014-07-01 Thread Giacomo Fontanelli
Hi Etienne yes the Histogram works, but I taught there was also a tool that could give me the numerical value. Thanx On Tue, Jul 1, 2014 at 8:19 PM, Etienne Tourigny wrote: > try the histogram (in the layer properties) - it will show you a graph > from which you can get the values > > > On

Re: [Qgis-user] pixel counting in a raster

2014-07-01 Thread Etienne Tourigny
try the histogram (in the layer properties) - it will show you a graph from which you can get the values On Tue, Jul 1, 2014 at 2:00 PM, Giacomo Fontanelli < giacomofontanell...@gmail.com> wrote: > Dear Qgis Community > > I have a Raster layer made by pixels with 4 different values (4, 7, 17, >

Re: [Qgis-user] pixel counting in a raster

2014-07-01 Thread Carlos Cerdán
Hi Giacomo: r.report, from GRASS complement is the tool that does directly what you are asking for... Good luck Carlos 2014-07-01 12:00 GMT-05:00 Giacomo Fontanelli : > Dear Qgis Community > > I have a Raster layer made by pixels with 4 different values (4, 7, 17, > 27). > > How can i calcul

[Qgis-user] pixel counting in a raster

2014-07-01 Thread Giacomo Fontanelli
Dear Qgis Community I have a Raster layer made by pixels with 4 different values (4, 7, 17, 27). How can i calculate the number of pixels with value 4, with value 7, with value 17, with value 27? Thank you very much Giacomo ___ Qgis-user mailing list