Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] d.rast.num not aligned right after Zoom to saved region #3503

Open
HuidaeCho opened this issue Mar 15, 2024 · 1 comment
Open

[Bug] d.rast.num not aligned right after Zoom to saved region #3503

HuidaeCho opened this issue Mar 15, 2024 · 1 comment
Labels
bug Something isn't working display GUI wxGUI related raster Related to raster data processing

Comments

@HuidaeCho
Copy link
Member

HuidaeCho commented Mar 15, 2024

Describe the bug
d.rast.num rendering is not aligned immediately after Zoom to saved region.

To Reproduce
Steps to reproduce the behavior:

In NC sample dataset,

  1. Start g.gui (same issue with d.mon wx0)
  2. Add elevation raster
  3. Zoom to a small region
  4. Save display geometry to named region "test"
  5. Zoom to full extent
  6. Zoom to saved region "test"
  7. Add raster cell numbers and Yes to the display resolution dialog; No with -a flag (Align grid with raster cells) results in the same issue
  8. Select elevation and OK
  9. Panning away fixes the alignment

Expected behavior
Nicely aligned number grid.

Screenshots
image

System description (please complete the following information):

  • Operating System: Linux
  • GRASS GIS version: main branch

Additional context
The test was done without #3489.

Related issues: #3502, #3504

@HuidaeCho
Copy link
Member Author

This issue is a combination of #3504 (base map redrawing) and #3505 (aspect ratio).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working display GUI wxGUI related raster Related to raster data processing
Projects
None yet
Development

No branches or pull requests

1 participant