[GRASS-user] RE: Hidrological network (ALT SHN)

2012-01-30 Thread Shane Litherland
Hi Andr, You mention that you have streams of different 'order', does that mean you have a table connected with a column containing a value for each bit of stream (e.g. the river and tributaries are a combination of vector lines, and each line between one stream junction and the next has a 'stream

Re: [GRASS-user] Re: GRASS-user] how to report/measure a vector area?

2012-01-30 Thread Shane Litherland
Hi all, yes,yesYES thank you for your inputs :-) it was a simple case of me not having a table with the info in to start with, so once i remedied that with v.to.db (hello old friend, where have you been hiding?) reports and map queries were a breeze, as well as easy calculations directly on the ta

Re: [GRASS-user] help me, please

2012-01-30 Thread Hamish
albertsaribekyan wrote: > GRASS 6.3.0 (spearfish60):/home/GRASSDATA > g.manual -i > > appeared this error > > Starting browser for module index... > ERROR: The browser does not exist. Please > reconfigure. try this: echo "export GRASS_HTML_BROWSER=firefox" >> ~/.grass.bashrc and restart GR

Re: [GRASS-user] Re: Hidrological network

2012-01-30 Thread Hamish
André: > Is it possible to test tha tool through QGIS? [v.strahler] you'd have to make a .qgm file for it, see in the qgis source code for examples: trunk/src/plugins/grass/modules-common/ and add an entry in: trunk/src/plugins/grass/config/default.qgc (or if installed from a package alread

Re: [GRASS-user] Re: i.pr --> g.extension and compiling error on ubuntu 11.10 64 bit

2012-01-30 Thread Hamish
Gabriele wrote: > but ... > #configure > sudo CFLAGS="-g -Wall" ./configure > --prefix=/usr/local/src/grass6_devel > --with-cxx --with-python --with-widgets > --with-wxwidgets > --with-freetype=yes --with-ffmpeg=yes --with-postgres=yes > --with-sqlite > --with-motif=no --with-glw=no --enable-large

Re: [GRASS-user] r.reclass and "Abort trap"

2012-01-30 Thread Hamish
DGann wrote: > I am a fairly new GRASS user who recently shifted to a Mac computer (Lion > OS). The program seems to run well on the new platform for the most part, > although periodically a line of working code, when copied and pasted > directly from the GUI (layer manager) to the command termina

Re: [GRASS-user] Re: Hidrological network

2012-01-30 Thread ALT SHN
Thank you for your suggestions. It seems I will be having a hard time!! @Jarek - The vector has a good topology (I tested the topology using the layer to run a simple nearest path analysis and it worked, so I assume it's ok) I checked the attribute table and it has hundreds of objects and only two

[GRASS-user] Re: i.pr --> g.extension and compiling error on ubuntu 11.10 64 bit

2012-01-30 Thread Gabriele N.
Markus Neteler wrote > > On Mon, Jan 30, 2012 at 11:16 PM, Gabriele N. wrote: >> Ciao. >> I have installed GRASS (6.4.1) from the repository and I can not install >> i.pr (add-on). >> With g.extension > > ... unfortunately 6.4.1 is too old in a sense that on Ubuntu problems are > known

Re: [GRASS-user] i.pr --> g.extension and compiling error on ubuntu 11.10 64 bit

2012-01-30 Thread Markus Neteler
On Mon, Jan 30, 2012 at 11:16 PM, Gabriele N. wrote: > Ciao. > I have installed GRASS (6.4.1) from the repository and I can not install > i.pr (add-on). > With g.extension ... unfortunately 6.4.1 is too old in a sense that on Ubuntu problems are known. They have been resolved (hopefully) since th

[GRASS-user] r.reclass and "Abort trap"

2012-01-30 Thread DGann
I am a fairly new GRASS user who recently shifted to a Mac computer (Lion OS). The program seems to run well on the new platform for the most part, although periodically a line of working code, when copied and pasted directly from the GUI (layer manager) to the command terminal, will produce an er

[GRASS-user] i.pr --> g.extension and compiling error on ubuntu 11.10 64 bit

2012-01-30 Thread Gabriele N.
Ciao. I have installed GRASS (6.4.1) from the repository and I can not install i.pr (add-on). With g.extension (with the script downloaded from http://trac.osgeo.org/grass/browser/grass/branches/releasebranch_6_4/scripts/g.extension/g.extension) and also g.extension present in my installation of G

Re: [GRASS-user] Re: Hidrological network

2012-01-30 Thread Jarek Jasiewicz
On 01/30/2012 04:32 PM, Helmut Kudrnovsky wrote: André wrote: I Have a vector layer with all the rivers, and subsidiaries up to the smallest water lines. However I need to simplify this layer in order that it only shows the main rivers and first, second and third order tributary water lines. An

[GRASS-user] Re: Hidrological network

2012-01-30 Thread Helmut Kudrnovsky
>André wrote: >> I Have a vector layer with all the rivers, and >> subsidiaries up to the smallest water lines. >> However I need to simplify this layer in order that >> it only shows the main rivers and first, second and >> third order tributary water lines. >> >> Any hints on how to achieve this?

Re: [GRASS-user] Hidrological network

2012-01-30 Thread Hamish
André wrote: > I Have a vector layer with all the rivers, and > subsidiaries up to the smallest water lines. > However I need to simplify this layer in order that > it only shows the main rivers and first, second and > third order tributary water lines. > > Any hints on how to achieve this? try t

Re: [GRASS-user] Re: GRASS-user] how to report/measure a vector area?

2012-01-30 Thread Hamish
Michael wrote: >>> v.report Ismael wrote: >> v.to.db Michael: > Yes. The cool (and sometimes confusing) thing > about GRASS is that often there are several ways > of getting the result you want. n.b. in this case v.report is just a more obvious wrapper-frontend to v.to.db. Hamish _

Re: [GRASS-user] Re: GRASS-user] how to report/measure a vector area?

2012-01-30 Thread Michael Barton
Yes. The cool (and sometimes confusing) thing about GRASS is that often there are several ways of getting the result you want. Michael C. Michael Barton Director, Center for Social Dynamics & Complexity Professor of Anthropology, School of Human Evolution & Social Change Ari

[GRASS-user] Re: help me, please

2012-01-30 Thread Helmut Kudrnovsky
>when I enter the >GRASS 6.3.0 (spearfish60):/home/GRASSDATA > g.manual -i please can you report which operating system you are using? GRASS 6.3.0 is really quite old, there are newer versions available, see http://grass.osgeo.org/download/software.php so if it's possible try to upgrade to a n

Re: [GRASS-user] Re: GRASS-user] how to report/measure a vector area?

2012-01-30 Thread Ismael Gómez
Hi, sth like this can also be of help: v.db.addcol map=yourVectorMap column="area_size double precision" v.to.db map=yourVectorMap type=centroid option=area units=h column=area_size Regards On Mon, Jan 30, 2012 at 6:44 PM, Michael Barton wrote: > Use v.report - under the vector/reports menu >

Re: [GRASS-user] v.generalize: strange behaviour on win?

2012-01-30 Thread Markus Neteler
On Mon, Jan 30, 2012 at 4:56 PM, Paolo Cavallini wrote: > Il 30/01/2012 16:35, Markus Metz ha scritto: > >> My previous description was obviously incomplete. Output topology is >> always correct, independent of the version. In 6.4.1, topologically > > Thanks Markus, this clarifies the issue a lot.

[GRASS-user] help me, please

2012-01-30 Thread albertsaribekyan
when I enter the GRASS 6.3.0 (spearfish60):/home/GRASSDATA > g.manual -i appeared this error Starting browser for module index... ERROR: The browser does not exist. Please reconfigure. thank's.. -- . ___ grass-user mailing list grass-user@lists.o

[GRASS-user] Re: GRASS-user] how to report/measure a vector area?

2012-01-30 Thread Michael Barton
Use v.report - under the vector/reports menu Michael C. Michael Barton Director, Center for Social Dynamics & Complexity Professor of Anthropology, School of Human Evolution & Social Change Arizona State University voice: 480-965-6262 (SHESC), 480-727-9746 (CSDC) fax:

[GRASS-user] Hidrological network

2012-01-30 Thread ALT SHN
Hello, I Have a vector layer with all the rivers, and subsidiaries up to the smallest water lines. However I need to simplify this layer in order that it only shows the main rivers and first, second and third order tributary water lines. Any hints on how to achieve this? Best Regards, André Man

Re: [GRASS-user] v.generalize: strange behaviour on win?

2012-01-30 Thread Paolo Cavallini
Il 30/01/2012 16:35, Markus Metz ha scritto: > My previous description was obviously incomplete. Output topology is > always correct, independent of the version. In 6.4.1, topologically Thanks Markus, this clarifies the issue a lot. All the best. -- Paolo Cavallini - Faunalia www.faunalia.eu Ful

Re: [GRASS-user] v.generalize: strange behaviour on win?

2012-01-30 Thread Markus Metz
On Sun, Jan 29, 2012 at 1:12 PM, Paolo Cavallini wrote: > Il 28/01/2012 11:58, Markus Metz ha scritto: > >> are left have mixed up attributes. That was fixed such that boundaries >> are not generalized if the generalization would damage topology. For > > > OK, now I see. I think adding a warning i

Re: [GRASS-user] how to report/measure a vector area?

2012-01-30 Thread Shane Litherland
Thanks Micha, I've used v.to.db a bit, just not recently enough to remember that was my answer! Thanks for your tips/reminder, I should be OK in getting it to happen for me now :-) If you don't hear from me again on this, I've succeeded. regards, shane. On Mon, 2012-01-30 at 10:01 +0200, Micha

Re: [GRASS-user] how to report/measure a vector area?

2012-01-30 Thread Micha Silver
On 30/01/2012 09:52, Shane Litherland wrote: Hi all, I'm lost. I have looked around in GRASS for how to report the area (e.g. in hectares) for a vector map that, yes, has area (i.e. centroids and boundaries). I cannot find a way to do this. A bit of web searching, even gave