Bug report #20740
Editing polygons through WFS fails when editing first/last vertex
|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|
I have experienced problems editing polygon geometries through wfs.
Data are edited through user='kom167' restrictToRequestBBOX='1' srsname='EPSG:25832' typename='fkg:t_5710_born_skole_dis' url='https://fkg.mapcentia.com/wfs/[email protected]/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.