pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql2shp - Could not create dbf file
2+ messages / 2 participants
[nested] [flat]

* pgsql2shp - Could not create dbf file
@ 2006-03-20 15:23 Fay Du <fay.du@versaterm.com>
  2006-03-27 14:51 ` Re: pgsql2shp - Could not create dbf file Markus Schaber <schabi@logix-tt.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Fay Du @ 2006-03-20 15:23 UTC (permalink / raw)
  To: pgsql-sql

Hi everyone:
     I got an error when I use pgsal2shp.
     My server is Linux
     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
 
     What was wrong? Any help will be appreciated.
 
Fay

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: pgsql2shp - Could not create dbf file
  2006-03-20 15:23 pgsql2shp - Could not create dbf file Fay Du <fay.du@versaterm.com>
@ 2006-03-27 14:51 ` Markus Schaber <schabi@logix-tt.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Markus Schaber @ 2006-03-27 14:51 UTC (permalink / raw)
  To: Fay Du <fay.du@versaterm.com>; +Cc: pgsql-sql

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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2006-03-27 14:51 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-03-20 15:23 pgsql2shp - Could not create dbf file Fay Du <fay.du@versaterm.com>
2006-03-27 14:51 ` Markus Schaber <schabi@logix-tt.com>

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