Problem assigning DEM elevation - ASCII 8

0 votes
asked Jan 3, 2018 by David Poblete

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
answered Jan 3, 2018 by rpasiok (3,801 points)

Hi David,

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

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.