Hi Leo, giving a proper path to the sql file has suggested gave the help screen for shp2pgsql. I sue VISTA O/S, and the Pgadmin and postgis are working fine. It is only this usage through command prompt doesnt work. Ravi
--- On Mon, 27/7/09, Paragon Corporation <[email protected]> wrote: > From: Paragon Corporation <[email protected]> > Subject: Re: [postgis-users] shp2pgsql > To: "'PostGIS Users Discussion'" <[email protected]> > Date: Monday, 27 July, 2009, 6:06 AM > Ravi, > > Try specifying the full path to the .sql file. It > sounds like its > defaulting to a location e.g the pg data folder where your > account doesn't > have rights to write to. > > So for example try "C:/bc_pubs.sql" > > Leo > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] > On Behalf Of Ravi > Sent: Sunday, July 26, 2009 6:53 PM > To: postgis > Subject: [postgis-users] shp2pgsql > > > Hi, > trying to create an SQL for a shape file. > shp2pgsql -i -D -s 3005 bc_pubs.shp bcpubs > bc_pubs.sql > this issues an > error from command prompt > Error: 'Access Denied' > > My Vista user = Ravi > PostGIS user = postgres > > any suggestions pl > Ravi > > > See the Web's breaking stories, > chosen by people like you. Check > out Yahoo! Buzz. http://in.buzz.yahoo.com/ > _______________________________________________ > postgis-users mailing list > [email protected] > http://postgis.refractions.net/mailman/listinfo/postgis-users > > > _______________________________________________ > postgis-users mailing list > [email protected] > http://postgis.refractions.net/mailman/listinfo/postgis-users > Yahoo! recommends that you upgrade to the new and safer Internet Explorer 8. http://downloads.yahoo.com/in/internetexplorer/ _______________________________________________ postgis-users mailing list [email protected] http://postgis.refractions.net/mailman/listinfo/postgis-users
