Re: [GRASS-user] add a centroid in the center of polygon

2014-01-27 Thread Milton Ribeiro
Hi Moritz I agree that a flag would be a good way .. Best wishes miltinho 2014-01-27, Moritz Lennert : > On 25/01/14 12:52, Markus Metz wrote: >> On Sat, Jan 25, 2014 at 12:27 PM, Markus Neteler >> wrote: >>> On Sat, Jan 25, 2014 at 12:08 PM, Markus Metz >>> wrote: On Sat, Jan 25, 2014 at

[GRASS-user] R: Python script works with Qgis but not in Grass

2014-01-27 Thread davidesponchi...@alice.it
"Directory 'C:\Users\Davide\Documents\" is not defined in GRASS_ADDON_PATH. Do you want add this directory to GRASS_ADDON_PATH? I think that's what you meaning... Messaggio originale Da: enrico.ga...@gmail.com Data: 27-gen-2014 13.52 A: "GRASS user list" Ogg: [GRASS-user] Python

[GRASS-user] Python script works with Qgis but not in Grass

2014-01-27 Thread Enrico Gallo
Dear list, this problem has already reported for grass 7 [0] (still without a solution?) I am not a Python expert, but accordind to [1] the problem seems due to Unicode string management. Davide, I suppose the script path used with Grass is:something like this: C:\[...]\QGIS Dufour\apps\grass\g

Re: [GRASS-user] how to draw line with arrow mark to line top (tip)

2014-01-27 Thread Hamish
sgw00...@nifty.com a écrit : > I do not find how to draw line with arrow mark to line top (tip). I'm not sure if it matches your needs or not, but see also d.rast.arrow and the d.barb addon (d.barb can take either raster or vector maps as input); for a single arrow symbol the d.mark addon scr

[GRASS-user] Python script works with Qgis but not in Grass

2014-01-27 Thread Davide Sponchiado
Hello to everyone, i got Windows 8 with QGIS Dofour 2.0.1 e Grass 6.4.3 on my PC. I got no problem when i run my script on Qgis but i need to fix some problems inside it and Qgis doesn't show you any log errors so i need to use Grass. When i launch it some errors happens: Launching script 'C

[GRASS-user] Transforming raster lines to vectors with correct segment attributes

2014-01-27 Thread Johannes Radinger
Hi, I have a raster river (processed with r.thin) which I want to transfrom to a vector. Therefore I use r.to.vect with the lines option. However, the raster has two different values representing e.g. habitat quality (good/bad) for single segments (group of raster cells). This information is writt

Re: [GRASS-user] add a centroid in the center of polygon

2014-01-27 Thread Moritz Lennert
On 25/01/14 12:52, Markus Metz wrote: On Sat, Jan 25, 2014 at 12:27 PM, Markus Neteler wrote: On Sat, Jan 25, 2014 at 12:08 PM, Markus Metz wrote: On Sat, Jan 25, 2014 at 12:10 AM, Milton Ribeiro wrote: Dear all, I have a polygon vector, and need to add point in the center of mass of each