Skip to content

[Bug] d.rast.arrow not aligned with constraining display resolution right after Zoom to saved region #3504

@HuidaeCho

Description

@HuidaeCho

Describe the bug
d.rast.arrow rendering is not aligned with constraining display resolution immediately after Zoom to saved region.

To Reproduce
Steps to reproduce the behavior:

In NC sample dataset,

  1. Start g.gui (d.mon wx0 works fine)
  2. r.watershed -sa elevation=elevation drainage=drain_directions
  3. Add elevation raster
  4. Zoom to a small region
  5. Save display geometry to named region "test"
  6. Zoom to full extent
  7. Zoom to saved region "test"
  8. Add raster cell numbers and Yes to the display resolution dialog; No with -a flag (Align grid with raster cells) works fine
  9. Select drain_directions from step 2 and set Type of existing raster aspect map to drainage
  10. See the screenshot below
  11. Panning away fixes the alignment

Expected behavior
Nicely aligned arrow grid.

Screenshots
image

System description (please complete the following information):

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

Additional context
d.rast.arrow works fine without constraining display resolution to computational settings with -a (align grid with raster cells).

Related issues: #3502, #3503

Metadata

Metadata

Assignees

No one assigned

    Labels

    GUIwxGUI relatedbugSomething isn't workingdisplayrasterRelated to raster data processing

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions