[postgis-users] problem with pgsql2shp and shp2pgsql

strk strk at keybit.net
Wed Apr 7 06:09:14 PDT 2004


On Wed, Apr 07, 2004 at 05:49:42AM -0700, Andrea Rossi wrote:
> When I use the command pgsql2shp I recive the error:
> Initializing... Could not create dbf file

You probably do not have permissions to write the output file.

> 
> and when I try tu use the command shp2pgsql i recive
> the error:
> 
> shape is null

shp2pgsql could not open the shapefile (pretty cryptic message indeed)

> 
> I am logged in as root and I have alla privileges. The
> shap is not null.
> 
> 
> What could be? Any Idea?

You might be using the wrong path... or you found a bug.
What version of pgsql2shp/shp2pgsql are you using ?
What OS are you on ?

--strk;

> 
> __________________________________
> Do you Yahoo!?
> Yahoo! Small Business $15K Web Design Giveaway 
> http://promotions.yahoo.com/design_giveaway/
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users



More information about the postgis-users mailing list