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

Lorenzo Moretti lorenzo.moretti at bologna.enea.it
Wed Dec 22 11:17:19 EST 2004


Hamish wrote

>  > > Cannot open dbf database
>>
>>  the database (directory) probably does not exist.
>
>can the library function create $MAPSET/dbf/ automatically if it is
>needed? Much like any other directory under $MAPSET/. I've been meaning
>to add similar test+mkdir+db.connect code to v.in.garmin, but it would
>be nice if this was done automatically if it doesn't exist.
>
>or does this introduce other problems, e.g. if other db's are used?
>
>Hamish
>

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'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?
Is this normal?

Bye


-- 

-- 
________________________________________________________________________
||      Lorenzo Moretti        e-mail: lorenzo.moretti at bologna.enea.it     
||/|/|  ENEA prot/idr          Web: http://wwwamb.bologna.enea.it/    
||   |  via Don Fiammelli, 2   FTP: ftp://ftpamb.bologna.enea.it/ (ris.)
~~~~~~  40128 BOLOGNA - ITALY  Ph: +39-0516098086  Fax: +39-0516098131
________________________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20041222/42cca1d8/attachment.html


More information about the grass-user mailing list