Opened 3 years ago

Last modified 20 months ago

#3303 new defect

vertex manipulation issue

Reported by: vincent Owned by: grass-dev@…
Priority: normal Milestone: 7.2.4
Component: wxGUI Version: svn-trunk
Keywords: digitizer, remove vertex, zero-length Cc:
CPU: Unspecified Platform: Linux

Description

While diting a map with wxdigit, you may accidentally (I mean it's a nonsense) attemp to remove a vertex to a two-vertices line: digitizer and gui will immediately crash. As often in this case the map is damaged, with the warning : "Coor files of vector map <mymap> is larger than it should be (XXXX bytes excess)"

After rebuilding the map, the only way to restore it is to purge the zero-length segment, then everything runs fine again for your map.

wxdigit should prevent removing a vertex to a line if it's made of less than 3 vertices, or implicitly delete the single remaining vertex.

Change History (4)

comment:1 Changed 3 years ago by martinl

Milestone: 7.2.17.2.2

comment:2 Changed 2 years ago by neteler

Milestone: 7.2.27.2.3

Ticket retargeted after milestone closed

comment:3 Changed 20 months ago by martinl

Milestone: 7.2.3

Ticket retargeted after milestone closed

comment:4 Changed 20 months ago by martinl

Milestone: 7.2.4
Note: See TracTickets for help on using tickets.