Error with DTM

0 votes
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\", line 83, in <lambda>

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

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


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


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

dlg = DlgSettings(self, widget=widget)

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

item = QStandardItem('{0}'.format( #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.



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?

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
Welcome to RiverGIS Q&A, where you can ask questions and receive answers from other members of the community.

Visit for documentation and general info about the QGIS plugin.