Opened 10 years ago
Last modified 6 years ago
#2336 reopened enhancement
Vector map shifted in the map display
Reported by: | hcho | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 7.6.2 |
Component: | Display | Version: | svn-trunk |
Keywords: | d.rast.arrow | Cc: | |
CPU: | All | Platform: | All |
Description
I don't have this problem until I draw flow arrows (Add raster flow arrows). When I click this menu, I'm asked to change the display resolution. If I click No, the resolution looks very high (I think it's 1 arrow per pixel) and everything is just green (the default arrow color). If I click Yes as recommended, raster cells in the display become perfectly aligned with the display borders and arrows are drawn as expected. So far, so good.
Now, if I add a polygon vector map representing cell boundaries, the lines don't perfectly match with the raster cells (shown in the attached screenshot). IMO, if I choose to align raster cells with the display borders, vector coordinates have to be transformed such that they are also snapped to the nearest cell vertices... Hmm... in some case, we may not want this.
OR can we not change the display resolution at all and display arrows correctly (one arrow per cell, not one arrow per pixel)?
Attachments (1)
Change History (12)
by , 10 years ago
Attachment: | display_resolution.png added |
---|
comment:1 by , 10 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
Ah! Now, I remember I added the -a flag just for this purpose. IMHO, it's better to use -a by default without constraining the display resolution to computational settings.
comment:2 by , 10 years ago
Resolution: | invalid |
---|---|
Status: | closed → reopened |
IMO, aligning vector lines and cell boundaries is still a valid point.
comment:5 by , 8 years ago
Milestone: | 7.2.1 → 7.2.2 |
---|
comment:6 by , 7 years ago
Milestone: | 7.2.2 → 7.4.0 |
---|
All enhancement tickets should be assigned to 7.4 milestone.
comment:8 by , 6 years ago
Milestone: | 7.4.1 → 7.4.2 |
---|
comment:9 by , 6 years ago
Milestone: | 7.4.2 → 7.6.0 |
---|
All enhancement tickets should be assigned to 7.6 milestone.
Vector lines don't match with cell boundaries.