[GRASS-dev] [bug #3729] (grass) g.region zoom= off by one error on eastern side

Maciek Sieczka via RT grass-bugs at intevation.de
Sun Sep 24 10:34:26 EDT 2006


This bug is still present and it's bad. In spearfish60:

$ g.region -a n=4916070 s=4915800 w=602940 e=603240 res=30

$ r.mapcalc 'map1=1'

$ g.region -a n=4916250 s=4915620 w=602730 e=603450 res=30

$ g.region zoom=map1

$ g.region -g
n=4916070
s=4915800
w=602940
e=603270
nsres=30
ewres=30
rows=9
cols=11

WRONG: 'e' should be '603240' -> 'cols' should be '10'.

Maciek


-------------------------------------------- Managed by Request Tracker




More information about the grass-dev mailing list