Re: [GRASS-user] Re: Using shell and perl scripts via a python script in windows, or better change to Linux?

2010-07-23 Thread Nikos Alexandris
On Friday 23 of July 2010 11:58:54 sonja1 wrote: > Maybe I gave up to early, but my solution is the change to Linux. > I finally got my python scripts, which call the Geomhydas shell and perl > scripts, to work. > I wrote some documentation: > > How to run Python/Shell/Perl scripts in combination

RE: [GRASS-user] Surface spot interpolates heights for pointis in a feature class from surface

2010-07-23 Thread Moskovitz, Bob
You should take a look at v.what.rast. According to the manual: v.what.rast reads raster value for each point in the vector and updates col column in vector attribute table by this value. The column should be type number (integer, float, double, ... ). If more points have the sa

Re: [GRASS-user] create a mask to exclude plate area

2010-07-23 Thread Nikos Alexandris
Etienne, if the main difficulty is about how to combine two criteria in one "r.mapcalc" command, then, I recommend to go through the r.mapcalc manual [1]. There are many examples. Also read the old (but very good) tutorial [2] (which is referenced in the manual). Nikos --- [1]

[GRASS-user] Surface spot interpolates heights for pointis in a feature class from surface

2010-07-23 Thread Susana Arciniegas
I found tool "Tools for point layer (Herramientas para capas de puntos)/ Interpolate Raster (Muestrear capa raster)" in SEXTANTE, it is similar to "Surface Spot" of ArcGis, I need to found it, in Grass GIS 6.40ORC6, but I can not. The tool interpolates heights for points in a feature class from

[GRASS-user] wx python: multiple selection

2010-07-23 Thread Jarek Jasiewicz
Hi. Sorry for naive question, but in fact I try to use wx since few days, so maybe I lost something... How to made multiple map selection in wx without repetition of choosing map from list (look for something like control+click in tcltk menu gui) when multiple scope of map is needed (for exa

[GRASS-user] Minimum number of pixels required by i.gensigset (i.smap)

2010-07-23 Thread Nikos Alexandris
I am trying to find an answer to the question of how many "pixels/per training object" are at least required for i.gensigset (and successively i.smap) to work. I could not find the answer in the (Bouman and Shapiro, 1994) paper. Among my notes I have "if the number of pixels (of a training objec

Re: [GRASS-user] Converting raster to Vector (areas)- Question

2010-07-23 Thread Markus Metz
Luis Lisboa wrote: > Hello Markus and GRASS ML > But these two areas can have the same category, >> >> here 1, and you can add more info for each category to the attribute >> table. >> > > But can I do that while running r.to.vect? If yes, How? > Assign the same category to all areas with same cell

[GRASS-user] Python script for Reclass from values

2010-07-23 Thread Luisa Peña
Greetings I have a list of values stored in a text file like this 20.4 24.5 45.6 4.56 20.5 34.5. 34.5 43.4 1.2 5.3 43.4 3.3 ... Each column corresponds to an image and each line to a classe (e.g. pixels in image 1 with value 20.4 and 24.5 in image 2 and 45.6 in image 3 and 4.56 in image4 correspond

[GRASS-user] Stack Dumpfile in WinGRASS installation with OSGEO4w

2010-07-23 Thread Monica Buescu
Hi Since I saw today a message from Helmut, stating that 19-07 Snapshot is to be updated, I decided to install an earlier version (from June). While I was installing GRASS i got a lot of : 0 [main] sh 3880 open_stackdumpfile: Dumping stack trace to sh.exe.stackdump 0 [main] sh 960 open_s

Re: [GRASS-user] Converting raster to Vector (areas)- Question

2010-07-23 Thread Luis Lisboa
Hello Markus and GRASS ML But these two areas can have the same category, > here 1, and you can add more info for each category to the attribute > table. > > But can I do that while running r.to.vect? If yes, How? ___ grass-user mailing list grass-user@l

[GRASS-user] Re: Using shell and perl scripts via a python script in windows, or better change to Linux?

2010-07-23 Thread sonja1
Maybe I gave up to early, but my solution is the change to Linux. I finally got my python scripts, which call the Geomhydas shell and perl scripts, to work. I wrote some documentation: How to run Python/Shell/Perl scripts in combination with Grass under Linux (here tested for Debian) 1. I

[GRASS-user] Python in GRASS 7 - memory consumption

2010-07-23 Thread Jarek Jasiewicz
Hi May someone confirm (Ubuntu 9.10, 64 bits, Sperafish, 4GB RAM)? Zooming, panning with any map (even small vector) consume more and more memory for Python. After more or less 50 moves I had almost 500 MB memory consumed by Python. After restarting wx GUI memory is realesed Jarek Here are