Error with DTM

0 votes
130 views
asked Mar 18, 2017 by Antonio79

Hi all,

I follow the procedure in RiverGIS for geometry but when select the DTM tool show me the following message

Traceback (most recent call last):

File "C:/Users/Antonio/.qgis2/python/plugins\rivergis\rivergis.py", line 83, in <lambda>

self.ui.actionRASXSElevations.triggered.connect(lambda: r1d.ras1dXSElevations(self))

File "C:/Users/Antonio/.qgis2/python/plugins\rivergis\ras1dFunctions.py", line 125, in ras1dXSElevations

prepare_DTMs(rgis)

File "C:/Users/Antonio/.qgis2/python/plugins\rivergis\rasElevations.py", line 31, in prepare_DTMs

rgis.options(rgis.OPT_DTM)

File "C:/Users/Antonio/.qgis2/python/plugins\rivergis\rivergis.py", line 344, in options

dlg = DlgSettings(self, widget=widget)

File "C:/Users/Antonio/.qgis2/python/plugins\rivergis\dlg_settings.py", line 58, in __init__

item = QStandardItem('{0}'.format(layer.name())) #layerId

UnicodeEncodeError: 'ascii' codec can't encode character u'\xe0' in position 17: ordinal not in range(128)

It's the first time that have this problem. I used RiverGIS to 30/40 geometry without have this problem.

Regards-

Antonio

1 Answer

0 votes
answered Mar 18, 2017 by rpasiok (3,601 points)
Hi Antonio,

Check for non-ASCII characters in your raster path.
commented Mar 18, 2017 by anonymous
Thank you for answer,
but how do to it?

Regards-
Antonio
commented Mar 19, 2017 by rpasiok (3,601 points)
Check where it is saved. For example, C:\Users\Antonio\temp\ąśżźć\my_raster.tif has some non-ASCII characters that would also be problematic.
commented Mar 19, 2017 by anonymous
I have try, but have the same problem with no select the raster, but if simply click the
comand
Welcome to RiverGIS Q&A, where you can ask questions and receive answers from other members of the community.

Visit rivergis.com for documentation and general info about the QGIS plugin.
...