[postgis-users] Converting a shapefile to postGIS
Okeh, Sam
Sam.Okeh at co.fulton.ga.us
Wed Mar 31 17:53:00 PST 2004
Thanks Carl and David and Tyler!
I am still relatively new to postgres/postGIS and more importantly, I am still trying to figure out how our postgres database structure and domain are set up.
>I'm betting that the command you are typing
is precisely that that you posted, right? Having -dbf=<Street shapefile>
is incorrect, and <Street shapefile>
Actually, the real code has the actual shape file name.
A colleague of mine who is more versed in postgres/postgis and who understands our current postgis process has resolved the issue.
It has more to do with permissions than anything else.
-----Original Message----- T
From: David Mitchell [mailto:david.mitchell at telogis.com]
Sent: Wed 3/31/2004 8:34 PM
To: PostGIS Users Discussion
Cc:
Subject: Re: [postgis-users] Converting a shapefile to postGIS
> The following is the command that I am using:
>
> shpPg –db=gis –schema=transportation –table=Streets –dbf=<Street shapefile> -initial
> I just keep getting this error:
>
> Street: no such directory or file exists
The key is in the error message. Note how it says the file 'Street'
doesn't exist (not Streets). I'm betting that the command you are typing
is precisely that that you posted, right? Having -dbf=<Street shapefile>
is incorrect, and <Street shapefile> should be replaced with the name of
your dbf file. "<Street" is being interpreted as a command to pipe stdin
from the file 'Street", which is what causes the error.
--
David Mitchell
Software Engineer
Telogis
NOTICE:
This message (including any attachments) contains CONFIDENTIAL
INFORMATION intended for a specific individual and purpose, and
is protected by law. If you are not the intended recipient,
you should delete this message and are hereby notified that any
disclosure, copying, or distribution of this message, or the
taking of any action based on it, is strictly prohibited.
_______________________________________________
postgis-users mailing list
postgis-users at postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 6166 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20040331/72f69e9b/attachment.bin>
More information about the postgis-users
mailing list