<div dir="ltr">The Add Delimited Text Layer import tool also has a watch file option<div><br></div><div><a href="http://i.imgur.com/K1BL1zo.png">http://i.imgur.com/K1BL1zo.png</a><br></div><div><br></div><div style>However this will only work for file based layers. I would like something that would work for any type, PostGIS, MS SQL, etc.</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:31 PM, Vincent Picavet <span dir="ltr"><<a href="mailto:vincent.ml@oslandia.com" target="_blank">vincent.ml@oslandia.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Regis, all,<br>
<br>
You can also open a CSV with X.Y coordinates with a VRT file describing the<br>
geometry component. You could automatically generate and load such a VRT with<br>
an interface to guide the user.<br>
<br>
Vincent<br>
<br>
Le lundi 1 juillet 2013 09:48:00, HAUBOURG a écrit :<br>
<div class="im">> Hi all, let me precise the need:<br>
> Numerical vertex edit and wkt plugin are usefull when dealing with one<br>
> geometry. Geom calculation with field update can create eventually a WKB,<br>
> but it's absolutely not user friendly, and there is actually no way to<br>
> load a layer from that in a file based layer.<br>
><br>
> Think of a user getting a excel or calc spreadsheet with XY inside. The<br>
> only way to import it directly as a spatial layer (not talking about using<br>
> sqlite or postgis.. too complex for common users not even aware of data<br>
> source types) is too export it to csv and import it with delimited text<br>
> plugin. That is always a pain since no tool exports csv in the same way<br>
</div>> when dealing with numerical / text types, decimal separators... XLS, calc,<br>
<div class="im">> dbf do type correctly fields and avoid any file conversion (if no formula<br>
> or problem in field names today). Importing directly the datasource, and<br>
> being able to spatialize it afterwards , only if needed (join pure<br>
> attribute data is also a use case), would be nice.<br>
><br>
> So is the need for my corp.<br>
> My question : I would like to avoid data duplication (again) , is that<br>
> feasible using pluginlayerType in python API todayu, or do I need some<br>
> core modifications ? Of course, that need to be reloaded correctly with a<br>
> project file.<br>
><br>
> Régis<br>
><br>
><br>
><br>
><br>
> Cordialement,<br>
> Régis Haubourg<br>
> ---------------------------------------------------------------------------<br>
</div>> --------- Régis Haubourg<br>
<div class="im">><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:<br>
</div>> <a href="mailto:regis.haubourg@eau-adour-garonne.fr">regis.haubourg@eau-adour-garonne.fr</a><mailto:<a href="mailto:regis.haubourg@eau-adour-garonn">regis.haubourg@eau-adour-garonn</a><br>
> <a href="http://e.fr" target="_blank">e.fr</a>> [cid:image002.jpg@01CE5BAA.92C70ED0]<br>
> <a href="http://www.eau-adour-garonne.fr" target="_blank">http://www.eau-adour-garonne.fr</a><<a href="http://www.eau-adour-garonne.fr/" target="_blank">http://www.eau-adour-garonne.fr/</a>><br>
<div class="im">><br>
> Accédez aux données sur l'eau :<br>
> <a href="http://adour-garonne.eaufrance.fr/" target="_blank">http://adour-garonne.eaufrance.fr/</a><br>
><br>
> De : kimaidou [mailto:<a href="mailto:kimaidou@gmail.com">kimaidou@gmail.com</a>]<br>
> Envoyé : dimanche 30 juin 2013 22:00<br>
> À : Anita Graser<br>
> Cc : Alexander Bruy; qgis-developer; HAUBOURG<br>
> Objet : Re: [Qgis-developer] New feature's needed, create geometry from<br>
> attribute<br>
><br>
> Hi<br>
> What about using the field calculator ? I think I have seen a method in the<br>
> "geometry" tools : something like geomfromwkt ? If needed, we could simply<br>
> add a way to modifiy the features geometry with the field calculator, and<br>
> it will do the trick.<br>
><br>
><br>
</div>> 2013/6/30 Anita Graser <<a href="mailto:anitagraser@gmx.at">anitagraser@gmx.at</a><mailto:<a href="mailto:anitagraser@gmx.at">anitagraser@gmx.at</a>>><br>
<div class="im">> The Quick WKT plugin does something very similar.<br>
> Anita<br>
><br>
> On Sun, Jun 30, 2013 at 3:06 PM, Alexander Bruy<br>
</div>> <<a href="mailto:alexander.bruy@gmail.com">alexander.bruy@gmail.com</a><mailto:<a href="mailto:alexander.bruy@gmail.com">alexander.bruy@gmail.com</a>>> wrote: Hi,<br>
<div class="im">> what about NumericalVertexEdit plugin? If I understand correctly, it do<br>
> what you need.<br>
><br>
> 2013/6/30 Régis Haubourg <regis.haubourg@eau-adour-<br>
</div><a href="http://garonne.fr" target="_blank">garonne.fr</a><mailto:<a href="mailto:regis.haubourg@eau-adour-garonne.fr">regis.haubourg@eau-adour-garonne.fr</a>>>:<br>
<div><div class="h5">> > 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<br>
> > or 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>
> ><br>
> > 1- duplicate layer into a memory layer. Easy, requires MemoryLayerSaver<br>
> > to<br>
> ><br>
> > make data persistent, is not dynamic with datasource.<br>
> ><br>
> > 2- create a pluginLayer? I'm not sure it will do what I need. I would<br>
> > like<br>
> ><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>
> --<br>
> Alexander Bruy<br>
> _______________________________________________<br>
> Qgis-developer mailing list<br>
</div></div>> <a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><mailto:<a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a>><br>
<div class="im">> <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
><br>
><br>
> _______________________________________________<br>
> Qgis-developer mailing list<br>
</div>> <a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><mailto:<a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a>><br>
<div class="HOEnZb"><div class="h5">> <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><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>
</div></div></blockquote></div><br></div>