On Thu, 28 Jun 2018 at 00:37, Nyall Dawson wrote:
> If you swap to a QgsProcessingParameterFile then parameterAsFile
> should work as expected.
Thanks Nyall, that did the trick!
Kind regards,
Rudi
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
On Thu, 28 Jun 2018 at 00:45, Rudi von Staden wrote:
> # trying to apply a filter to the input file by changing the subset
> parameter
> uri =
> f"file:///{speciesPointsFile}?type=csv&xField=DDE&yField=DDS&crs=EPSG:4326&spatialIndex=yes&subsetIndex=no&watchFile=no&subset=%22Gens
Hi all,
I'm trying to get the file path for an input layer (which is a csv) in a
script in QGIS 3. I can see from the algorithm history that it is there in
the parameters (see below). However, it seems that when I use
`parameterAsFile`, it always returns an empty string. Is this a bug, or am
I usi