[Qgis-developer] how to add multipoint
Mayeul Kauffmann
mayeul.kauffmann at free.fr
Fri Apr 22 15:54:12 EDT 2011
Hi Paolo,
Indeed! Not all buttons in the advance editing toolbar are available for
all geometry types.
With r 15754 and postgis as a backend:
You cannot add a point to a multipoint feature (you can only add a new
feature). You can move or delete one of its parts . You can copy a
multipoint feature and paste it as a new multipoint feature.
You cannot add a part to a multiline string (you can only add a new
feature). You can move or delete one of its parts. You can copy a
multiline feature and paste it as a new multiline feature.
You can add and delete parts to multipolygon. (As a minor note, to
delete a part of a multipolygon. you have to click on one of its
vertice, which *might* be a problem if you have a set of contiguous
(parts of) polygons).
It is the responsibility of the backend to generate new id's when
copy/pasting to avoid duplicates, e.g. with:
ALTER TABLE test_multipoints
ADD CONSTRAINT test_multipoints_pkey PRIMARY KEY(id);
otherwise duplicated id's are created (which does not prevent most
functions to work apparently).
Hop it helps,
Mayeul
(PS: Tanti auguri!)
Le vendredi 22 avril 2011 à 20:44 +0200, Paolo Cavallini a écrit :
> Hi all.
> If I'm not wrong, we can add parts to MULTIPOLYGONs, but not additional
> points to groups of MULTIPOINTs. If anyone confirms that I understood it
> correctly, I'll fill a ticket.
> Thanks.
More information about the Qgis-developer
mailing list