[GRASS-dev] [GRASS GIS] #776: wxvdigit not functional with 3D vector maps

GRASS GIS trac at osgeo.org
Tue Oct 6 06:43:39 EDT 2009

#776: wxvdigit not functional with 3D vector maps
 Reporter:  harrikoo          |       Owner:  grass-dev at lists.osgeo.org
     Type:  defect            |      Status:  new                      
 Priority:  normal            |   Milestone:  6.4.0                    
Component:  wxGUI             |     Version:  6.4.0 RCs                
 Keywords:  wxvdigit, vector  |    Platform:  Linux                    
      Cpu:  x86-32            |  
 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:

 1. 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.

 2. 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.


 Harri K.

Ticket URL: <http://trac.osgeo.org/grass/ticket/776>
GRASS GIS <http://grass.osgeo.org>

More information about the grass-dev mailing list