Opened 7 years ago

Closed 11 months ago

#776 closed defect (worksforme)

wxvdigit not functional with 3D vector maps

Reported by: harrikoo Owned by: martinl
Priority: normal Milestone: 6.4.4
Component: wxGUI Version: 6.4.0 RCs
Keywords: wxvdigit, vector Cc: grass-dev@…
CPU: x86-32 Platform: Linux


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

Change History (4)

comment:1 Changed 7 years ago by martinl

  • Cc grass-dev@… added

comment:2 Changed 7 years ago by martinl

  • Owner changed from grass-dev@… to martinl
  • Status changed from new to assigned

comment:3 Changed 4 years ago by neteler

  • Milestone changed from 6.4.0 to 6.4.4

Confirmed - when selecting the 3D map for editing, the map disappears from the wx digitizer display.

Test map: North Carolina data set

# set region to tile792 where we have both DEM and planimetry
g.region rast=el_D792_6m -p

# extract buildings
v.extract P079215 out=bldg_resid where="layer='BLDG_RESID_BL'"

# add height of the buildings
v.extrude -t bldg_resid out=bldg_resid_3d height=10 elev=el_D792_6m bldg_resid_3d

Then load bldg_resid_3d into the wxGUI and start to digitize in it.

comment:4 Changed 11 months ago by harrikoo

  • Resolution set to worksforme
  • Status changed from assigned to closed

This bug seems fixed? Editing of a 3D-vector in the wxgui digitizer works as expected in 7.0RC2. I'm marking this now as 'worksforme', perhaps it could be closed, too?

Note: See TracTickets for help on using tickets.