The Quick WKT plugin does something very similar. Anita On Sun, Jun 30, 2013 at 3:06 PM, Alexander Bruy <alexander.b...@gmail.com>wrote:
> Hi, what about NumericalVertexEdit plugin? If I understand correctly, it > do what you need. > > 2013/6/30 Régis Haubourg <regis.haubo...@eau-adour-garonne.fr>: > > Hi all, > > After some training courses here, a very common use case is not satisfied > > easily: > > > > The only entry to create geometry from text (XY or WKT) is the delimited > > text plugin. > > It appears that having a separate fonction "create point" like in > Mapinfo or > > Arcgis would be really handy, and could avoid the need of csv import. > > > > I was thinking of making a plugin for this, but I'm wondering what is the > > best approach. > > 1- duplicate layer into a memory layer. Easy, requires MemoryLayerSaver > to > > make data persistent, is not dynamic with datasource. > > 2- create a pluginLayer? I'm not sure it will do what I need. I would > like > > the project to keep a reference to the datasource (xls, whatever ogr/ > > postgres/ sqlite/ spatialite) and replace or create geometry on load by > > reading XY columns or WKT column. > > > > Is that feasable in a plugin, as a proof of concept, or does it require > > core classes modifications (C++ work , so I won't do it by myself) > > > > Thanks for your tips, > > Régis > > -- > Alexander Bruy > _______________________________________________ > Qgis-developer mailing list > Qgis-developer@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/qgis-developer >
_______________________________________________ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer