wxvdigit not functional with 3D vector maps
|Reported by:||harrikoo||Owned by:||martinl|
I just (20091006) updated from releasebranch_6_4, and found out, that wxvdigit is not fully functional. Description:
If the vector map is 2D, there are no problems.
If the vector map is 3D (as shown by v.info), wxvdigit is not able to draw really anything. Two symptoms:
- Add a line, with 4 vertices. When ending the line, UI reports: "Incorrect number of points (8)". The incorrect number seems always be double the amount of vertices in the line.
- Add a line, with 4 vertices. Instead of the line, wxdigit adds at least 8 lines, that start from all or some of the 4 vertices and continue towards north-west ad infinitum.
Note, that I'm not thinking that the lines should have height or z-coordinates. I'm just trying to draw simple 2D objects to a vector map, which is originally 3D, with the expectation, that the new objects should reside at z-level 0 (zero).
So it seems, that the wxvdigit module is not able to work with 3D vector map. Note too, that the old v.digit module works perfectly and does not have these problems.