→
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@bologna.enea.it
||/|/| ENEA prot/idr Web: http://wwwamb.bologna.enea.it/
|| | via Don Fiammelli, 2 FTP: ftp://ftpamb.bologna.enea.it/ (ris.)
________________________________________________________________________