Re: [GRASS-user] temporary maps/space during r.fill.dir execution

2010-04-14 Thread Markus Neteler
On Wed, Apr 14, 2010 at 11:33 PM, Martin Landa wrote: > Hi, > > 2010/4/14 Markus Neteler : >>> does anybody know how to avoid the temporary use of disk space during >>> execution of r.fill.dir? For large input files it seems that large temporary >>> files are written as well since I got messages l

[GRASS-user] Question with Python-SWIG example

2010-04-14 Thread AhmadKhaled
Hi, I was trying to run the example given on the "Grass and Python wiki" for interface between Python-SWIG-GRASS. I ran the raster example, and I got the following error: TypeError: 'int' object is unsubscriptable Which kinds of make sense, because presumably the G_get_raster_row function retu

Re: [GRASS-user] Can't initialize wxpython GRASS6.4

2010-04-14 Thread Martin Landa
Hi, 2010/4/15 Jenny Turner : > It says > g.region: error while loading shared libraries: libgdal.so.1: cannot open > shared object file: No such file or directory > > But I have gdal installed and libgdal and libgdal1-dev try `sudo ldconfig`. Martin -- Martin Landa * http://gama.fsv.cvut.c

Re: [GRASS-user] Can't initialize wxpython GRASS6.4

2010-04-14 Thread Martin Landa
Hi, 2010/4/15 Jenny Turner : > I have just installed in my old laptop a Ubuntu Karmic version of GRASS > (6.4). I know it's not new but I'm getting an ODD error that it's not > suppose to happen. > I have placed nc_spm_08 data in /home/jenny/data folder and everytime I do > sudo grass64 -wxpython

[GRASS-user] Can't initialize wxpython GRASS6.4

2010-04-14 Thread Jenny Turner
Greetings I have just installed in my old laptop a Ubuntu Karmic version of GRASS (6.4). I know it's not new but I'm getting an ODD error that it's not suppose to happen. I have placed nc_spm_08 data in /home/jenny/data folder and everytime I do sudo grass64 -wxpython When it's open GRASS GIS layer

Re: [GRASS-user] Error with sub-group while using i.gensigset

2010-04-14 Thread Luisa Peña
I have re-downloaded NC_spm_08 from GRASS website and the already available group, lsat7_2...@landsat doesn't display sub-group in i.cluster or other functions.. Nevertheless, I tried what Markus said: i.group group=t02 subgroup=sub input=lsat5_1987_10,lsat5_1987_20 (altough this is not performed

[GRASS-user] isolines and kml files interpolation

2010-04-14 Thread Ricardo Rodríguez
hello all, a question, points are interpolated by any method in kml and get a new file with interpolation or isolines in kml, thanks for your answers Ricardo Rodríguez Ing. Topográfico Univalle ___ grass-user mailing list grass-user@lists.osgeo.org http:

Re: [GRASS-user] temporary maps/space during r.fill.dir execution

2010-04-14 Thread Martin Landa
Hi, 2010/4/14 Markus Neteler : >> does anybody know how to avoid the temporary use of disk space during >> execution of r.fill.dir? For large input files it seems that large temporary >> files are written as well since I got messages like "no disk space left" >> (running in a minimized environment

Re: [GRASS-user] Error in GRASS6.4 while creating image group

2010-04-14 Thread Nikos Dumakis
Does anyone reports the same? because that happened with Win32 and I'm using a snapshot from 10/4/2010 in Ubuntu9.10. It happens the same in i.cluster and in all the others menus that required groups... On Wed, Apr 14, 2010 at 9:11 PM, Markus Neteler wrote: > On Wed, Apr 14, 2010 at 7:05 PM, Nik

[GRASS-user] r.average and r.info

2010-04-14 Thread William Hudspeth
Hello, I am using r.average to calculate the mean pixel value in a base map aggregating pixels in a cover map with the same value. I know that I have 54 different categories (e.g. parcels) in the cover map, but when I run r.info, it only outputs 47 of them, with a on the final line. Where are

Re: [GRASS-user] temporary maps/space during r.fill.dir execution

2010-04-14 Thread Markus Neteler
On Wed, Apr 14, 2010 at 11:01 AM, Christian Schwartze wrote: > Hi grass users, > > does anybody know how to avoid the temporary use of disk space during > execution of r.fill.dir? For large input files it seems that large temporary > files are written as well since I got messages like "no disk spa

Re: [GRASS-user] temporary maps/space during r.fill.dir execution

2010-04-14 Thread Christian Schwartze
g.region -p says: projection: 0 (x,y) zone: 0 north: 6257261.73938969 south: 6124108.23119424 west: 650218.74629604 east: 775529.77427479 nsres: 84.32774427 ewres: 69.6946763 rows: 1579 cols: 1798 cells: 2839042 Hence, working on nearly 3 mill. cells... Regards,

Re: [GRASS-user] Error in GRASS6.4 while creating image group

2010-04-14 Thread Markus Neteler
On Wed, Apr 14, 2010 at 7:05 PM, Nikos Dumakis wrote: > Hi > I'm using GRASS6.4.svn from latest week snapshot in Ubuntu and I was testing > a few functions while I got an error when creating a image group with > NorthCarolina Dataset. > > I did: > i.group group=gr04 subgroup=sub > input=lsat7_2000

Re: [GRASS-user] Error with sub-group while using i.gensigset

2010-04-14 Thread Markus Neteler
On Wed, Apr 14, 2010 at 7:41 PM, Luisa Peña wrote: > Greetings > I'm freely following this tutorial > (http://grass.osgeo.org/wiki/Image_classification) and I'm getting a odd > error. > I'm sending this command: > i.gensigset trainingma...@landsat group=g...@landsat subgroup=sub > signaturefile=si

Re: [GRASS-user] Re: r.mapcalc and nested if

2010-04-14 Thread Milton Cezar Ribeiro
Hi there, may be the last command need double == r.mapclac 'final=if(first_map==1,0,first_map' cheers milton 2010/4/14 Jarek Jasiewicz > thedok78 pisze: > > Sorry, this is the expression: >> r.mapcalc 'map2=if(map ==1 >> >> ,if(mode(map[-1,-1],map[-1,0],map[-1,1],map[0,1],map[1,1],map[1,0],m

[GRASS-user] Pango ERROR

2010-04-14 Thread António Rocha
re the consequences of this? Thanks Best regards Antonio __ Information from ESET NOD32 Antivirus, version of virus signature database 5029 (20100414) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com ___ gr

Re: [GRASS-user] Re: r.mapcalc and nested if

2010-04-14 Thread Jarek Jasiewicz
thedok78 pisze: Sorry, this is the expression: r.mapcalc 'map2=if(map ==1 ,if(mode(map[-1,-1],map[-1,0],map[-1,1],map[0,1],map[1,1],map[1,0],map[1,-1],map[0,-1])==1,0,mode(map[-1,-1],map[-1,0],map[-1,1],map[0,1],map[1,1],map[1,0],map[1,-1],map[0,-1]),map))' Thanks Luca seem that much easier

[GRASS-user] Error with sub-group while using i.gensigset

2010-04-14 Thread Luisa Peña
Greetings I'm freely following this tutorial ( http://grass.osgeo.org/wiki/Image_classification) and I'm getting a odd error. I'm sending this command: i.gensigset trainingma...@landsat group=g...@landsat subgroup=sub signaturefile=sig maxsig=5 and I get this: Finding training classes... 5 classes

[GRASS-user] temporary maps/space during r.fill.dir execution

2010-04-14 Thread Christian Schwartze
Hi grass users, does anybody know how to avoid the temporary use of disk space during execution of r.fill.dir? For large input files it seems that large temporary files are written as well since I got messages like "no disk space left" (running in a minimized environment where not so much disk

[GRASS-user] Error in GRASS6.4 while creating image group

2010-04-14 Thread Nikos Dumakis
Hi I'm using GRASS6.4.svn from latest week snapshot in Ubuntu and I was testing a few functions while I got an error when creating a image group with NorthCarolina Dataset. I did: i.group group=gr04 subgroup=sub input=lsat7_2000...@landsat ,lsat7_2000...@landsat,lsat7_2000...@landsat,lsat7_2000...

Re: [GRASS-user] Stratified sampling in GRASS

2010-04-14 Thread Dylan Beaudette
On Wednesday 14 April 2010, joel dinis wrote: > Hello to all, > > I'm trying to do a stratified > sampling in GRASS, and I found > nothing in GRASS about it. > > Does anyone knows how to do it? > > Thank in advance > JD Here is one approach with R: http://casoilresource.lawr.ucdavis.edu/drupal/no

[GRASS-user] Stratified sampling in GRASS

2010-04-14 Thread joel dinis
Hello to all, I'm trying to do a stratified sampling in GRASS, and I found nothing in GRASS about it. Does anyone knows how to do it? Thank in advance JD ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gra

[GRASS-user] Re: r.mapcalc and nested if

2010-04-14 Thread thedok78
Sorry, this is the expression: r.mapcalc 'map2=if(map ==1 ,if(mode(map[-1,-1],map[-1,0],map[-1,1],map[0,1],map[1,1],map[1,0],map[1,-1],map[0,-1])==1,0,mode(map[-1,-1],map[-1,0],map[-1,1],map[0,1],map[1,1],map[1,0],map[1,-1],map[0,-1]),map))' Thanks Luca -- View this message in context: http://n

[GRASS-user] r.mapcalc and nested if

2010-04-14 Thread thedok78
Hello everybody, I need to run a complex r.mapcalc expression, but I can't understand how to use nested if. This is the expression: r.mapcalc 'map2=if(mode(map[-1,-1],map[-1,0],map[-1,1],map[0,1],map[1,1],map[1,0],map[1,-1],map[0,-1])==1,0,mode(map[-1,-1],map[-1,0],map[-1,1],map[0,1],map[1,1],map[

Re: [GRASS-user] Re: GRASS - Network Analysis

2010-04-14 Thread G. Allegri
Ops, Martin, I've replied using the wrong thread! :) thanks, giovanni 2010/4/14 Martin Landa > Hi, > > 2010/4/14 G. Allegri : > > Great Martin, I've just tested it! > > What do you think about adding the option to parametrize inputs and > outputs? > > seems that you are speaking about the model

Re: [GRASS-user] Running v.krige in GRASS6.5

2010-04-14 Thread Martin Landa
(please keep discussion in ML) Hi, 2010/4/14 António Rocha : > Regarding first question > This means that it won't be available or adapted to 6.4 right? could be in 6.4.1, unfortunately adopting v.krige to wxGUI available in GRASS 6.4 would be too much work. Anyway v.krige's command line interfa

Re: [GRASS-user] Re: GRASS - Network Analysis

2010-04-14 Thread Martin Landa
Hi, 2010/4/14 G. Allegri : > Great Martin, I've just tested it! > What do you think about adding the option to parametrize inputs and outputs? seems that you are speaking about the modeler. Parametrization of inputs/outputs/variables is in TODO. Martin -- Martin Landa * http://gama.fsv.cvut.c

Re: [GRASS-user] Re: GRASS - Network Analysis

2010-04-14 Thread G. Allegri
Great Martin, I've just tested it! What do you think about adding the option to parametrize inputs and outputs? giovanni 2010/4/10 Martin Landa > Hi, > > 2010/4/10 Martin Landa : > > the modules developed by Daniel Bundala within Google Summer of Code > > 2009 is now available in GRASS 7.0 and

Re: [GRASS-user] Running v.krige in GRASS6.5

2010-04-14 Thread Martin Landa
Hi, 2010/4/14 António Rocha : > 1- Is it possible to back-port it to GRASS6.4? v.krige's command line interface should work in GRASS 6.4, the GUI part requires GRASS 6.5+. > 2- How can I know with release I'm using (rX)? Depends how your GRASS is installed (binary snapshots, distro packages

[GRASS-user] Link to Open office Database

2010-04-14 Thread Francesco Barreca
I want link a point in a map with a Mask of OpenOffice database. How am I doing? thanks. ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] Running v.krige in GRASS6.5

2010-04-14 Thread Martin Landa
Hi, 2010/4/14 António Rocha : > I have just installed GRASS6.5svn and I have the following files > v.krige.py     in sr/local/grass-6.5.svn/etc/wxpython/scripts > v.krige.pyc     in /usr/local/grass-6.5.svn/etc/wxpython/scripts > > But in Wxpython command console, everytime I put v.krige I only ge

Re: [GRASS-user] Difficulties with i.pr

2010-04-14 Thread Daniel McInerney
Hi Joel - Sorry for the late reply. I only managed to successfully run i.pr.training and i.pr.features. I tried the image classification, but it threw too many errors. I haven't looked at i.pr for a while, but may revisit it when time permits. Best Regards, Daniel. joel dinis wrote: Hello Dani

[GRASS-user] Running v.krige in GRASS6.5

2010-04-14 Thread António Rocha
__ Information from ESET NOD32 Antivirus, version of virus signature database 5027 (20100414) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman

Re: [GRASS-user] Questions about r.mfilter

2010-04-14 Thread Glynn Clements
Casey Vandenberg wrote: > Does anyone know if the r.mfilter will support negative values in the > matrix filter file. I was hoping to do a high pass filter on a dataset, > so I created a filter for input in the following format, but it will not > work. > > TITLE HighPass3x3 > MATRIX

[GRASS-user] Re: r.coin behaving differently

2010-04-14 Thread maning sambale
Never mind, map2 was an Data Type: DCELL, simply convert them in to CELL and its OK. Doh! On Wed, Apr 14, 2010 at 5:44 PM, maning sambale wrote: > Follow-up > > On Wed, Apr 14, 2010 at 5:41 PM, maning sambale > wrote: >> map2' range >> Range of data:    min =  max = 17590 > > The ra

[GRASS-user] Re: r.coin behaving differently

2010-04-14 Thread maning sambale
Follow-up On Wed, Apr 14, 2010 at 5:41 PM, maning sambale wrote: > map2' range > Range of data:    min =  max = 17590 The range above is not are ordinal categories, they are simply polygon codes of administrative regions. -- cheers, maning -

[GRASS-user] r.coin behaving differently

2010-04-14 Thread maning sambale
Hi, I am using r.coin for two raster maps map1's range is Range of data:min = 111 max = 140 map2' range Range of data:min = max = 17590 I used to get this result with r.coin | cat# | 111 | 112 | 120 | 130 | 140 | w cat 0 | w/o cat 0 | |-