Bug report #9770

Removal of nodes can create invalid linestrings

Added by faustino alarcon almost 11 years ago. Updated almost 10 years ago.

Status:Closed
Priority:High
Assignee:-
Category:Digitising
Affected QGIS version:2.2.0 Regression?:No
Operating System:GNU/Linux Easy fix?:No
Pull Request or Patch supplied:No Resolution:fixed/implemented
Crashes QGIS or corrupts data:No Copied to github as #:18312

Description

In QGIS 2.2 after deleting node of a linestring with only 2 vertices on a postgis layer and saving that, the layer disappears. And now has lines with one vertex...?

In that case following query returns rows: SELECT sum(ST_NPoints(the_geom)) as count_nodes,gid FROM way_err group by gid having sum(ST_NPoints(the_geom))=1

When those records are deleted the layer goes back to normal in QGIS.

In QGIS 2.0 in the same layer does not allow the vertex removal.

Regards
Anibal


Related issues

Duplicated by QGIS Application - Bug report #10684: crasher: selecting nodes from multiple inner rings and at... Closed 2014-06-23

History

#1 Updated by Jürgen Fischer almost 11 years ago

  • Tracker changed from Feature request to Bug report
  • Crashes QGIS or corrupts data set to No
  • Affected QGIS version set to 2.2.0
  • Subject changed from Deleting a vertex in layer to Removal of nodes can create invalid linestrings

#2 Updated by Jürgen Fischer over 10 years ago

  • Target version changed from Version 2.2 to Future Release - Lower Priority

#3 Updated by Jürgen Fischer about 10 years ago

  • Category changed from Vectors to Digitising

#4 Updated by Jürgen Fischer almost 10 years ago

  • Resolution set to fixed/implemented
  • Status changed from Open to Closed

duplicated by #10684

Also available in: Atom PDF