Tue, Dec 21 2004
13:25:08
|
|
Request created by guest
|
|
Subject: v.in.ogr fails many times importing shp files
Platform: Mac OSX
grass obtained from: CVS
grass binary for platform: Compiled from Sources
GRASS Version: 2004_12_18
v.in.ogr fails many times importing shp files.
This is a big problem because in cvs_2004_09_20 release v.in.ogr worked with
all files.
Now I have many problems with many files.
I have created new empty LOCATION for importing files.
Same shp files worked with old v.in.ogr but now they go to error or Grass exit...
I always use -o flag (override)
Only few shp files don't have problems.
This is one error:
DBMI-DBF driver error:
Cannot open dbf database: /myworks/grassdata/myproj_utm33/PERMANENT/dbf/
Cannot open database '/myworks/grassdata/myproj_utm33/PERMANENT/dbf/'
Cannot open database /myworks/grassdata/myproj_utm33/PERMANENT/dbf/ by driver
dbf
but there are other messages.
Another error is a loop about breaking nodes.
It's impossible to import files.
-----------------------------
v.external works without problem |
|
Wed, Dec 22 2004
17:51:38
|
|
Mail sent by michael.barton@asu.edu
|
|
Return-Path |
<Michael.Barton@asu.edu>
|
Delivered-To |
grass-bugs@lists.intevation.de
|
Date |
Wed, 22 Dec 2004 09:50:25 -0700
|
From |
Michael Barton <michael.barton@asu.edu>
|
Subject |
Re: [GRASS5] [bug #2865] (grass) v.in.ogr fails many times importing shp files
|
In-reply-to |
<20041221122508.261A510015A@lists.intevation.de>
|
To |
Request Tracker <grass-bugs@intevation.de>, grass5@grass.itc.it, Lorenzo Moretti <lorenzo.moretti@bologna.enea.it>
|
Message-id |
<BDEEF3E1.668E%michael.barton@asu.edu>
|
MIME-version |
1.0
|
Content-type |
text/plain; charset=US-ASCII
|
Content-transfer-encoding |
7bit
|
User-Agent |
Microsoft-Entourage/11.1.0.040913
|
X-Spam-Status |
No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
|
X-Spam-Level |
|
Lorenzo,
I was able to try v.in.ogr your 18 December 2004 build of GRASS 5.7 cvs for
Mac OSX. It worked fine for me.
I tried it with a shape file of points in a latlon region in Arizona (USA)
and with a shape file of polygons (always messy because ArcView is
non-topological) in a UTM (European Datum 1950) region in Spain. In both
cases, the vector shapes and attribute tables seemed to import correctly. I
just did a spot check, but the attribute table seemed to be correctly linked
to the vector shapes in both cases. In both cases, the attribute tables have
quite a few fields of diverse data types.
>From your messages below, it seems perhaps that a dbf folder (or 'vect' text
file specifying it) was not properly created in your GRASS location. I did
not create new locations, but did create new mapsets for both tests.
I hope that this will be helpful to you in debugging this.
Michael
On 12/21/04 5:25 AM, "Request Tracker" <grass-bugs@intevation.de> wrote:
> this bug's URL: http://intevation.de/rt/webrt?serial_num=2865
> -------------------------------------------------------------------------
>
> Subject: v.in.ogr fails many times importing shp files
>
> Platform: Mac OSX
> grass obtained from: CVS
> grass binary for platform: Compiled from Sources
> GRASS Version: 2004_12_18
>
> v.in.ogr fails many times importing shp files.
>
> This is a big problem because in cvs_2004_09_20 release v.in.ogr worked with
> all files.
> Now I have many problems with many files.
> I have created new empty LOCATION for importing files.
> Same shp files worked with old v.in.ogr but now they go to error or Grass
> exit...
> I always use -o flag (override)
>
> Only few shp files don't have problems.
>
> This is one error:
> DBMI-DBF driver error:
> Cannot open dbf database: /myworks/grassdata/myproj_utm33/PERMANENT/dbf/
> Cannot open database '/myworks/grassdata/myproj_utm33/PERMANENT/dbf/'
> Cannot open database /myworks/grassdata/myproj_utm33/PERMANENT/dbf/ by driver
> dbf
>
> but there are other messages.
>
> Another error is a loop about breaking nodes.
>
> It's impossible to import files.
>
> -----------------------------
> v.external works without problem
>
> -------------------------------------------- Managed by Request Tracker
>
>
>
____________________
C. Michael Barton, Professor of Anthropology
School of Human Evolution and Social Change
PO Box 872402
Arizona State University
Tempe, AZ 85287-2402
USA
Phone: 480-965-6262
Fax: 480-965-7671
www: <www.public.asu.edu/~cmbarton>
|
|
Thu, Dec 23 2004
15:45:26
|
|
Mail sent by lorenzo.moretti@bologna.enea.it
|
|
Return-Path |
<lorenzo.moretti@bologna.enea.it>
|
Delivered-To |
grass-bugs@lists.intevation.de
|
Mime-Version |
1.0
|
Message-Id |
<a06200702bdf088d0fb96@[192.107.62.86]>
|
In-Reply-To |
<20041222165138.BB6AA102BF5@lists.intevation.de>
|
References |
<20041222165138.BB6AA102BF5@lists.intevation.de>
|
Date |
Thu, 23 Dec 2004 15:45:19 +0100
|
To |
Michael Barton via RT <grass-bugs@intevation.de>
|
From |
Lorenzo Moretti <lorenzo.moretti@bologna.enea.it>
|
Subject |
Re: [bug #2865] (grass) v.in.ogr fails many times importing
|
Content-Type |
text/plain; charset="us-ascii" ; format="flowed"
|
X-Spam-Status |
No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
|
X-Spam-Level |
|
Hi Michael
>Lorenzo,
>
>I was able to try v.in.ogr your 18 December 2004 build of GRASS 5.7 cvs for
>Mac OSX. It worked fine for me.
>
>I tried it with a shape file of points in a latlon region in Arizona (USA)
>and with a shape file of polygons (always messy because ArcView is
>non-topological) in a UTM (European Datum 1950) region in Spain. In both
>cases, the vector shapes and attribute tables seemed to import correctly. I
>just did a spot check, but the attribute table seemed to be correctly linked
>to the vector shapes in both cases. In both cases, the attribute tables have
>quite a few fields of diverse data types.
>
>>From your messages below, it seems perhaps that a dbf folder (or 'vect' text
>file specifying it) was not properly created in your GRASS location. I did
>not create new locations, but did create new mapsets for both tests.
>
>I hope that this will be helpful to you in debugging this.
>
>Michael
>
I've problem with some shp files not all. Some shp send v.in.ogr to
infinite loop but if I select -c flag (Do not clean polygons)
v.in.ogr works. After I select v.clean and with "break" as "Cleaning
tool" the new vector is created without problem.
It's strange but some shp of mine have this problem with v.in.ogr
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.)
~~~~~~ 40128 BOLOGNA - ITALY Ph: +39-0516098086 Fax: +39-0516098131
________________________________________________________________________
|
|
Fri, Feb 25 2005
15:31:01
|
|
Mail sent by pcavallini
|
|
Ciao Lorenzo.
Il bug e' ancora aperto? Sto cercando di fare un po' di pulizia nella
buglist.
Saluti.
pc |
|
Tue, Mar 1 2005
10:26:12
|
|
Status changed to resolved by pcavallini
|
|