Details Ticket 4260


Comment | Reply | Take | Resolve


Serial Number 4260
Subject v.out.ogr: ERROR 4 when writing do a dir containing a dbf file of a similar name
Area grass6
Queue grass
Requestors tutey@o2.pl
Owner none
Status open
Last User Contact Sat Apr 8 06:28:59 2006 (2 yr ago)
Current Priority 30
Final Priority 70
Due No date assigned
Last Action Wed Jul 26 18:27:46 2006 (2 yr ago)
Created Fri Apr 7 10:49:23 2006 (2 yr ago)

Transaction History Ticket 4260


Fri, Apr 7 2006 10:49:23    Request created by guest  
Subject: v.out.ogr: ERROR 4 when writing do a dir containing a dbf file of a
similar name

Platform: GNU/Linux/x86
grass obtained from: CVS
grass binary for platform: Compiled from Sources
GRASS Version: 2006-04-05

When exporting a shapefile into a directory, where a dbf with a similar name
already exists, v.out.ogr will yield an ERROR 4:

### In the destination DIR there is already an "test_org.dbf" file:

$ ls ~/moment/
test_org.dbf


### And somehow this confuses v.out.ogr, because it says:

$ v.out.ogr input=test type=area dsn=moment olayer=test
ERROR 4: Unable to open moment/test_org.shp or moment/test_org.SHP.
Exporting 1114 areas (may take some time) ...
 100%

### However, the shapefile seems to be written fine, looks fine when viewed in
### QGIS. Here's the dsn dir content after export:
$ ls ~/moment/
test.dbf  test_org.dbf  test.prj  test.shp  test.sh

Yet I'm still wondering if it is not corrupting my data. Or if it could, another
day. The ERROR 4 looks creepy.

Maciek
Sat, Apr 8 2006 06:28:59    Mail sent by hamish_nospam@yahoo.com  
Return-Path <hamish_nospam@yahoo.com>
Delivered-To grass-bugs@lists.intevation.de
Date Sat, 8 Apr 2006 16:28:46 +1200
From Hamish <hamish_nospam@yahoo.com>
To Request Tracker <grass-bugs@intevation.de>
Cc grass5@grass.itc.it
Subject Re: [GRASS5] [bug #4260] (grass) v.out.ogr: ERROR 4 when writing do a dir containing a dbf file of a similar name
Message-Id <20060408162846.57a5ab32.hamish_nospam@yahoo.com>
In-Reply-To <20060407084923.CF1EE101FCC@lists.intevation.de>
References <20060407084923.CF1EE101FCC@lists.intevation.de>
X-Mailer Sylpheed version 1.0.4 (GTK+ 1.2.10; i386-pc-linux-gnu)
X-Face M<EoB)"*Z~u!,vFhXmw}R_KbdBta*P_=T|rbBL'e1/CQ9;/1g\BU3&!=y8ria$2Uk!HT&BB 8i?|X_+7~1jsy}F~g$2va%3fV`*=L(*cem[@3\yg,G,@rg6/QMJ
Mime-Version 1.0
Content-Type text/plain; charset=US-ASCII
Content-Transfer-Encoding 7bit
X-Spam-Status No, hits=-4.0 tagged_above=-999.0 required=3.0 tests=BAYES_00, FORGED_YAHOO_RCVD
X-Spam-Level
> When exporting a shapefile into a directory, where a dbf with a
> similar name already exists, v.out.ogr will yield an ERROR 4:

multi-layer dbf gives files like test_layer1.dbf test_layer2.dbf
test_layer3.dbf. Maybe it incorrectly figures your similarly named DBF
file is a layer of the first map? 


Hamish


Wed, Jul 26 2006 18:27:46    User changed to tutey@o2.pl by msieczka  
Comment | Reply | Take | Resolve

You are currently authenticated as guest.
[Show Configuration] [Login as another user]

Users Guide - Mail Commands - Homepage of RequestTracker 1.0.7 - list any request