Problem assigning DEM elevation - ASCII 8

0 votes
4 views
asked Jan 3 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\rivergis.py", line 83, in <lambda>

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

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

prepare_DTMs(rgis)

File "C:/Users/David/.qgis2/python/plugins\rivergis\rasElevations.py", 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 by rpasiok (2,241 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 rivergis.com for documentation and general info about the QGIS plugin.
...