Hi all,<br><br>I have been building a plugin and reached a dead end. I am parsing the csv resource into a variable. but according to the qgis documentation, the resource has to be a file. Can it be a variable. the code section that has this issue is <br>
    results = ft_client.query(SQL().select(371443,None,None))<br>    <br>    uri = results.&quot;?delimiter=%s&amp;xField=%s&amp;yField=%s&quot; % (&quot;,&quot;, &quot;Address&quot;, &quot;LONGITUDE&quot;)<br>    vlayer = QgsVectorLayer(uri, &quot;layer_name_you_like&quot;, &quot;delimitedtext&quot;)<br clear="all">
there is something very wrong with the uri section of the code. the docs just use file paths, what of a variable as is my case? How would i go about loading this. Please help<br>-- <br>Regards,<br><br>Jude Mwenda<br>Skype id: jmwenda<br>
Twitter: <a href="http://www.twitter.com/judemwenda">www.twitter.com/judemwenda</a><br>    <br>&quot;Was ist mein Leben, wenn ich nicht mehr nützlich für andere.&quot;<br>Johann Wolfgang von Goethe<br>