Re: [GRASS-user] r.info output after r.reclass
On 2014-08-24 5:44, Hamish wrote: Hermann wrote: I am using [1] as rules for r.reclass to shift a map's value range of -100..100 to 0..200. fyi, see also r.recode, r.rescale, and r.mapcalc. I am aware. I don't want to create new map with 200 000 x 200 000 px (all of Europe in 20m resolution). I just want to quickly reclassify before exporting into GeoTIFF with type=Byte. After reclassification, r.info shows the result as quoted in [2]. I am missing the line saying that -100 has been reclassified to 0. Why is this line missing? I don't know, you might look into the $MAPSET/cellhd/mapname file and look for clues. It may be a hold-over from before GRASS 5, when '0' was treated as NULL. the important thing is that 'r.info -r' and r.univar show the correct values. Thanks for the hints. Is there any intention to get rid of the left-overs from GRASS 5, perhaps in GRASS 8 ? Hermann ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] r.info output after r.reclass
Hermann wrote: > I am using [1] as rules for r.reclass to shift a map's value range of > -100..100 to 0..200. fyi, see also r.recode, r.rescale, and r.mapcalc. > After reclassification, r.info shows the result > as quoted in [2]. I am missing the line saying that -100 has been > reclassified to 0. > > Why is this line missing? I don't know, you might look into the $MAPSET/cellhd/mapname file and look for clues. It may be a hold-over from before GRASS 5, when '0' was treated as NULL. the important thing is that 'r.info -r' and r.univar show the correct values. Hamish ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
[GRASS-user] r.le or r.li course material
Dear all, anyone know a course material for r.le and/or r.li landscape course in grass? -- Miltinho - m...@rc.unesp.br Laboratório de Ecologia Espacial e Conservação - LEEC Depto de Ecologia - UNESP - Rio Claro Av. 24A, 1515- Bela Vista 13506-900 Rio Claro, SP, Brasil Fone: +55 19 3526-9647 (office) 19 3526-9680 (lab) Cel: 19 9853-3220 / 19 9853-5430 Depto Ecologia http://ib.rc.unesp.br/#!/departamentos/ecologia/ PG ECO & BIODIV http://ib.rc.unesp.br/#!/departamentos/ecologia/pos-graduacao-em-ecologia-e-biodiversidade/ CV http://buscatextual.cnpq.br/buscatextual/visualizacv.do?id=K4792988H6&mostrarNroCitacoesISI=true&mostrarNroCitacoesScopus=true Google citations http://scholar.google.com/citations?user=OWX_2eAJ ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] r.li circular window and not integer radius
On Sat, Aug 23, 2014 at 5:36 PM, Sergio Vignali wrote: > Define sampling areas > -Moving window > Use keyboard to define moving window dimension > -Circle > What radius size (in metres)? > > Here you can use only an integer radius, if you try with a real number the > tool shows an alert window: "Type integer values" I suppose that the integer test in is wrong as it should exclude the metric circular buffer: grass64/raster/r.li/r.li.setup/r.li.windows.tcl (around line 175) Likely worth a bug report in http://trac.osgeo.org/grass/ If you have time, please check if it works ok in GRASS GIS 7 (which can be installed in parallel to GRASS GIS 6). Markus PS: unrelated - I have added screenshots etc here: http://grass.osgeo.org/grass70/manuals/g.gui.rlisetup.html ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] r.li circular window and not integer radius
Define sampling areas -Moving window Use keyboard to define moving window dimension -Circle What radius size (in metres)? Here you can use only an integer radius, if you try with a real number the tool shows an alert window: "Type integer values" 2014-08-23 16:38 GMT+02:00 Markus Neteler : > On Fri, Aug 22, 2014 at 7:48 PM, Sergio Vignali > wrote: > > the version is the 6.4.4, but I think if I use an integer radius it's > only a > > little approximation... > > Could you explain a bit more what you mean with "integer radius"? > > > 2014-08-22 12:18 GMT+02:00 Sergio Vignali : > > > >> Hi, > >> I want to use the r.li module in grass with a circular moving window to > >> calculate the Shannon index, > >> but I need to have a window of 1 km2 so I need of a not integer radius. > >> This seems not possible, any suggestion to do that? > > Do you refer to the choices in "Definition of creation of sampling area:" > - Whole map layer: use entire area selected above, > - Regions: select one to many subareas via mouse, > - Sample units: automated selection of sampling area (for details see > below) > - Random nonoverlapping, > [...] > > (List from http://grass.osgeo.org/grass64/manuals/r.li.setup.html) > > Would you like to see also "Circle" there? > > Perhaps it could be added to > http://grass.osgeo.org/grass70/manuals/g.gui.rlisetup.html > > Markus > -- Sergio Vignali ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
[GRASS-user] r.info output after r.reclass
Hi again, I am using [1] as rules for r.reclass to shift a map's value range of -100..100 to 0..200. After reclassification, r.info shows the result as quoted in [2]. I am missing the line saying that -100 has been reclassified to 0. Why is this line missing? Wondering, Hermann [1] -100 = 0 -99 = 1 ... 99 = 199 100 = 200 [2] Range of data:min = 0 max = 200 ... CategoryOriginal categories 1 -99 2 -98 3 -97 ... -- View this message in context: http://osgeo-org.1560.x6.nabble.com/r-info-output-after-r-reclass-tp5158003.html Sent from the Grass - Users mailing list archive at Nabble.com. ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] r.li circular window and not integer radius
On Fri, Aug 22, 2014 at 7:48 PM, Sergio Vignali wrote: > the version is the 6.4.4, but I think if I use an integer radius it's only a > little approximation... Could you explain a bit more what you mean with "integer radius"? > 2014-08-22 12:18 GMT+02:00 Sergio Vignali : > >> Hi, >> I want to use the r.li module in grass with a circular moving window to >> calculate the Shannon index, >> but I need to have a window of 1 km2 so I need of a not integer radius. >> This seems not possible, any suggestion to do that? Do you refer to the choices in "Definition of creation of sampling area:" - Whole map layer: use entire area selected above, - Regions: select one to many subareas via mouse, - Sample units: automated selection of sampling area (for details see below) - Random nonoverlapping, [...] (List from http://grass.osgeo.org/grass64/manuals/r.li.setup.html) Would you like to see also "Circle" there? Perhaps it could be added to http://grass.osgeo.org/grass70/manuals/g.gui.rlisetup.html Markus ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user