I get the following error when I use v.in.lines in a Python Script in Windows (sorry):<div><br></div><div><div>"<b>C:\Program Files\GRASS 6.4.2\scripts\v.in.lines: 126: v.in.mapgen: command not found</b>"</div><div>
<br></div><div>My script It's quite simple:</div><div><br></div><div><b>import grass.script as g</b></div><div><b>g.run_command('v.in.lines', input='points.txt', output='contour')<br></b></div>
</div><div><b><br></b></div><div>And my point.txt file:</div><div><br></div><div><div>-71.20805823448374|-30.59771251456061</div><div>-71.20765621447394|-30.59745831224444</div><div>-71.20736018153805|-30.59778541778508</div>
<div>-71.20648094588758|-30.59723716721055</div><div>-71.20723941992262|-30.59621434252238</div><div>-71.20833309148421|-30.59734839427609</div><div>-71.20805823448374|-30.59771251456061</div></div><div><br></div><div>Others commands work find (like v.in.ascii)... and v.in.mapgen is in the folder.</div>
<div><br></div><div>Any idea?</div><div><br clear="all"><div><b>Andrés Silva Marambio</b><br>Ingeniero Agrónomo, Mención en Gestión Ambiental<br>Pontificia Universidad Católica de Valparaíso<br></div><br>
</div>