[GRASS-dev] X monitors display rasters half resolution off to the left

Maciej Sieczka sieczka at biol.uni.wroc.pl
Mon Mar 5 14:14:51 EST 2007


Hi,

In Spearfish:

$ g.region rast=landuse -a
$ d.mon x0
$ d.rast landuse

There is a black, vertical artifact line on the right edge of the monitor.

$ d.zoom -> out

It dissapears...

$ d.zoom -> in, until cells are visible

With some luck, you will see such artifact line on the right again -
different colors.

$ d.what.rast

Query some left-most non-null cells. If you click their left side, you
get null instead of the value you expect.

Query the left half of a null cell on the right of some right-most
non-null cell. Instead of null, you get the value you'd expect from
that non-null cell.

Seems like the raster is displayed half resolution off to the left,
compared to d.what.rast query results. A recently introduced bug.

This is propably the reason of the bug I reported as "r.to.vect
feature=lines: the output vector is moved half the resolution east off
the input raster"

http://wald.intevation.org/tracker/index.php?func=detail&aid=322&group_id=21&atid=204

Maciek




More information about the grass-dev mailing list