Bug report #20740

Editing polygons through WFS fails when editing first/last vertex

Added by Lars Ellebjerg over 5 years ago. Updated over 5 years ago.

Status:Open
Priority:High
Assignee:-
Category:Web Services clients/WFS
Affected QGIS version:3.4.2 Regression?:No
Operating System:Win 7 Pro SP1 Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:Yes Copied to github as #:28560

Description

I have experienced problems editing polygon geometries through wfs.

The data are from https://fkg-kort.mapcentia.com/app/fkg/fkg/#osm/13/12.506/55.6279/fkg.t_5710_born_skole_dis.

Data are edited through user='kom167' restrictToRequestBBOX='1' srsname='EPSG:25832' typename='fkg:t_5710_born_skole_dis' url='https://fkg.mapcentia.com/wfs/kom167@fkg/fkg/25832' version='auto' table="" sql=SELECT * FROM t_5710_born_skole_dis where kommunekode = 167. Unfortunately I cannot supply you with an access code so that you could test it yourself.

Mostly the editing works fine, but I have experienced strange results when trying to edit segments which originate in or end in the first/last vertex of the polygon. When adding a vertex to the first segment of the polygon this vertex (now the second vertex in the polygon) is connected not only to the first and third vertices of the polygon, but also to the second last point.

In the same data set and trying to eliminate double vertices at/near the first/last vertex I have also experienced that the element being edited disappeared and that the attributes of this element were connected to one of the other elements. The other element still existed, så somehow this element was doubled with to different sets of attributes when the element being edited dissappeared.

History

#1 Updated by Giovanni Manghi over 5 years ago

  • Priority changed from Normal to High
  • Category changed from Geometry to Web Services clients/WFS

Also available in: Atom PDF