[GRASSLIST:9465] Re: r.to.vect give strange results

Jason Horn jhorn at bu.edu
Tue Dec 13 21:06:57 EST 2005


> please post exact commands you use, exact Grass messages - copy/paste
>
> I mean - post to the Grasslist, not to me :)
>
> Maciek


Ok here we go.

1) first attempt:
GRASS 6.1.cvs (tx_state_nad83):~ > r.to.vect in=test out=test_vect
crowded cell 6H (1,238) -continuing
crowded cell 6H (1,239) -continuing
crowded cell 6H (1,240) -continuing
update_list:  crowded cell 7H (1,244)
ERROR: cell file is not thinned properly.
        Please run r.thin

2) thinning:
GRASS 6.1.cvs (tx_state_nad83):~ > r.thin in=test out=test_thin
File test -- 336 rows X 448 columns
Bounding box:  l = 2, r = 449, t = 2, b = 337
    Path number 1
         Deleted 10063  pixels
.
.
.
    Path number 30
         Deleted 31  pixels
thinning completed successfully.
Output file 336 rows X 448 columns
Window 336 rows X 448 columns

3) second attempt after thinning:
GRASS 6.1.cvs (tx_state_nad83):~ > r.to.vect in=test_thin out=test_vect
update_list:  isolated cell (46,215)
.
.
.
update_list:  isolated cell (184,194)
crowded cell 6H (184,266) -continuing
update_list:  crowded cell 7H (200,240)
ERROR: cell file is not thinned properly.
        Please run r.thin
GRASS 6.1.cvs (tx_state_nad83):~ >

Even though I get the error, a vector file (test_vect) is still  
created. However, if I attempt to display that vector, I get the  
following errors:

GRASS 6.1.cvs (tx_state_nad83):~ > d.vect test_vect
WARNING: coor files of vector 'test_vect at PERMANENT' is larger than it
          should be (151584 bytes excess).
WARNING: Cannot display areas, topology not available




More information about the grass-user mailing list