I tried the following in the Python console: >>>> test="F:\Ingelmunster\riolering\infraxscans\tif2/331-Meulebekestraat_Leon_Bekaertstraat_Mandesweg_GP_deel2.tif" >>>> print(test) F:\Ingelmunster iolering\infraxscans if2/331-Meulebekestraat_Leon_Bekaertstraat_Mandesweg_GP_deel2.tif >>>> testraw = "%r"%test >>>> print(testraw) 'F:\\Ingelmunster\riolering\\infraxscans\tif2/331-Meulebekestraat_Leon_Bekaertstraat_Mandesweg_GP_deel2.tif'
Would this be a solution? Michel -----Oorspronkelijk bericht----- Van: Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] Namens Reginald Verzonden: vrijdag 25 mei 2018 10:31 Aan: qgis-user@lists.osgeo.org Onderwerp: Re: [Qgis-user] click on raster outline to make it visible Hi Michel, It would be a solution to escape all the suspicous characters, but I would prefer it if the string could be treated as a raw string. I tried placing r in front of it but that didn't work. I guess it is the way that the actions are implemented that creates this problem. The location path was the result of the raster> Index tiles algorithm. Regards, -- Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html _______________________________________________ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user _______________________________________________ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user