[GRASS-user] r.terraflow on windows grass6.4 RC2 (osgeo4w)

2009-03-06 Thread massimo di stefano
Hi, i'm tring to use grass on windows (osgeo4w.exe installer) but r.terraflow give me some prblems on the spearfish dataset : r.terraflow.short elevation=elevation@permanent filled=elevation10m.filled direction=elevation10m.direction swatershed=elevation10m.watershed

Re: [GRASS-user] Determine surface areas

2009-03-06 Thread Markus Metz
Moritz Lennert wrote: On 05/03/09 23:15, i...@the-masterplan.net wrote: Hi! I am still working on the extended problem and so far i have done the following. I created circles and sectors in autocad and imported the dxf file (first one sector at a time). The import didn't seem to work that

Re: [GRASS-user] qgis + grass-plugin = gdal-problem (update)

2009-03-06 Thread achim
I use a 64 bit system and 64 bit packages (for suse 11.1) achim Otto Dassau schrieb: Hi Achim, I build the opensuse packages in the Application:/Geo repository and will check this. Do you use the 32 bit or 64 bit packages for 11.1? regards, Otto On Mon, 02 Mar 2009 10:45:00 +0100

Re: [GRASS-user] How update vector layers?

2009-03-06 Thread Vincent Bain
Hi Thybério, it is actually v.patch that you need to run for this purpose (AFAIU your problem). v.patch allows to merge several maps with attribute preservation (-e flag), but it only works for layer 1 features. I suggest you to check if each linked table has the same columns definition. Instead

Re: [GRASS-user] choropleth maps and black and white printing

2009-03-06 Thread Moritz Lennert
On 04/03/09 19:41, kries wrote: I'll probably follow MacEachran and use dots with varying size and spacing. I don't suppose this can be achieved from within grass? You should be able to achieve this with the pat option in the vareas command of ps.map (please make your patterns publicly

Re: [GRASS-user] scripting mapcalc

2009-03-06 Thread Daniel Victoria
Hi Glynn, That is good to know. I started using that form because I would always get confused with ' and so I though that using the echo command would be safer. But now that I know better, my scripts will be simpler Daniel On Fri, Mar 6, 2009 at 1:41 AM, Glynn Clements gl...@gclements.plus.com

Re: [GRASS-user] scripting mapcalc

2009-03-06 Thread Nikos Alexandris
Nikos: Try this: r.mapcalc river=if(river==$old, $new, null()) Glynn: Note that this won't work in 7.0, where r.mapcalc uses the parser. It will complain that r.mapcalc doesn't have a river=... option. For portability, always: 1. quote the entire expression, and 2. insert a space

Re: [GRASS-user] choropleth maps and black and white printing

2009-03-06 Thread kries
great, thank you Moritz Moritz Lennert wrote: On 04/03/09 19:41, kries wrote: I'll probably follow MacEachran and use dots with varying size and spacing. I don't suppose this can be achieved from within grass? You should be able to achieve this with the pat option in the vareas

Re: [GRASS-user] scripting mapcalc

2009-03-06 Thread Glynn Clements
Nikos Alexandris wrote: Nikos: Try this: r.mapcalc river=if(river==$old, $new, null()) Glynn: Note that this won't work in 7.0, where r.mapcalc uses the parser. It will complain that r.mapcalc doesn't have a river=... option. For portability, always: 1. quote the entire

RE: [GRASS-user] scripting mapcalc

2009-03-06 Thread Patton, Eric
In general, it's preferable to do as much as possible in each r.mapcalc command. E.g. rather than: r.mapcalc $GIS_OPT_OUTPUT.r = r#$GIS_OPT_FIRST * .$GIS_OPT_PERCENT + (1.0 - .$GIS_OPT_PERCENT) * r#$GIS_OPT_SECOND r.mapcalc $GIS_OPT_OUTPUT.g = g#$GIS_OPT_FIRST * .$GIS_OPT_PERCENT

Re: [GRASS-user] Determine surface areas

2009-03-06 Thread Nikolaus Arnold
Finally got it. Import map: v.in.dxf created areas: v.type input=map1 output=map2 type=line,boundary v.clean input=map2 output=map3 tool=snap thresh=0.0001 v.centroids input=map3 output=map4 option=add checked with v.digit (strangely v.centroids always categorized in the same way, but in the