[Qgis-developer] New feature's needed, create geometry from attribute

kimaidou kimaidou at gmail.com
Sun Jun 30 13:00:25 PDT 2013


Hi

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.



2013/6/30 Anita Graser <anitagraser at gmx.at>

> The Quick WKT plugin does something very similar.
> Anita
>
> On Sun, Jun 30, 2013 at 3:06 PM, Alexander Bruy <alexander.bruy at gmail.com>wrote:
>
>> Hi, what about NumericalVertexEdit plugin? If I understand correctly, it
>> do what you need.
>>
>> 2013/6/30 Régis Haubourg <regis.haubourg at 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 at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>>
>
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20130630/e2eb47b5/attachment.html>


More information about the Qgis-developer mailing list