[GRASS-user] Error while removing file

2011-03-14 Thread António Rocha
tivirus, version of virus signature database 5952 (20110314) __ 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/listinfo/grass-user

Re: [GRASS-user] GRASS'c Python core function to use as g.mlist

2011-03-14 Thread Jenny Turner
Hello Ricardo Thanks for your feedback but the problem is that mapset cannot be used as input. Because I got this error: p=grass.mlist_grouped ('rast', pattern=pattern, mapset='PERMANENT') TypeError: mlist_grouped() got an unexpected keyword argument 'mapset'. If I avoid using mapset I get a dictio

Re: [GRASS-user] GRASS'c Python core function to use as g.mlist

2011-03-14 Thread Ricardo Filipe Soares Garcia da
Hi Jenny > Because I got this error: > p=grass.mlist_grouped ('rast', pattern=pattern, > mapset='PERMANENT') This command runs fine on my system (by replacing 'pattern' with a valid pattern string'). Maybe it is a version problem? I'm running GRASS 6.4.0 on Ubuntu 10.10, coming from the ubuntugis

[GRASS-user] Not accepted characters for mapset name

2011-03-14 Thread Helmut Kudrnovsky
[please keep it on the mailing list, so others can benefit of it] for example the official grassgis-sample-dataset of north carolina is named "nc_spm_08" (http://grass.osgeo.org/download/data.php) HTH Helmut - Von: "Nikos Dumakis" Gesendet: 14.03.2011 10:29:04 An: "Helm

[GRASS-user] 6.5svn build problem

2011-03-14 Thread Rich Shepard
Yesterday, 13 March, I ran 'svn up' to get the latest 6.5 source then ran configure; make; make install. No errors reported. However, when I start this version I see: Welcome to GRASS 6.5.svn (2010) GRASS homepage: http://grass.osgeo.org/ This version running thru:

Re: [GRASS-user] 6.5svn build problem

2011-03-14 Thread Martin Landa
Hi, 2011/3/14 Rich Shepard : >  Yesterday, 13 March, I ran 'svn up' to get the latest 6.5 source then ran > configure; make; make install. No errors reported. However, when I start > this version I see: run `make distclean` before `configure`. Martin -- Martin Landa * http://geo.fsv.cvut.cz/~

Re: [GRASS-user] db.out.ogr: Syntax Correction

2011-03-14 Thread Rich Shepard
On Mon, 14 Mar 2011, Micha Silver wrote: Hmmm is right. On my (debian) I get: # check columns in a vector GRASS 6.4.1svn (Nevada-aea):~/grassdata > v.info -c at_risk_species Displaying column types/names for database connection of layer 1: INTEGER|cat INTEGER|EO_ID_NUM DOUBLE PRECISION|EO_NU

Re: [GRASS-user] 6.5svn build problem [SOLVED]

2011-03-14 Thread Rich Shepard
On Mon, 14 Mar 2011, Martin Landa wrote: run `make distclean` before `configure`. Martin, Thank you. I've not had to run make distclean on previous builds of the svn code so it did not occur to me. It did fix the problem, however. Much appreciated, Rich ___

Re: [GRASS-user] db.out.ogr: Syntax Correction

2011-03-14 Thread Rich Shepard
On Mon, 14 Mar 2011, Rich Shepard wrote: # Copy to postgres I had a syntax error in the db.copy command. 6.5 is running now, but I'm now getting a different error. For background, db.connect -p shows: GRASS 6.5.svn (Nevada-aea):~/grassdata > db.connect -p driver:pg database:host=localhost,d

[GRASS-user] db.out.ogr: Syntax Correction

2011-03-14 Thread Helmut Kudrnovsky
Hi >> Why don't you try with g.copy? > > My reading of the man page is that g.copy copies maps from a non-current >mapset to the current one. I don't see how to use this to copy attribute >data from dbf to pg. db.connect - Prints/sets general DB connection for current mapset and exits. http://

Re: [GRASS-user] Error while removing file

2011-03-14 Thread Glynn Clements
António Rocha wrote: > I'm trying to remove a file named new_clump@Area and I get this error: > [new_clump@Area] is a base map for [myscript.tmpV@Area]. Remove forced. "is a base map for" is just a warning; it doesn't prevent removal so long as the -f flag is given. > misc: couldn't be removed

Re: [GRASS-user] batch file processiong stops with some db-commands

2011-03-14 Thread Markus Neteler
On Sat, Mar 12, 2011 at 5:48 PM, Matthias Klingel wrote: > > Dear grass users, > in wingrass 6.4.1 (or at least on my machine), processing of batch files with > grass commands stops after executing v.db.addtable, v.db.addcol, v.db.addcol, > v.db.dropcol and their db.* equivalents. The rest of th