[GRASSLIST:5255] Re: [bug #2864] (grass) v.in.ogr fails many times

Radim Blazek blazek at itc.it
Wed Jan 5 11:47:19 EST 2005


Lorenzo Moretti wrote:
> Hamish wrote
> OK for dbf folder but I've many infinite loop for "Break boundaries" in 
> several shp files and I have to "kill" v.in.ogr.

I cannot reproduce the bug with the data I recieved. The function 
Vect_break_lines was not changed 16 months. I dont say that the problem
does not exist, but I have no chance to discover it.
Can you try to increase DEBUG level?

> I've discovered one tip for opening these problematic shp files 
> (57_cvs_041218).
> 
> In v.in.ogr the flag -c (Do not clean polygons) is disabled.
> In old 5.7cvs v.in.ogr imported shp files and cleaned polygons without 
> problems.
> 
> Now for some problematic shp files I enable -c flag in v.in.ogr and the 
> shp is imported. After I select v.clean and I select this vect and a new 
> vect with "break" as "Cleaning tool". The new vector is created without 
> problem.
> 
> But I think
> Why "v.in.ogr" normal goes to infinite loop and "v.in.ogr -c" + 
> "v.clean" works?

v.in.ogr -c + v.clean != v.in.ogr

Radim




More information about the grass-user mailing list