<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Thanks for your answer, Anna :) I'm not sure about <g.region> stuff, but I'm ready to upload scripts to grass-addons SVN.<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-04-05 21:33 GMT+03:00 Anna Petrášová <span dir="ltr"><<a href="mailto:kratochanna@gmail.com" target="_blank">kratochanna@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello,<br><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Sun, Apr 5, 2015 at 5:02 AM, Alexander Muriy <span dir="ltr"><<a href="mailto:amuriy@gmail.com" target="_blank">amuriy@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div style="font-family:arial,helvetica,sans-serif">Hello all!<br></div><div style="font-family:arial,helvetica,sans-serif">I have corrected and adapted to recent GRASS versions (6.4.* and 7.0) the script of Antonio Alliegro "tin.to.raster".<br><br></div><div style="font-family:arial,helvetica,sans-serif">These are 2 separate scripts for 6.4.* and 7.0:<br><a href="https://github.com/amuriy/GRASS-scripts/blob/master/Python/v.tin.to.rast_G64.py" target="_blank">https://github.com/amuriy/GRASS-scripts/blob/master/Python/v.tin.to.rast_G64.py</a><br><a href="https://github.com/amuriy/GRASS-scripts/blob/master/Python/v.tin.to.rast_G70.py" target="_blank">https://github.com/amuriy/GRASS-scripts/blob/master/Python/v.tin.to.rast_G70.py</a><br><br></div><div style="font-family:arial,helvetica,sans-serif">Could you test them, please? Maybe some errors or enhancements? Thanks in advance!<br></div></div></blockquote><div><br></div></div></div><div>thank you for your contribution. I tried the G7 version and works great, just fix please the clean up, you use old g.remove interface, it should be:</div><div>grass.run_command('g.remove', type='raster', name=tmp).</div><div><br></div><div>Also I would remove stderr = nuldev from all run_commands, not sure why they are there.</div><div><br></div><div>Have you considered uploading the scripts in the official GRASS addons repository? It would be easier for people to install it then. And it could be maintained by other developers too.</div><div><a href="http://trac.osgeo.org/grass/wiki/HowToContribute#WriteaccesstotheGRASS-Addons-SVNrepository" target="_blank">http://trac.osgeo.org/grass/wiki/HowToContribute#WriteaccesstotheGRASS-Addons-SVNrepository</a><br></div><div><br></div><div>Cheers,</div><div><br></div><div>Anna</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div style="font-family:arial,helvetica,sans-serif"><div><br></div><div><span></span></div> <span lang="en"><span></span><span></span><span></span></span> </div></div>
<br>_______________________________________________<br>
grass-user mailing list<br>
<a href="mailto:grass-user@lists.osgeo.org" target="_blank">grass-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-user</a><br></blockquote></div><br></div></div>
</blockquote></div><br></div>