$ 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"
Am Montag, 5. März 2007 20:14 schrieb Maciej Sieczka:
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"
On Tue, Mar 06, 2007 at 11:15:35AM +1300, Hamish wrote:
Maciej Sieczka wrote:
> 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.
I see it too, in 6.3cvs but not 6.2.1.
drag the xmon to be twice as wide as it is tall to see the grey band
clearly.
$ 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.
Okay; I'm fairly sure that this was introduced with my changes to the
display/raster libraries, specifically the addition and use of
R_scaled_raster().
What I'm less of is whether I introduced a new off-by-one bug or fixed
one which was being cancelled out by another bug elsewhere.
> 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.
Okay; I'm fairly sure that this was introduced with my changes to the
display/raster libraries, specifically the addition and use of
R_scaled_raster().
What I'm less of is whether I introduced a new off-by-one bug or fixed
one which was being cancelled out by another bug elsewhere.