Ticket #232 (new defect)

Opened 5 years ago

Last modified 4 years ago

raster and vector mismatch in monitors

Reported by: hcho Owned by: grass-dev@…
Priority: major Milestone: 7.0.0
Component: Default Version: svn-trunk
Keywords: display, monitor Cc:
Platform: Linux CPU: x86-32

Description

I used r.to.vect to convert a raster map to vector and displayed both of them on a monitor. When the monitor is in the default size, I can see slight mismatch along the boundaries of the two maps. For example,

d.mon
g.region rast=tmp
d.erase
r.to.vect input=tmp output=tmp feature=area
d.rast tmp
d.vect tmp type=boundary

If I zoom in a lot or make the monitor larger, I don't see this effect. My guess is that conversion between raster and vector was OK, but scaling coordinates (R_scaled_raster or something?) before actually displaying them might cause this problem. In effect, PNG maps exported from the monitor looks so ugly.

I'm attaching two figures (small and large monitors).

Any idea?

Attachments

1.png Download (11.2 KB) - added by hcho 5 years ago.
default monitor
2.png Download (22.7 KB) - added by hcho 5 years ago.
maximized monitor

Change History

Changed 5 years ago by hcho

default monitor

Changed 5 years ago by hcho

maximized monitor

Changed 4 years ago by hamish

see also trac #72.

Hamish

Note: See TracTickets for help on using tickets.