[GRASS-dev] [bug #5263] (grass) r.to.vect: -v flag doesn't transfer cat values

Maciek Sieczka via RT grass-bugs at intevation.de
Wed Apr 25 12:47:56 EDT 2007

Hi Martin

Sorry for long time no reply. Your fix has improved the situation but there is
still something wrong. Please try the following to reproduce, if you would
like to look into the issue:

in spearfish:

g.region rast=roads -a
r.thin roads out=roads_thin
r.to.vect -v input=roads_thin output=roads_thin_vect_cat feature=line

g.region n=4922490 s=4921260 e=600300 w=598620 res=30 -a
d.rast roads_thin
d.vect -c roads_thin_vect_cat 

Please note the line of cat 4 overlaps cells of value 5, and the vector line
of cat 5 is half the region resolution too short.

Now look at another part:

g.region n=4922310 s=4921440 e=602640 w=601500 res=30 -a

There is a bogus red dangle (cat 2) in the center as you can see.


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

More information about the grass-dev mailing list