[GRASS-user] Problems with r.viewshed.cva

Miguel Carrero miguel.carrero.pazos at gmail.com
Tue Aug 30 09:30:37 PDT 2016


Hi Anna,

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:

Downloading precompiled GRASS Addons <r.viewshed>...
ERROR: File is not a zip file: http://wingrass.fsv.cvut.cz/grass70/x86_64/addons/grass-7.0.3/r.viewshed.zip

Miguel.


De: Anna Petrášová
Enviado: martes, 30 de agosto de 2016 16:22
Para: Miguel Carrero
CC: GRASS user list
Asunto: Re: [GRASS-user] Problems with r.viewshed.cva

Hi,

On Tue, Aug 30, 2016 at 11:14 AM, Miguel Carrero
<miguel.carrero.pazos en gmail.com> wrote:
> Dear all,
>
> I am having problems with r.viewshed.cva addon. I've already re-installed it
> several times, but the error continues.
> Note that the routine is constrained to points in the current geographic
> region.
> Traceback (most recent call last):
>   File "C:\Users\Miguel\AppData\Roaming\GRASS7\addons/script
> s/r.viewshed.cva.py", line 174, in <module>
>     main()
>   File "C:\Users\Miguel\AppData\Roaming\GRASS7\addons/script
> s/r.viewshed.cva.py", line 159, in main
>     grass.run_command("r.viewshed", quiet = True,
> overwrite=grass.overwrite(), flags=flagstring, input=elev,
> output=tempry, coordinates=site[0] + "," + site[1],
> **viewshed_options)
>   File "C:\Program Files\GRASS GIS
> 7.0.3\etc\python\grass\script\core.py", line 394, in
> run_command
>     return handle_errors(returncode, returncode, args,
> kwargs)
>   File "C:\Program Files\GRASS GIS
> 7.0.3\etc\python\grass\script\core.py", line 312, in
> handle_errors
>     returncode=returncode)
> grass.exceptions.CalledModuleError: Module run None
> ['r.viewshed', '--q', 'observer_elevation=0',
> 'input=dem_cm en Datos_viewshed_ejemplo',
> 'refraction_coeff=0.14286',
> 'coordinates=538892.79570571,4756461.28637303',
> 'memory=800', 'max_distance=-1', 'output=vshed_1\r',
> 'target_elevation=1.75'] ended with error
> Process ended with non-zero return code -1073741701. See
> errors in the (error) output.
> (Tue Aug 30 17:08:17 2016) Comando finalizado. (0 segundos)

Module r.viewshed fails, so I would suggest changing
observer_elevation to a number bigger than zero, although I am not
sure if that's the problem. Then you can also try running r.viewshed
itself for one of your points just to check it is running.

Anna

>
>
> Hope anyone could help. I am using GRASS 7.0.3 in a Windows 10 laptop. I
> tried to use it 7.0.4 version, and the error is the same as before, but
> with:
>
> WARNING: Illegal filename <vshed_1
>>. Character <
>> not allowed.
>
>
> Thanks for the attention,
>
> Best,
>
> Miguel.
>
> _______________________________________________
> grass-user mailing list
> grass-user en lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user

------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20160830/ac69a407/attachment.html>


More information about the grass-user mailing list