[GRASS-user] 0, null values and raster algebra

2012-08-28 Thread Patrick Giraudoux
Hi, I have some troubles managing 0, null values and r.colors. I just want to extract a particular habitat category from a Global Land Cover 2000 raster into a raster of presence/absence (and NULL value for ocean and waterbodies) This makes the following: r.mapcalc

Re: [GRASS-user] 0, null values and raster algebra

2012-08-28 Thread Patrick Giraudoux
Le 28/08/2012 08:17, Patrick Giraudoux a écrit : Hi, I have some troubles managing 0, null values and r.colors. I just want to extract a particular habitat category from a Global Land Cover 2000 raster into a raster of presence/absence (and NULL value for ocean and waterbodies) This makes

[GRASS-user] FW: r.lake issues

2012-08-28 Thread ambrish dhaka
From: ambi...@hotmail.com To: qgis-u...@lists.osgeo.org Subject: r.lake issues Date: Tue, 28 Aug 2012 04:55:59 + HI! ALL I have been trying to generate a lake feature from dem and seed raster files using r.lake, this is information below. The areas are not created as values can be

[GRASS-user] r.stream.order export to shapefile

2012-08-28 Thread Micha Silver
I'm having two problems when exporting the output of r.stream.order to a shapefile. I have attached the created table (saved in my setup in sqlite) to the 'streams' map thru layer 2. Then v.db.select streams layer=2 shows all the details of strahler order,

[GRASS-user] can't start from a BARRIER / Wildfire suite

2012-08-28 Thread Margherita Di Leo
Hi All, I have some troubles running the Wildfire suite in grass. In particular, when i run r.spread I get the following error message: [...] WARNING: can't start from a BARRIER at cell (416,305), request ignored WARNING: can't start from a BARRIER at cell (417,305), request ignored WARNING:

Re: [GRASS-user] Adjust opacity in command line

2012-08-28 Thread Glynn Clements
Andy Wickert wrote: I have been trying to find a way to adjust the opacity (or transparency, to throw another key word in there) of raster and vector layers using the command line. This is possible in the wxPython GUI, but I have a large number of maps to produce, and would like to script

Re: [GRASS-user] FW: r.lake issues

2012-08-28 Thread Maris Nartiss
Hello, please check following things: 1) water level at seed point/area is above terrain (provided DEM); 2) seed point/area is located within current computational region (just run g.region rast=my_dem before r.lake); 3) seed point/area has values 0 (quirk of current implementation). Good luck!

Re: [GRASS-user] can't start from a BARRIER / Wildfire suite

2012-08-28 Thread Margherita Di Leo
OK solved. I figured out that it was actually a problem in the units i used in the input maps. On Tue, Aug 28, 2012 at 2:58 PM, Margherita Di Leo direg...@gmail.comwrote: Hi All, I have some troubles running the Wildfire suite in grass. In particular, when i run r.spread I get the

Re: [GRASS-user] Adjust opacity in command line

2012-08-28 Thread Markus Neteler
On Tue, Aug 28, 2012 at 4:19 PM, Glynn Clements gl...@gclements.plus.com wrote: Andy Wickert wrote: I have been trying to find a way to adjust the opacity (or transparency, to throw another key word in there) of raster and vector layers using the command line. This is possible in the

[GRASS-user] r.sun - was Re: Importing ASCII file

2012-08-28 Thread Markus Neteler
On Fri, Aug 24, 2012 at 10:16 PM, sotototo soga...@gmail.com wrote: Hi, Is there a way to calculate automatically the annual radiation in r.sun because the algorithm calculates one day at a time. Yes, see (minimal modifications will be needed to cover the full year):

Re: [GRASS-user] r.stream.order export to shapefile

2012-08-28 Thread Micha Silver
A few more details regarding v.out.ogr when layer=2 I see this ticket, possibly similar: http://trac.osgeo.org/grass/ticket/991 I tried to export to PostGIS, and again, all attribute fields are created but all values are NULL. I also tried with the layer 2

Re: [GRASS-user] r.stream.order export to shapefile

2012-08-28 Thread Markus Metz
On Tue, Aug 28, 2012 at 9:05 PM, Micha Silver mi...@arava.co.il wrote: A few more details regarding v.out.ogr when layer=2 I see this ticket, possibly similar: http://trac.osgeo.org/grass/ticket/991 I tried to export to PostGIS, and again, all attribute fields are created but all values are