Recently we get enormous amount of spam registration. We have closed the registration for new members, sorry...
0 votes

I have a problem when assigning the elevation values from the DEM to the shapes in QGIS. I have this message back:

Traceback (most recent call last):

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

self.ui.actionRASXSRiverReachNames.triggered.connect(lambda: r1d.ras1dXSRiverReachNames(self))

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


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

uri = '\'{0}\''.format(rlayer.dataProvider().dataSourceUri())

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

I dont know how to solve this issue. Thanks for your help.

1 Answer

0 votes
by (3.8k points)

Hi David,

Please remove any non-ASCII characters from the DTM path. In this case it is í (small i with acute).

Yep, that was the simple solution... thanks!
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.