<div dir="ltr">thanks to Regione Toscana you can find rt_qspider ported to qgis 2.0<div><br></div><div>if you find it useful, please test it and refer problems as usual in:</div><div><a href="http://hub.qgis.org/projects/rtqspider">http://hub.qgis.org/projects/rtqspider</a><br>
</div><div><br></div><div>plugin home is: <a href="http://plugins.qgis.org/plugins/rt_qspider/">http://plugins.qgis.org/plugins/rt_qspider/</a></div><div><br></div><div>thanks, Luigi Pirelli (<a href="mailto:luigi.pirelli@faunalia.it">luigi.pirelli@faunalia.it</a>)</div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On 2 July 2013 09:12, Andrea Peri <span dir="ltr"><<a href="mailto:aperi2007@gmail.com" target="_blank">aperi2007@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div text="#000000" bgcolor="#FFFFFF">
<div>Perhaps you could be interested in our plugin:<br></div><div>RT QSpider.<br><br>It create a shapefile from a dbf with coordinate on two field int or textual.<br><br></div><div>The plugin is actually for 1.8 only, bt we plan early to evolve to qgis 2.0<br>
<br></div><div>Regards,<br><br></div><div><div class="h5"><div>
<br>
On 01/07/2013 09:48, HAUBOURG wrote:<br>
</div>
<blockquote type="cite">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">Hi all, let me precise the need:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">Numerical vertex edit and wkt plugin are
usefull when dealing with one geometry.
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">Geom calculation with field update can create
eventually a WKB, but it’s absolutely not user friendly, and
there is actually no way to load a layer from that in a file
based layer. <u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">Think of a user getting a excel or calc
spreadsheet with XY inside. The only way to import it
directly as a spatial layer (not talking about using sqlite
or postgis.. too complex for common users not even aware of
data source types) is too export it to csv and import it
with delimited text plugin.
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">That is always a pain since no tool exports csv
in the same way when dealing with numerical / text types,
decimal separators…
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">XLS, calc, dbf do type correctly fields and
avoid any file conversion (if no formula or problem in field
names today). Importing directly the datasource, and being
able to spatialize it afterwards , only if needed (join pure
attribute data is also a use case), would be nice.
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">So is the need for my corp.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">My question : I would like to avoid data
duplication (again) , is that feasible using pluginlayerType
in python API todayu, or do I need some core modifications ?
Of course, that need to be reloaded correctly with a project
file.
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">Régis<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d" lang="EN-US"> <u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:#1f497d" lang="EN-US">Cordialement,</span><span style="color:#1f497d" lang="EN-US"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:#1f497d" lang="EN-US">Régis
Haubourg</span><span style="color:#1f497d" lang="EN-US"><u></u><u></u></span></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:10.0pt;color:#1f497d" lang="EN-US">----------------------------------------------------------------------</span><span style="font-size:10.0pt;color:#1f497d">--------------<br>
Régis Haubourg<br>
<br>
Administrateur de données Géographiques<br>
Département des Systèmes d'Information (DCSI)<br>
Agence de l'eau Adour Garonne <br>
90 rue du Férétra,<br>
31078 Toulouse Cedex4<br>
Tél: 05 61 36 82 58<br>
Mail: <a href="mailto:regis.haubourg@eau-adour-garonne.fr" target="_blank">regis.haubourg@eau-adour-garonne.fr</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><img alt="cid:image002.jpg@01CE5BAA.92C70ED0" height="43" border="0" width="49"></span><span style="font-size:11.0pt;font-family:"Verdana","sans-serif";color:#1f497d"><a href="http://www.eau-adour-garonne.fr/" target="_blank"><span style="font-size:10.0pt">http://www.eau-adour-garonne.fr</span></a><u></u><u></u></span></p>
<p class="MsoNormal"><u><span style="font-size:10.0pt;font-family:"Calibri","sans-serif";color:blue"><u></u><span style="text-decoration:none"> </span><u></u></span></u></p>
<p class="MsoNormal" style="text-align:center" align="center">
<span style="font-size:10.0pt;font-family:Papyrus;color:navy">Accédez
aux données sur l'eau :</span><span style="color:#1f497d"><u></u><u></u></span></p>
<p class="MsoNormal" style="text-align:center" align="center">
<span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1f497d"><a href="http://adour-garonne.eaufrance.fr/" target="_blank">http://adour-garonne.eaufrance.fr/</a>
</span><span style="color:#1f497d"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">
<div>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">De :</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">
kimaidou [<a href="mailto:kimaidou@gmail.com" target="_blank">mailto:kimaidou@gmail.com</a>]
<br>
<b>Envoyé :</b> dimanche 30 juin 2013 22:00<br>
<b>À :</b> Anita Graser<br>
<b>Cc :</b> Alexander Bruy; qgis-developer; HAUBOURG<br>
<b>Objet :</b> Re: [Qgis-developer] New feature's
needed, create geometry from attribute<u></u><u></u></span></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hi<u></u><u></u></p>
</div>
<p class="MsoNormal">What about using the field calculator
? I think I have seen a method in the "geometry" tools :
something like geomfromwkt ? If needed, we could simply
add a way to modifiy the features geometry with the
field calculator, and it will do the trick. <u></u><u></u></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><u></u> <u></u></p>
<div>
<p class="MsoNormal">2013/6/30 Anita Graser <<a href="mailto:anitagraser@gmx.at" target="_blank">anitagraser@gmx.at</a>><u></u><u></u></p>
<div>
<p class="MsoNormal">The Quick WKT plugin does something
very similar.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="color:#888888">Anita<u></u><u></u></span></p>
</div>
<div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Sun, Jun 30, 2013 at 3:06
PM, Alexander Bruy <<a href="mailto:alexander.bruy@gmail.com" target="_blank">alexander.bruy@gmail.com</a>>
wrote:<u></u><u></u></p>
<p class="MsoNormal">Hi, what about
NumericalVertexEdit plugin? If I understand
correctly, it<br>
do what you need.<br>
<br>
2013/6/30 Régis Haubourg <<a href="mailto:regis.haubourg@eau-adour-garonne.fr" target="_blank">regis.haubourg@eau-adour-garonne.fr</a>>:<u></u><u></u></p>
<div>
<p class="MsoNormal">> Hi all,<br>
> After some training courses here, a very
common use case is not satisfied<br>
> easily:<br>
><br>
> The only entry to create geometry from text
(XY or WKT) is the delimited<br>
> text plugin.<br>
> It appears that having a separate fonction
"create point" like in Mapinfo or<br>
> Arcgis would be really handy, and could
avoid the need of csv import.<br>
><br>
> I was thinking of making a plugin for this,
but I'm wondering what is the<br>
> best approach.<br>
> 1- duplicate layer into a memory layer.
Easy, requires MemoryLayerSaver to<br>
> make data persistent, is not dynamic with
datasource.<br>
> 2- create a pluginLayer? I'm not sure it
will do what I need. I would like<br>
> the project to keep a reference to the
datasource (xls, whatever ogr/<br>
> postgres/ sqlite/ spatialite) and replace
or create geometry on load by<br>
> reading XY columns or WKT column.<br>
><br>
> Is that feasable in a plugin, as a proof
of concept, or does it require<br>
> core classes modifications (C++ work , so I
won't do it by myself)<br>
><br>
> Thanks for your tips,<br>
> Régis<br>
<br>
--<u></u><u></u></p>
</div>
<p class="MsoNormal"><span style="color:#888888">Alexander
Bruy</span><u></u><u></u></p>
<div>
<div>
<p class="MsoNormal">_______________________________________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org" target="_blank">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><u></u><u></u></p>
</div>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
_______________________________________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org" target="_blank">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><u></u><u></u></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
Qgis-developer mailing list
<a href="mailto:Qgis-developer@lists.osgeo.org" target="_blank">Qgis-developer@lists.osgeo.org</a>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a>
</pre>
</blockquote>
<br>
</div></div></div>
</div>
<br>_______________________________________________<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>
<br></blockquote></div><br></div></div>