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

Anna Petrášová kratochanna at gmail.com
Wed Sep 14 10:04:57 PDT 2016


On Wed, Sep 14, 2016 at 2:39 AM, Miguel Carrero
<miguel.carrero.pazos at gmail.com> wrote:
> Dear all,
>
> I'm still having problems with r.viewshed.cva addon. I tried weeks ago and
> it worked, but now I get this error:
>
> r.viewshed.cva --overwrite input=dem_final at Costa_Morte_FINAL
> vector=meg1 at Costa_Morte_FINAL output=view_meg max_distance=3000 memory=1000
> 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 180, in <module>
>     main()
>   File "C:\Users\Miguel\AppData\Roaming\GRASS7\addons/script
> s/r.viewshed.cva.py", line 159, in main
>     ptname = site[2]
> IndexError: list index out of range
> (Wed Sep 14 08:35:41 2016) Comando finalizado. (4 segundos)
>
>
> I tested with 7.0.4, 7.0.3 and 7.0.2 (32bit) and fails in all of them.
>
> My laptop is 64bit with Windows 10. Could be for that?
>
> Thanks for the attention,

I hopefully fixed it.

Anna

>
> Miguel.
>
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user


More information about the grass-user mailing list