[GRASS GIS] #678: wxgui digitizer: wrong coordinates after zoom to named region

4 messages Options
Embed this post
Permalink
GRASS GIS

[GRASS GIS] #678: wxgui digitizer: wrong coordinates after zoom to named region

Reply Threaded More More options
Print post
Permalink
#678: wxgui digitizer: wrong coordinates after zoom to named region
------------------------------------------+---------------------------------
 Reporter:  mlennert                      |       Owner:  [hidden email]
     Type:  defect                        |      Status:  new                      
 Priority:  normal                        |   Milestone:  6.4.0                    
Component:  wxGUI                         |     Version:  6.4.0 RCs                
 Keywords:  wxgui digitizer named region  |    Platform:  Linux                    
      Cpu:  Unspecified                   |  
------------------------------------------+---------------------------------
 Using the wxGUI digitizer, I have observed the following problem:

 - launch digitalisation of a new vector map
 - zoom to named region
 - digitize feature
 - feature is placed at wrong location, i.e. not in the area visible in the
 screen.

 I can produce this with nc_spm_06 dataset:

 - create named region with:

 North:      223800
 South:      222810
 West:       635560
 East:       637070

 - launch wxgui digitizer and create new vector map
 - zoom to named region created above
 - draw a line across the screen

 The line seems to disappear, but by zooming out you can see that it is
 placed elsewhere. It's bounding box as given by v.info is:

 N:   222110
 S:   221279
 E:   637424
 W:   637342

 When I do not use a named region, but zoom by hand to the same area, I do
 not see the same problem.

 Moritz

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

_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
GRASS GIS

Re: [GRASS GIS] #678: wrong coordinates after zoom to named region

Reply Threaded More More options
Print post
Permalink
#678: wrong coordinates after zoom to named region
-----------------------+----------------------------------------------------
  Reporter:  mlennert  |       Owner:  martinl    
      Type:  defect    |      Status:  assigned    
  Priority:  normal    |   Milestone:  6.4.0      
 Component:  wxGUI     |     Version:  6.4.0 RCs  
Resolution:            |    Keywords:  named region
  Platform:  Linux     |         Cpu:  Unspecified
-----------------------+----------------------------------------------------
Changes (by martinl):

 * cc: [hidden email] (added)
  * keywords:  wxgui digitizer named region => named region
  * status:  new => assigned
  * owner:  [hidden email] => martinl
  * summary:  wxgui digitizer: wrong coordinates after zoom to named region
              => wrong coordinates after zoom to named region

Comment:

 The bug is not related to the vector digitizer. Hopefully fixed in r38317.

 Martin

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/678#comment:1>
GRASS GIS <http://grass.osgeo.org>

_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
GRASS GIS

Re: [GRASS GIS] #678: wrong coordinates after zoom to named region

Reply Threaded More More options
Print post
Permalink
In reply to this post by GRASS GIS
#678: wrong coordinates after zoom to named region
-----------------------+----------------------------------------------------
  Reporter:  mlennert  |       Owner:  martinl    
      Type:  defect    |      Status:  assigned    
  Priority:  normal    |   Milestone:  6.4.0      
 Component:  wxGUI     |     Version:  6.4.0 RCs  
Resolution:            |    Keywords:  named region
  Platform:  Linux     |         Cpu:  Unspecified
-----------------------+----------------------------------------------------
Comment (by mlennert):

 Replying to [comment:1 martinl]:
 > The bug is not related to the vector digitizer.

 No, apprently not, but it is easy to see there.

 > Hopefully fixed in r38317.

 No, behaviour is different, but still weird:

 - zoom to named region
 - draw line : line ends seem to jump to outside the current window
 - zoom to current region: line is drawn somewhere else on the screen and
 much longer than it should be
 - zoom back to named region: line jumps back to normal length and more or
 less correct position.
 - zoom back to current region: line again jumps to other location and
 longer size
 - zoom by hand (with zoom box) after zoom to current region: zooms in but
 to a different area than the one indicated by the zoom box.

 Something seems fundamentally wrong with the zoom management...

 Moritz

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/678#comment:2>
GRASS GIS <http://grass.osgeo.org>

_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
GRASS GIS

Re: [GRASS GIS] #678: wrong coordinates after zoom to named region

Reply Threaded More More options
Print post
Permalink
In reply to this post by GRASS GIS
#678: wrong coordinates after zoom to named region
-----------------------+----------------------------------------------------
  Reporter:  mlennert  |       Owner:  martinl    
      Type:  defect    |      Status:  assigned    
  Priority:  normal    |   Milestone:  6.4.0      
 Component:  wxGUI     |     Version:  6.4.0 RCs  
Resolution:            |    Keywords:  named region
  Platform:  Linux     |         Cpu:  Unspecified
-----------------------+----------------------------------------------------
Comment (by martinl):

 Replying to [comment:2 mlennert]:
 > No, behaviour is different, but still weird:
 >
 > - zoom to named region
 > - draw line : line ends seem to jump to outside the current window

 seems to work for me, tested on relbr64 and trunk. What version, revision?

 Martin

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/678#comment:3>
GRASS GIS <http://grass.osgeo.org>

_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev