Re: [GRASS-user] Importing .csv table into GRASS

2009-06-30 Thread JanaKr
Hi everybody, thanks for suggestions; In between I've posted some comments and wondered why there was no answer to them - now I realized that I've simply replied to the people sending the comments, not the grass-user forum. Sorry for the confusion. Here, once more, I attach what I wanted to write

[GRASS-user] grass 6.4 rc5 and python scripting

2009-06-30 Thread Ricardo Filipe Soares Garcia da
Hello list I compiled grass-6.4.0RC5 (downloaded a tarball from the main site). I'd like to learn about scripting grass with python. Following the first sample script at the GRASS Python scripting library (http://download.osgeo.org/grass/grass6_progman/pythonlib.html) I created a test file

Re: [GRASS-user] grass 6.4 rc5 and python scripting

2009-06-30 Thread Martin Landa
Hi, 2009/6/30 Ricardo Filipe Soares Garcia da ricardo.garcia.si...@gmail.com: Following the first sample script at the GRASS Python scripting library (http://download.osgeo.org/grass/grass6_progman/pythonlib.html) I created a test file called teste.py, and placed it on the Desktop. When I try

Re: [GRASS-user] Importing .csv table into GRASS

2009-06-30 Thread Moritz Lennert
JanaKr wrote: I am trying to import a simple okresy.csv table, the first few lines of which are: CAT,AREA,PERIMETER,CISLO_OKR,SO2_KG,SO2_OBYV 64,9485480,15278.33,101,3384,0.08 66,92488080,53576.26,102,3384,0.03 62,74758064,39651.84,103,3384,0.05 63,96450584,56394.8,104,3384,0.04 Using

Re: [GRASS-user] grass 6.4 rc5 and python scripting

2009-06-30 Thread Ricardo Filipe Soares Garcia da
Thanks for your help Now I'll get on with the program! Hopefully I'll be able to build a script that can find the nearest hospital to an accident site on a vector network working ;) Cheers On Tue, Jun 30, 2009 at 2:51 PM, Martin Landalanda.mar...@gmail.com wrote: Hi, 2009/6/30 Ricardo

[GRASS-user] r.mapcalc compile errors

2009-06-30 Thread achim
Please help: What could be missing? Compiling on ubuntu 9.04 64bit (linux mint) Errors in: /usr/local/src/grass6_devel/lib/db/sqlp /usr/local/src/grass6_devel/db/drivers/ogr /usr/local/src/grass6_devel/db/drivers/dbf /usr/local/src/grass6_devel/raster/r.mapcalc Thanks a lot! Achim with:

Re: [GRASS-user] grass 6.4 rc5 and python scripting

2009-06-30 Thread Moritz Lennert
On 30/06/09 12:58, Ricardo Filipe Soares Garcia da wrote: Hello list I compiled grass-6.4.0RC5 (downloaded a tarball from the main site). I'd like to learn about scripting grass with python. Following the first sample script at the GRASS Python scripting library

Re: [GRASS-user] r.mapcalc compile errors

2009-06-30 Thread Martin Landa
Hi, 2009/6/30 achim a...@jupiter.uni-freiburg.de: [...] Errors in: /usr/local/src/grass6_devel/lib/db/sqlp /usr/local/src/grass6_devel/db/drivers/ogr /usr/local/src/grass6_devel/db/drivers/dbf /usr/local/src/grass6_devel/raster/r.mapcalc you have to send error log from 'lib/db/sqlp',

Re: [GRASS-user] tables connection in database

2009-06-30 Thread Moritz Lennert
On 26/06/09 16:38, achim wrote: Thats exactly the problem: It shows nothing. None of my lines has any cat. Well, then you need to add them with 'v.category option=add' ;-) Moritz Achim Moritz Lennert wrote: On 26/06/09 15:24, achim wrote: Hi Moritz, thanks for reply and this detailed

[GRASS-user] hardware requirements for running r.sun

2009-06-30 Thread buraq
Hi, I have a notebook with T7200 Intel CPU and r.sun completes one day's calculation between 3-4 mins(with linke turbidity raster and shadowing, step = 1). I want to run r.sun with step=0.5 in a large scale and detailed area. So, I need to reduce the calculation time for calculating 365 day data.

Re: [GRASS-user] tables connection in database

2009-06-30 Thread achim
:-) achim Moritz Lennert schrieb: On 26/06/09 16:38, achim wrote: Thats exactly the problem: It shows nothing. None of my lines has any cat. Well, then you need to add them with 'v.category option=add' ;-) Moritz Achim Moritz Lennert wrote: On 26/06/09 15:24, achim wrote: Hi Moritz,

Re: [GRASS-user] grass 6.4 rc5 and python scripting

2009-06-30 Thread Michael Barton
On Jun 30, 2009, at 7:10 AM, grass-user-requ...@lists.osgeo.org wrote: Date: Tue, 30 Jun 2009 15:58:01 +0200 From: Moritz Lennert mlenn...@club.worldonline.be Subject: Re: [GRASS-user] grass 6.4 rc5 and python scripting To: Ricardo Filipe Soares Garcia da ricardo.garcia.si...@gmail.com Cc:

Re: [GRASS-user] hardware requirements for running r.sun

2009-06-30 Thread Hamish
buraq wrote: I have a notebook with T7200 Intel CPU and r.sun completes one day's calculation between 3-4 mins(with linke turbidity raster and shadowing, step = 1). I want to run r.sun with step=0.5 in a large scale and detailed area. So, I need to reduce the calculation time for calculating

[GRASS-user] g.remove error?

2009-06-30 Thread Paolo Cavallini
Hi all. While running form the QGIS GRASS shell, I get: GRASS g.remove vect=random_butta Removing vector random_butta WARNING: Unable to remove directory '/home/Documenti/datigrass/CEA_location/Cea_GRASS/.tmp/ursus/31318.0' WARNING: couldn't be removed WARNING: random_butta nothing removed but

Re: [GRASS-user] grass 6.4 rc5 and python scripting

2009-06-30 Thread Glynn Clements
Glynn Clements wrote: In order for g.parser to work, the file teste.py needs to be in your PATH. This is actually a bug in G_parser() and G_gui(). menuform.py is being passed the base filename rather than the complete path. There isn't any other reason why the script needs to be in the

Re: [GRASS-user] g.remove error?

2009-06-30 Thread Glynn Clements
Paolo Cavallini wrote: Hi all. While running form the QGIS GRASS shell, I get: GRASS g.remove vect=random_butta Removing vector random_butta WARNING: Unable to remove directory '/home/Documenti/datigrass/CEA_location/Cea_GRASS/.tmp/ursus/31318.0' WARNING: couldn't be removed

Re: [GRASS-user] g.remove error?

2009-06-30 Thread Paolo Cavallini
Glynn Clements ha scritto: Does the directory listed above exist? Does it contain any files or subdirectories? Thanks Glynn for explaining. An nfs problem, apparently: ls -la /home/Documenti/datigrass/CEA_location/Cea_GRASS/.tmp/ursus/31318.0/ totale 16 drwx--x--x 2 paolo paolo 4096 30 giu

Re: [GRASS-user] grass 6.4 rc5 and python scripting

2009-06-30 Thread Hamish
Michael Barton wrote: 3. Set the GRASS_ADDON_PATH variable in the .grassrc6 file (or its equivalent in GRASS 7). For example, I could add... GRASS_ADDON_PATH: /Users/Michael/Desktop;/Users/Michael/Documents ...and any script on my desktop or in my documents folder would be accessible to

[GRASS-user] Re: [GRASS-dev] problem with sql query

2009-06-30 Thread Martin Landa
{moved to grass-user ML} Hi, 2009/6/30 Quentin Page quentin.p...@avignon.inra.fr: echo update table table1 set attribute1 = 1 where table1.attribute2 = table2.attribute2 |db.execute I receive an error message. Is there a syntax error with the point between tables and attributes? well, and

Re: [GRASS-user] Repository for RH Enterprise Linux / Scientific Linux ? - SOLVEDish

2009-06-30 Thread John A Stevenson
Under CentOS Dag Wieer's RPM Repository satisfies some of my GRASS Dependencies, which might also work with ScientificLinux (since both are built from RHEL Source)??? Sorry I am NOT familiar with SL, so I can NOT be more definitive... http://dag.wieers.com/rpm/ NOTE: Dag's Repositories

Re: [GRASS-user] grass 6.4 rc5 and python scripting

2009-06-30 Thread Michael Barton
It really does work. It's pretty nice. I don't know how .grassrc6 handles separators--GRASS specific or OS specific. Michael __ C. Michael Barton, Professor of Anthropology Director of Graduate Studies, School of Human Evolution Social Change Director, Center for

Re: [GRASS-user] hardware requirements for running r.sun

2009-06-30 Thread Dylan Beaudette
On Tuesday 30 June 2009, Hamish wrote: buraq wrote: I have a notebook with T7200 Intel CPU and r.sun completes one day's calculation between 3-4 mins(with linke turbidity raster and shadowing, step = 1). I want to run r.sun with step=0.5 in a large scale and detailed area. So, I need to

[GRASS-user] GIPE INSTALL UBUNTU

2009-06-30 Thread Leonardo Hardtke
Hi! I'm not linux expert, and i couldn't install GIPE (and other add-ons) on my Ubuntu 9.04 (GRASS 6.4 RC4 les-ejk repo)... I downloaded grass source, (apt-get source grass) and svn add-ons, then I changed the first lines on the GIPE install script..

Re: [GRASS-user] grass 6.4 rc5 and python scripting

2009-06-30 Thread Ricardo Filipe Soares Garcia da
Hello all Thanks for your good advice. I decided to go with the option of EXPORTing the grass addon path and put my scripts there, which works ok, well... kind of. It happens that when I launch GRASS from the terminal, the GRASS_ADDON_PATH gets correctly added to the PATH and I can load my test

[GRASS-user] link to datasets from other locations?

2009-06-30 Thread Tim Michelsen
Hello grass users, There exist v.external and r.external to link to data which hasn't been imported into GRASS. But in order to save time and disk space I would like to link to data sets from other locations: How do I link to a raster and vector data in another location presuming it has

Re: [GRASS-user] link to datasets from other locations?

2009-06-30 Thread Hamish
Tim Michelsen wrote: There exist v.external and r.external to link to data which hasn't been imported into GRASS. But in order to save time and disk space I would like to link to data sets from other locations: How do I link to a raster and vector data in another location presuming it

Re: [GRASS-user] grass 6.4 rc5 and python scripting

2009-06-30 Thread Hamish
Ricardo Filipe Soares Garcia da wrote: Thanks for your good advice. I decided to go with the option of EXPORTing the grass addon path and put my scripts there, which works ok, well... kind of. It happens that when I launch GRASS from the terminal, the GRASS_ADDON_PATH gets correctly added

[GRASS-user] Multiple v.net.path parameters

2009-06-30 Thread J. Holden
Hello, I am looking to use v.net.path to determine the distance of many different points to many different other points on a network. Is it possible to send multiple parameters to v.net.path? For instance, I have (in theory) 4 points connected to a network. I want to find the distance of the

Re: [GRASS-user] Multiple v.net.path parameters

2009-06-30 Thread Hamish
J. Holden wrote: I am looking to use v.net.path to determine the distance of many different points to many different other points on a network. Is it possible to send multiple parameters to v.net.path? For instance, I have (in theory) 4 points connected to a network. I want to find the

Re: [GRASS-user] Multiple v.net.path parameters

2009-06-30 Thread J. Holden
Well, I will have a database with thousands of points and I don't want to create thousands of vector files. Plus, I'm worried I will lose the length data if I use v.patch, which is what I am most interested in. I will contact Daniel. Thanks for the tip. Cheers, John --- On Tue, 6/30/09,