Re: [GRASS-user] loss of bash aliases

2008-03-06 Thread Philipp Steigenberger
Hamish schrieb: Dylan: I have the following line in my .bashrc: alias l='ls -lh --color=auto' After I start a GRASS session this alias seems to go away. Is there anyway to respect user customization (i.e. .bashrc) when initializing GRASS? Or is this a user-related error? GRASS's Init.sh

[GRASS-user] (no subject)

2008-03-06 Thread Lukas Rohrer
Hello and thanks for your input Is it possible to draw a Profile based on a digital hight model and a selectet line? Sincerely Lukas -- -- Arbeit: Tel: +41 44 632 55 98 ETH Zürich Institut für terrestrische Ökosysteme Professur Waldökologie Universitätstrasse 22 CH-8092 Zürich privat: Lukas

Re: [GRASS-user] (no subject)

2008-03-06 Thread Andrea Ricci
Lukas Rohrer wrote: Hello and thanks for your input Is it possible to draw a Profile based on a digital hight model and a selectet line? Sincerely Lukas -- -- Arbeit: Tel: +41 44 632 55 98 ETH Zürich Institut für terrestrische Ökosysteme Professur Waldökologie Universitätstrasse 22 CH-8092

[GRASS-user] Re: Ongoing r.in.wms issue

2008-03-06 Thread [EMAIL PROTECTED]
Hamish, if you're ever in Sydney, I owe you a beer/wine/spirits/coffee. This worked. I can now hand off both the built-in scripts and the home-made WMS generic download script to my colleagues without the pangs of guilt! Thanks! Richard Hamish wrote: Richard Chirgwin wrote: here is all

[GRASS-user] Update - Check points in polygons

2008-03-06 Thread Corrado
Thanks a lot to all of you! To keep you up to date: METHOD1 1) v.in.ogr dsn=/home/ct529/Documents/Projects/UKBryophytes/Datasets/BRYOPHYTES/BRYOPHYTES/SSSI_vectors/ENGLAND.shp output=England_SSSI layer=ENGLAND min_area=0.0001 snap=-1 location=England_from_shapefile 2) v.clean

[GRASS-user] Re: Signature made by i.class not accessible?

2008-03-06 Thread Paula . Sankelo
Hi all, "are the signature files saved to the current directory, or in a folder off of the current directory; then if you change directory before trying the next module it won't be able to find them?" Whichever directory I'm working in, the signature files are always saved under the image

[GRASS-user] Re: Using GRASS to solve the Checking if a point (X, Y) is inside the, polygons of a shape file using command line.

2008-03-06 Thread Hamish
Corrado wrote: Where do I find these files, like poly.c? I cannot find them on my installation. I have 6.2.3 on Ubuntu 7.10, with the grass-dev package installed. Do I have to use python? I thought I could use a bash script. I was meaning fundamentally those functions are present in

Re: [GRASS-user] (no subject)

2008-03-06 Thread Hamish
Lukas Rohrer wrote: Is it possible to draw a Profile based on a digital hight model and a selectet line? sure, see r.profile and r.transect modules. If your line is already a vector line and not just a collection of coordinates, you could use 'v.out.ascii format=standard' first to get the

RE: [GRASS-user] loss of bash aliases

2008-03-06 Thread Patton, Eric
Hamish: FWIW, my .grass.bashrc has: .. /home/hamish/.alias export HISTSIZE=3000 Thank you! I was trying to think of what that variable name was to extend my mapset history beyond 500 records. # first GRASS instance gets set a low priority (because we can) NUMGRASSES=`pgrep -c Init.sh` if [

[GRASS-user] Starspan/GRASS question

2008-03-06 Thread Thomas Adams
List: My apologies for the background info. leading-up to my question… I've seen mention of starspan previously and now I think it's time for me to learn more. Let me pose a problem to you to see if starspan would be of help. I am working on a modeling project with a couple of other people

[GRASS-user] get x,y from gravity point of a centroid

2008-03-06 Thread christian Brandt
Dear list, how can I get the x,y -coordinates from the gravity point of a centroid ? Regards Chris _ Express yourself instantly with MSN Messenger! Download today it's FREE!

[GRASS-user] Re: Update - Check points in polygons

2008-03-06 Thread John C. Tull
That's great to hear. If there is to be a complaint about open source, it would be that there are many great ways to achieve the same result. Of course, this is actually a compliment. You will find the environment that you are most comfortable working in and develop your own solutions. If

Re: [GRASS-user] Starspan/GRASS question

2008-03-06 Thread Jonathan Greenberg
So if I understand this correctly, you have some polygon surface that defines the extent of your subbasin, which you want to use to query and summarize the raster values falling within it (e.g. precip and temp), correct? How are you doing it currently? The main speedup that starspan gets you

Re: [GRASS-user] Starspan/GRASS question

2008-03-06 Thread Thomas Adams
Jonathan, I think you have the problem correct. Attached is a gif image that shows my 686 subbasins (polygons) in green. I need to get average values of temperature precipitation for each of the polygon areas for numerous rasters. From the values, I then generate the time series files for

[GRASS-user] Re: Update - Check points in polygons

2008-03-06 Thread Corrado
Dear John, I have used postgis to load a shapefile into the postgres database, by means of shp2pgsql. When I then start grass, how could I can connect to the databse, but I do not understand how to generate a vector map from the postgis table. Any help? Best Regards -- Corrado Topi Global

[GRASS-user] Re: Update - Check points in polygons

2008-03-06 Thread John C. Tull
I have not found a way to work directly with postgis tables. You can use v.in.ogr like this: v.in.ogr dsn=PG:dbname=your_postgis_db host=yourhost layer=table_from_postgis out=new_layer You then have the postgis table available as a layer in grass, but you will not be able to edit it

Re: [GRASS-user] a few suggestions and questions

2008-03-06 Thread Dylan Beaudette
On Wednesday 05 March 2008, Jarek Jasiewicz wrote: Dylan Beaudette wrote: On Monday 03 March 2008, Jarosław Jasiewicz wrote: Nikos Alexandris pisze: On Mon, 2008-03-03 at 22:52 -0300, Carlos Guâno Grohmann wrote: Hello all [...] is plan curvature in r.param.scale broken? I can't

Re: [GRASS-user] I need help

2008-03-06 Thread Nikos Alexandris
On Thu, 2008-03-06 at 13:18 +0100, Raonel wrote: Hi Raonel! I have already discharged the installer of Grass but I am not able to install it. I have the manual but I don't understand the form that they explain as making it Which operating system do you use? Which version of GRASS are you

Re: [GRASS-user] I need help

2008-03-06 Thread Nikos Alexandris
On Thu, 2008-03-06 at 14:07 +0100, Raonel wrote: Nikos Alexandris escribió: On Thu, 2008-03-06 at 13:18 +0100, Raonel wrote: Hi Raonel! I have already discharged the installer of Grass but I am not able to install it. I have the manual but I don't understand the form that they

Re: [GRASS-user] I need help

2008-03-06 Thread Philipp Steigenberger
Nikos Alexandris schrieb: On Thu, 2008-03-06 at 14:07 +0100, Raonel wrote: Nikos Alexandris escribió: On Thu, 2008-03-06 at 13:18 +0100, Raonel wrote: Hi Raonel! I have already discharged the installer of Grass but I am not able to install it. I have the manual but I

Re: [GRASS-user] I need help

2008-03-06 Thread Nikos Alexandris
On Thu, 2008-03-06 at 23:09 +0100, Philipp Steigenberger wrote: [...] Hola Raonel, bien venido al mundo GRASS aquí una lista de difusión en español: http://lists.osgeo.org/mailman/listinfo/grass-es quizá vas a encontrar ayuda por allá. swich to inglés... You have to unpack

[GRASS-user] Writing recode rules into a Postgres Database

2008-03-06 Thread William Hudspeth
Hello, I would like to explain the problem I am trying to solve. I begin with importing a shapefile of county boundaries into a GRASS vector map. I then convert the vector map into a raster map using a county ID code in the vector map attributes. What I get is a raster map with pixels coded into

Re: [GRASS-user] I need help

2008-03-06 Thread Paul Kelly
On Thu, 6 Mar 2008, Paul Kelly wrote: On Thu, 6 Mar 2008, Philipp Steigenberger wrote: I execute the command sh grass6install.sh grass-6.2.2.tar.gz_Linux_bin.tar.gz and he doesn't find the directory. Can you give the exact command-line you typed, and the exact error mesage (copied and

Re: [GRASS-user] I need help

2008-03-06 Thread Philipp Steigenberger
Paul Kelly wrote: On Thu, 6 Mar 2008, Paul Kelly wrote: On Thu, 6 Mar 2008, Philipp Steigenberger wrote: I execute the command sh grass6install.sh grass-6.2.2.tar.gz_Linux_bin.tar.gz and he doesn't find the directory. Can you give the exact command-line you typed, and the exact error