<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.WordSection1
{page:WordSection1;}
--></style></head><body lang=ES link=blue vlink="#954F72"><div class=WordSection1><p class=MsoNormal>Hi Anna,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Thanks for replying. The problem seems to be related to r.viewshed. I tried to run it as you sugggested, and it didn’t start. So, I removed it and re-installed it, and gives me this error:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Downloading precompiled GRASS Addons <r.viewshed>...<o:p></o:p></p><p class=MsoNormal>ERROR: File is not a zip file: http://wingrass.fsv.cvut.cz/grass70/x86_64/addons/grass-7.0.3/r.viewshed.zip<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Miguel.<o:p></o:p></p><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman",serif'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman",serif'><o:p> </o:p></span></p><div style='mso-element:para-border-div;border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal style='border:none;padding:0cm'><b>De: </b><a href="mailto:kratochanna@gmail.com">Anna Petrášová</a><br><b>Enviado: </b>martes, 30 de agosto de 2016 16:22<br><b>Para: </b><a href="mailto:miguel.carrero.pazos@gmail.com">Miguel Carrero</a><br><b>CC: </b><a href="mailto:grass-user@lists.osgeo.org">GRASS user list</a><br><b>Asunto: </b>Re: [GRASS-user] Problems with r.viewshed.cva</p></div><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman",serif'><o:p> </o:p></span></p><p class=MsoNormal>Hi,</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>On Tue, Aug 30, 2016 at 11:14 AM, Miguel Carrero</p><p class=MsoNormal><miguel.carrero.pazos@gmail.com> wrote:</p><p class=MsoNormal>> Dear all,</p><p class=MsoNormal>><o:p> </o:p></p><p class=MsoNormal>> I am having problems with r.viewshed.cva addon. I've already re-installed it</p><p class=MsoNormal>> several times, but the error continues.</p><p class=MsoNormal>> Note that the routine is constrained to points in the current geographic</p><p class=MsoNormal>> region.</p><p class=MsoNormal>> Traceback (most recent call last):</p><p class=MsoNormal>> File "C:\Users\Miguel\AppData\Roaming\GRASS7\addons/script</p><p class=MsoNormal>> s/r.viewshed.cva.py", line 174, in <module></p><p class=MsoNormal>> main()</p><p class=MsoNormal>> File "C:\Users\Miguel\AppData\Roaming\GRASS7\addons/script</p><p class=MsoNormal>> s/r.viewshed.cva.py", line 159, in main</p><p class=MsoNormal>> grass.run_command("r.viewshed", quiet = True,</p><p class=MsoNormal>> overwrite=grass.overwrite(), flags=flagstring, input=elev,</p><p class=MsoNormal>> output=tempry, coordinates=site[0] + "," + site[1],</p><p class=MsoNormal>> **viewshed_options)</p><p class=MsoNormal>> File "C:\Program Files\GRASS GIS</p><p class=MsoNormal>> 7.0.3\etc\python\grass\script\core.py", line 394, in</p><p class=MsoNormal>> run_command</p><p class=MsoNormal>> return handle_errors(returncode, returncode, args,</p><p class=MsoNormal>> kwargs)</p><p class=MsoNormal>> File "C:\Program Files\GRASS GIS</p><p class=MsoNormal>> 7.0.3\etc\python\grass\script\core.py", line 312, in</p><p class=MsoNormal>> handle_errors</p><p class=MsoNormal>> returncode=returncode)</p><p class=MsoNormal>> grass.exceptions.CalledModuleError: Module run None</p><p class=MsoNormal>> ['r.viewshed', '--q', 'observer_elevation=0',</p><p class=MsoNormal>> 'input=dem_cm@Datos_viewshed_ejemplo',</p><p class=MsoNormal>> 'refraction_coeff=0.14286',</p><p class=MsoNormal>> 'coordinates=538892.79570571,4756461.28637303',</p><p class=MsoNormal>> 'memory=800', 'max_distance=-1', 'output=vshed_1\r',</p><p class=MsoNormal>> 'target_elevation=1.75'] ended with error</p><p class=MsoNormal>> Process ended with non-zero return code -1073741701. See</p><p class=MsoNormal>> errors in the (error) output.</p><p class=MsoNormal>> (Tue Aug 30 17:08:17 2016) Comando finalizado. (0 segundos)</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Module r.viewshed fails, so I would suggest changing</p><p class=MsoNormal>observer_elevation to a number bigger than zero, although I am not</p><p class=MsoNormal>sure if that's the problem. Then you can also try running r.viewshed</p><p class=MsoNormal>itself for one of your points just to check it is running.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Anna</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>><o:p> </o:p></p><p class=MsoNormal>><o:p> </o:p></p><p class=MsoNormal>> Hope anyone could help. I am using GRASS 7.0.3 in a Windows 10 laptop. I</p><p class=MsoNormal>> tried to use it 7.0.4 version, and the error is the same as before, but</p><p class=MsoNormal>> with:</p><p class=MsoNormal>><o:p> </o:p></p><p class=MsoNormal>> WARNING: Illegal filename <vshed_1</p><p class=MsoNormal>>>. Character <</p><p class=MsoNormal>>> not allowed.</p><p class=MsoNormal>><o:p> </o:p></p><p class=MsoNormal>><o:p> </o:p></p><p class=MsoNormal>> Thanks for the attention,</p><p class=MsoNormal>><o:p> </o:p></p><p class=MsoNormal>> Best,</p><p class=MsoNormal>><o:p> </o:p></p><p class=MsoNormal>> Miguel.</p><p class=MsoNormal>><o:p> </o:p></p><p class=MsoNormal>> _______________________________________________</p><p class=MsoNormal>> grass-user mailing list</p><p class=MsoNormal>> grass-user@lists.osgeo.org</p><p class=MsoNormal>> http://lists.osgeo.org/mailman/listinfo/grass-user</p><p class=MsoNormal><o:p> </o:p></p></div></body></html>