Re: [GRASS-user] ps.map legend with rgbcolumn colors

2010-03-03 Thread Hamish
Hamish: > (this exposes a bug in the ps.map categorical legend > though! the fill colors get rearranged!) fixed in svn. Hamish ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

[GRASS-user] Calculation of exitance angle

2010-03-03 Thread andrew haywood
Dear List, We are currently working on normalising some landsat scenes using a topographic and illumination correction. We have calculated the solar incidence angle using a dem and r.sun. We are now looking to calculate the existance angle for Landsat. Has anybody have advice on how to calculate t

Re: [GRASS-user] grass shell

2010-03-03 Thread maven apache
Thanks for your quick reply and sorry for my late coming since I has been testing the grass command 2010/3/4 Glynn Clements > > maven apache wrote: > > > I want to know the shell used by grass when run it in command line ? > > It uses the shell specified by $SHELL. > > > Because I met a pr

Re: [GRASS-user] grass shell

2010-03-03 Thread Glynn Clements
maven apache wrote: > I want to know the shell used by grass when run it in command line ? It uses the shell specified by $SHELL. > Because I met a problem when I tried to call grass in my java web > application,the output of the same cmd are different. > Details: > I use the grass-batch-job m

Re: [GRASS-user] can I access mapset outside of grass, by using python?

2010-03-03 Thread Glynn Clements
Νίκος Αλεξανδρής wrote: > I've set-up my system based on your detailed descriptions/instructions > below (old post) using grass64. > > 1. Would you mind sharing in addition the way you change between > mapsets/locations? Do you start a new shell session after re-defining > somehow the variabl

Re: [GRASS-user] ps.map legend with rgbcolumn colors

2010-03-03 Thread Hamish
Luigi Ponti wrote: > I haven't been able to find this in previous discussions > but it seems like a trivial yet impossible (for me) to solve > thing. (Running grass6.4-svn windows standalone installer > win7.) (it needs to be explained better in the docs.) > I am trying to get a ps.map using an

Re: [GRASS-user] can I access mapset outside of grass, by using python?

2010-03-03 Thread Νίκος Αλεξανδρής
Hi Glynn! I've set-up my system based on your detailed descriptions/instructions below (old post) using grass64. 1. Would you mind sharing in addition the way you change between mapsets/locations? Do you start a new shell session after re-defining somehow the variables LOCATION_NAME or/and MAPSE

Re: [GRASS-user] How to embed a grass script (for example v.db.addcol) into a Pythonscript on windows?

2010-03-03 Thread Glynn Clements
Sonja Jankowfsky wrote: > Thanks, but the data type doesn't change that's a shell script. I still > have the same error message: (sorry, it's in french, but it says as much > as v.db.addcol is not a executable program or a bat file). > > I tried as well os.system("v.db.addcol map=ditch columns

Re: [GRASS-user] How to embed a grass script (for example v.db.addcol) into a Pythonscript on windows?

2010-03-03 Thread Glynn Clements
Sonja Jankowfsky wrote: > I'm using the winGRASS 6.4. standalone version. I guess the problem is > that the scripts are in shell language, compared to the .exe files of > for example v.build.polylines. In this case, it's a problem with the arguments to v.db.addcol, as Martin has pointed out.

Re: [GRASS-user] Global Multi Resolution Topography dataset

2010-03-03 Thread John C. Tull
Hi John, This is good to know about. Thanks for sharing. My understanding of 1 arc-second resolution is that it is approximately 30m, not 90m. Regards, John On Mar 3, 2010, at 7:16 AM, John A Stevenson wrote: > I've just come across the Global Multi Resolution Topography dataset. It > combi

Re: [GRASS-user] ps.map legend with rgbcolumn colors

2010-03-03 Thread Rich Shepard
On Wed, 3 Mar 2010, Luigi Ponti wrote: I haven't been able to find this in previous discussions but it seems like a trivial yet impossible (for me) to solve thing. Luigi, I think you missed my question on the same subject from late last week. raster shadedRelief I would like to print a

[GRASS-user] ps.map legend with rgbcolumn colors

2010-03-03 Thread Luigi Ponti
Hi there, I haven't been able to find this in previous discussions but it seems like a trivial yet impossible (for me) to solve thing. (Running grass6.4-svn windows standalone installer win7.) I am trying to get a ps.map using an input file like the following: # ps.map input file border y

Re: [GRASS-user] How to embed a grass script (for example v.db.addcol) into a Pythonscript on windows?

2010-03-03 Thread Sonja Jankowfsky
Thanks, but the data type doesn't change that's a shell script. I still have the same error message: (sorry, it's in french, but it says as much as v.db.addcol is not a executable program or a bat file). I tried as well os.system("v.db.addcol map=ditch columns='urban int'"), but it's the same.

Re: [GRASS-user] Fuzzy logic in GRASS

2010-03-03 Thread Jarosław Jasiewicz
Thanks Rich! ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] How to embed a grass script (for example v.db.addcol) into a Pythonscript on windows?

2010-03-03 Thread Martin Landa
Hi, 2010/3/3 Sonja Jankowfsky : > grass.run_command("v.db.addcol", map='ditch_l',  columns='urban') specify data column type, e.g. grass.run_command("v.db.addcol", map='ditch_l', columns='urban int') Martin -- Martin Landa * http://gama.fsv.cvut.cz/~landa __

[GRASS-user] How to embed a grass script (for example v.db.addcol) into a Pythonscript on windows?

2010-03-03 Thread Sonja Jankowfsky
Hi! I'm writing a python script which calls different grass functions. import os import grass.script as grass grass.run_command("v.build.polylines", input='ditch', output='ditch_1', cat='first', overwrite=True) this all works nice. But, when I try to call a grass script grass.run_command("v.d

Re: [GRASS-user] Fuzzy logic in GRASS

2010-03-03 Thread Rich Shepard
On Wed, 3 Mar 2010, Jaros?aw Jasiewicz wrote: Hedges come in a range of degrees of strength. 'Slightly' is a different hedge from 'very', for example. This is not hedge, it is value which I replace 2 in formula sin^2 *x for standard sigmoid boundary. If parameter is 0 the exponent is 2 on

[GRASS-user] Global Multi Resolution Topography dataset

2010-03-03 Thread John A Stevenson
I've just come across the Global Multi Resolution Topography dataset. It combines multibeam sonar with satellite bathymetry to produce a DEM of the oceans, and uses SRTM for the land. Data can be downloaded at ~1 arcsecond resolution (~90 m). I've put links and more information on the wiki:

Re: [GRASS-user] Fuzzy logic in GRASS

2010-03-03 Thread Jarosław Jasiewicz
Rich Shepard pisze: On Wed, 3 Mar 2010, Jaros?aw Jasiewicz wrote: There are at least however on problem: r.fuzzy for GRASS exist and not exist (by Francois Delclaux). I tried to contact with author but it failed and module is not available from add-on web page. For now I leave name r.fuzzy,

Re: [GRASS-user] Fuzzy logic in GRASS

2010-03-03 Thread Rich Shepard
On Wed, 3 Mar 2010, Jaros?aw Jasiewicz wrote: There are at least however on problem: r.fuzzy for GRASS exist and not exist (by Francois Delclaux). I tried to contact with author but it failed and module is not available from add-on web page. For now I leave name r.fuzzy, but if it could be th

[GRASS-user] grass env

2010-03-03 Thread maven apache
Now I found another question, if I want to get the output of some grass command,so can I still use the grass batch job manner? 2010/3/3 maven apache > Hi: > I found that the grassBatchJob is so excited that I like it,however I > wonder that each time a user who want to run grass in my web appli

[GRASS-user] Fuzzy logic in GRASS

2010-03-03 Thread Jarosław Jasiewicz
Hi list I added to SVN-ADD-ON repository two new modules: r.fuzzy: calculates membership of image according mempership function definied by user with 4 inflection poin and some addationa parameters (see description) r.fuzzy.logic perform fuzzy logic operations (OR, AND, NOT and implication)

Re: [GRASS-user] sistemi di coordinate& proiezioni

2010-03-03 Thread Alfredo Alessandrini
> Il 02 marzo 2010 23.35, Matteo Toro ha scritto: > è possibile digitare il comando da terminale una sola volta per tutte le > carte, oppure anche se non utilizzo il gui, il comando nel >terminal va > ripetuto per ogni singolo .tif? > > Siccome penso di essermi perso, vi prego di darmi una mano