[GRASS-user] new module: r.surf.volcano

2009-04-20 Thread Hamish
Hi, I just added a new module to the wiki addons page: r.surf.volcano It creates an artificial surface resembling a seamount or cone volcano. The user can alter the size and shape of the mountain and optionally roughen its surface. http://grass.osgeo.org/wiki/GRASS_AddOns#r.surf.volcano http://t

Re: [GRASS-user] new module: r.surf.volcano

2009-04-20 Thread Martin Landa
Hi Hamish, 2009/4/20 Hamish : > It's a shell script and requires GRASS 6.3.0 or newer. > I'm using it for testing hydrodynamic flow models and r.sun. thanks for your the contribution! Just one note or topic for discussion: does make sense to write new scripts in Bash and not in Python? Martin -

Re: [GRASS-user] new module: r.surf.volcano

2009-04-20 Thread Hamish
Martin wrote: > thanks for your the contribution! Just one note or topic > for discussion: does make sense to write new scripts in Bash > and not in Python? only if I need it in a hurry and my python isn't as good as my shell scripting :) but generally you are right, python scripts will be bett

[GRASS-user] Re: v.what problem (OS X)

2009-04-20 Thread Cline, Royce L.
I have the same problem that Adam Dershowitz reported. Using the Map Display query button on a vector results in the TclTk GUI crashing. If I run db.connect from the Database menu before doing the query, then the query works. This is with 6.4RC4 from William Kyngesburye, with latest frameworks. Thi

[GRASS-user] adding labels to a map

2009-04-20 Thread Andrew Lewin
Hi Everyone, I am trying to display labels for a layer; however, when I use the GUI to add the labels, it shows labels for each centroid instead of the polygons that I want. The layer is the Southern US and I want to display state names (1 name for each state); however, the label is base

[GRASS-user] ascii dem opening?

2009-04-20 Thread espiritoCZ
Hallo GRASS forum. I am very sorry, but I still cannot find a solution for my problem (as I am still only a beginner in GRASS GIS), can you give me some advice please? I need to open a simple ascii dem in grass (and save it as a raster file), but I still don't have a luck for this. The file struct

Re: [GRASS-user] new module: r.surf.volcano

2009-04-20 Thread Dylan Beaudette
On Mon, Apr 20, 2009 at 3:01 AM, Hamish wrote: > > Martin wrote: >> thanks for your the contribution! Just one note or topic >> for discussion: does make sense to write new scripts in Bash >> and not in Python? Excellent contribution. I''ll give it a try when I get into the office. > > > only if

Re: [GRASS-user] ascii dem opening?

2009-04-20 Thread Markus Neteler
On Mon, Apr 20, 2009 at 4:48 PM, espiritoCZ wrote: > > Hallo GRASS forum. > I am very sorry, but I still cannot find a solution for my problem (as I am > still only a beginner in GRASS GIS), can you give me some advice please? > I need to open a simple ascii dem in grass (and save it as a raster f

[GRASS-user] v.label.sa

2009-04-20 Thread Adam Dershowitz
I noticed that v.label.sa is not being built by default. But that it is in the release brach of the 6.4 source. I was able to download it and get it to build, however. It is not included for a specific reason? Was there an oversight, or is anything that I should be aware of for this modu

Re: [GRASS-user] v.label.sa

2009-04-20 Thread Markus Neteler
Adam, On Mon, Apr 20, 2009 at 9:51 PM, Adam Dershowitz wrote: > I noticed that v.label.sa is not being built by default.  But that it is in > the release brach of the 6.4 source.  I was able to download it and get it > to build, however. > > It is not included for a specific reason?  Was there an

Re: [GRASS-user] new module: r.surf.volcano

2009-04-20 Thread Hamish
Dylan Beaudette wrote: > Possible stupid question: do we have a standardized Python > script template, something like the old shell-style template? Possible stupid answer: because unix scripting and python both use '#' as the comment character, 'g.module --script' will create a script template fo

Re: [GRASS-user] ascii dem opening?

2009-04-20 Thread Hamish
espiritoCZ wrote: > > The file structure is very simple: > > X [tab] Y [tab] Z > > (e.g.: > > 23.3375     45.8959      -2.345 > > ..) Markus: > I have tried the line you have indicated and stored it as > file points.csv. Then imported with: > > v.in.ascii -z in=points.csv out=points3d x=1 y=

Re: [GRASS-user] r.patch not working

2009-04-20 Thread Renae Mackas
Michael Barton wrote: > > > > On Apr 15, 2009, at 12:46 AM, > > wrote: > >> Renae, >> >> On Wed, Apr 15, 2009 at 7:16 AM, Renae Mackas wrote: >>> >>> Hello GRASS users- >>> >>> I am trying to mosaic colourcomposites from LANDSAT images. A few >>> weeks ago, I had luck doing this using

grass going to python scripting (was Re: [GRASS-user] new module: r.surf.volcano)

2009-04-20 Thread maning sambale
another possible stupid questions: Am I right that GRASS 7 will use Python as the scripting language, therefore, unix shell scripting won't be supported anymore? Should I start learning Python now? Should I port my scripts to Python? Will a new GRASS book include Python script samples? On Tue, Ap

Re: [GRASS-user] new module: r.surf.volcano

2009-04-20 Thread Dylan Beaudette
On Mon, Apr 20, 2009 at 8:53 PM, wrote: > Hamish wrote: >> I just added a new module to the wiki addons page: >> r.surf.volcano >> >> It creates an artificial surface resembling a seamount or cone volcano. >> The user can alter the size and shape of the mountain and optionally >> roughen its surf

Re: grass going to python scripting (was Re: [GRASS-user] new module: r.surf.volcano)

2009-04-20 Thread Michael Barton
GRASS doesn't really support or not support any platform with respect to scripting. The nice thing about modular GRASS is that you can call its modules from many different scripting and programming platforms. So AFAIK, GRASS will continue to work with bash on platforms that support it--primarily L

Re: [GRASS-user] new module: r.surf.volcano

2009-04-20 Thread Michael Barton
This is very cool Hamish Michael On 4/20/09 8:53 PM, "hamis...@yahoo.com" wrote: > Hamish wrote: >> I just added a new module to the wiki addons page: >> r.surf.volcano >> >> It creates an artificial surface resembling a seamount or cone volcano. >> The user can alter the size and shape of th

Re: grass going to python scripting (was Re: [GRASS-user] new module: r.surf.volcano)

2009-04-20 Thread maning sambale
Thanks Michael > GRASS will continue to work with bash on platforms that support > it--primarily Linux and Unix. This gives me a sigh of relief at the moment > However, we are using Python for the GUI now and Python has a number of > advantages over bash for scripting. It is a full-featured prog