From: Markus Schaber <schabi@logix-tt.com>
To: Fay Du <fay.du@versaterm.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: pgsql2shp - Could not create dbf file
Date: Mon, 27 Mar 2006 16:51:51 +0200
Message-ID: <4427FC07.5030302@logix-tt.com> (raw)
In-Reply-To: <004201c64c32$3c89afd0$b8d849c6@versaterm.com>
References: <004201c64c32$3c89afd0$b8d849c6@versaterm.com>
Hi, Fay,
First, this would be better posted to the PostGIS lists, as pgsql2shp is
a PostGIS utility, and not a PostgreSQL SQL query.
Fay Du wrote:
> The command I used is: pgsql2shp -f newroads gisdb testarea
>
> Where, newroads is my out put file name, gisdb is database name,
> and testarea is table name.
>
> After hit enter button, I got the message: Initializing... Could
> not create dbf file
It seems that there was an error creating the newroads.dbf file - each
shapefile consists of corresponding .shp, .dbf and .shx files.
Do you have permissions on the directory to create those three files?
Markus
--
Markus Schaber | Logical Tracking&Tracing International AG
Dipl. Inf. | Software Development GIS
Fight against software patents in EU! www.ffii.org www.nosoftwarepatents.org
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: schabi@logix-tt.com, fay.du@versaterm.com
Subject: Re: pgsql2shp - Could not create dbf file
In-Reply-To: <4427FC07.5030302@logix-tt.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox