vertex manipulation issue
|Reported by:||vincent||Owned by:|
|Keywords:||digitizer, remove vertex, zero-length||Cc:|
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.