<div dir="ltr">I don't think VRT would work because not all QGIS data sources are OGR based so VRT wouldn't work in that case.<div><br></div><div style>A special type of layer, e.g plugin, IMO would be best for this. Something that just reads the feature from the underlying layer and adds the geometry on the fly.</div>

<div style><br></div><div style>- Nathan</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jul 1, 2013 at 6:47 PM, Régis Haubourg <span dir="ltr"><<a href="mailto:regis.haubourg@eau-adour-garonne.fr" target="_blank">regis.haubourg@eau-adour-garonne.fr</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><br>
Hey Regis,<br>
<br>
I think a Layer -> Create Geometry Layer menu item would be a great idea<br>
for non geometry layers.<br>
<br>
Wouldn't be that hard to do I don't think.<br>
<br>
Sqlite might be the best format as it's light and flexible.  If you want<br>
something dynamic i.e change the data, updates the points, then maybe a<br>
plugin layer would be best. I am planning on adding the ability to define<br>
data provider in Python for 2.1, I do have working code just can't commit<br>
it, which I think would work well here.  It would wrap the other layers<br>
dataprovider and just return the geometry on the fly.<br>
<br>
We could make it 2.1.<br>
<br>
Regards,<br>
Nathan<br>
<br>
<br>
<br>
</div>that looks nice! SQLITE is a data duplication.. so could be hard to maintain<br>
sync with datasource.<br>
Opinions about relying on a vrt ?<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://osgeo-org.1560.x6.nabble.com/New-feature-s-needed-create-geometry-from-attribute-tp5063071p5063204.html" target="_blank">http://osgeo-org.1560.x6.nabble.com/New-feature-s-needed-create-geometry-from-attribute-tp5063071p5063204.html</a><br>


<div class="im HOEnZb">Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.<br>
</div><div class="HOEnZb"><div class="h5">_______________________________________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
</div></div></blockquote></div><br></div>