[GRASS-user] v.centerline addon

cesar at fototerra.com.br cesar at fototerra.com.br
Wed Mar 4 09:10:56 PST 2020


Hello!!!

 

I’m new user on GRASS and I’m trying to execute the addon v.centerline on
GRASS 7.9. As input I’m using a shapefile containing line (MultiLineString)
as geometry and when I have run the v.centerline an erro is returning:

 

“Traceback (most recent call last):

  File "C:\Users\cesar\AppData\Roaming\GRASS7\addons/scripts

/v.centerline.py", line 319, in <module>

    main()

  File "C:\Users\cesar\AppData\Roaming\GRASS7\addons/scripts

/v.centerline.py", line 111, in main

    segment_input += 'P ' + category.strip()

TypeError: can only concatenate str (not "bytes") to str

(Wed Mar  4 17:27:25 2020) Comando terminado (3 segundos)


(Wed Mar  4 17:27:25 2020)


v.centerline input=Linha_rio_teste_Centerline at PERMANENT output=teste range=2
refline=2

Traceback (most recent call last):

  File "C:\Users\cesar\AppData\Roaming\GRASS7\addons/scripts

/v.centerline.py", line 319, in <module>

    main()

  File "C:\Users\cesar\AppData\Roaming\GRASS7\addons/scripts

/v.centerline.py", line 111, in main

    segment_input += 'P ' + category.strip()

TypeError: can only concatenate str (not "bytes") to str

(Wed Mar  4 17:27:28 2020) Comando terminado (2 segundos)”

 

I would like help to try understand what’s happening.

 

Regards.

 

César de Paula

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20200304/ceba87e7/attachment.html>


More information about the grass-user mailing list