[GRASS-user] problem with v.rast.stats

2010-07-13 Thread Yvan Paillé
Hello, I'm using the last version of GRASS 6.4ORC6 for Windows. I have a problem when I'm using the v.rast.stats function. There is an error message about the script : v.rast.stats -c vector=cadas...@mercier raster=mntyzeron...@mercier colprefix=mnt C:/GRASS-64-SVN/scripts/v.rast.stats: lin

[GRASS-user] loop in python's script ?

2010-03-12 Thread Yvan Paillé
Hello I want to schedule a script in python. I must make a loop on each of my polygon attribute table and create a buffer on each selected object. My problem is that I can't select the objects of my attribute table with a loop. Do you have a general script that could help me find a solution a

[GRASS-user] error with a python's script

2010-03-08 Thread Yvan Paillé
Hi, I would like to integrate my commands in a Python script. I use Eclipse for development. Everything works fine in the GUI, but the same command, pasted to the command line, produces this: import os import grass.script as grass env = grass.gisenv() print env r = grass.read_command("g.list

[GRASS-user] bug or buffer for polygons impossible ?

2010-02-24 Thread Yvan Paillé
Hello, I try to create a buffer around a polygon with the following commande: v.buffer input=... output= distance=10 This creates the buffer visible in the following picture: http://dl.lyon.cemagref.fr/get?k=yQnyOaVULt3QQmOSSVa Why is the buffer not uniform? (Regarding the upper left corner,

[GRASS-user] import shell script in GRASS

2010-02-18 Thread Yvan Paillé
Hello, I want to install under WinGrass 6.4 with MSYS, a shell script that I found on the net (v.line.center). Does anyone have a simple tutorial to explain how to integrate this script in Grass by g.parser? Thank you in advance Yvan ___ grass-user m

[GRASS-user] clean nodes in topology

2010-02-18 Thread Yvan Paillé
Hello, I have a map with more polygons. The problem is that polygons have multiple nodes distributed randomly and no located at the intersecting polygons. Do you know a function to clean the topology without using manual editing? Thank you ___ grass-u

[GRASS-user] command echo?

2010-02-15 Thread Yvan Paillé
Hello, I try to test the different command in the tutorial Grass Book but I have a problem with the "echo" command. I work on the geometry operation and for the exercice about the split/join segment extraction, I don't know how to use "echo" and his values. I'm working with the Grass 6.4 SVN wi

[GRASS-user] to separate a polygon

2010-02-09 Thread Yvan Paillé
Hello, I would like to separate a polygon that represents a road network into several polygons or polylines. I do not know what functions to use to display vertices and nodes. Thank you in advance for answers that guide me. Yvan ___ grass-user mailin