Dear Carson and Luiz,<br><br>Thank you very much for the help. I am able to do now what I wanted.<br><br>Bye and take care<br>Sonai<br><br><div class="gmail_quote">On Tue, May 18, 2010 at 7:55 PM, Carson Farmer <span dir="ltr">&lt;<a href="mailto:carson.farmer@gmail.com">carson.farmer@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">If you can get the map layer from the layer registry, then should be<br>
able to use layer.source() (or layer.publicSource() to hide passwords)<br>
to get the layer path information.<br>
<br>
Carson<br>
<div><div></div><div class="h5"><br>
On Tue, May 18, 2010 at 3:04 PM, Bishwarup Banerjee<br>
&lt;<a href="mailto:bishwarup.banerjee@gmail.com">bishwarup.banerjee@gmail.com</a>&gt; wrote:<br>
&gt; Dear All,<br>
&gt;<br>
&gt; Is there any way to get the entire file path from the layer name?<br>
&gt; For example:<br>
&gt;<br>
&gt; A user selects a layer inside a combobox, which in turn accesses the map<br>
&gt; layer registry.<br>
&gt; Now I want to know the full path of the layer selected.<br>
&gt; If the layer name through combobox is &quot;xyz&quot;<br>
&gt; Then I want to get &quot;c:/aa/bb/xyz.shp&quot; or the exact location of the layer, in<br>
&gt; the harddisk.<br>
&gt;<br>
&gt; Any help regarding this will be highly helpful and appreciated.<br>
&gt;<br>
&gt; With Warm Regards,<br>
&gt; Sonai<br>
&gt;<br>
&gt;<br>
</div></div><div><div></div><div class="h5">&gt; _______________________________________________<br>
&gt; Qgis-developer mailing list<br>
&gt; <a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
&gt; <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
&gt;<br>
&gt;<br>
<br>
<br>
<br>
</div></div><font color="#888888">--<br>
Carson J. Q. Farmer<br>
ISSP Doctoral Fellow<br>
National Centre for Geocomputation<br>
National University of Ireland, Maynooth,<br>
<a href="http://www.carsonfarmer.com/" target="_blank">http://www.carsonfarmer.com/</a><br>
</font></blockquote></div><br>