[postgis-users] shp2pgsql problem

coldwell at csptexas.com coldwell at csptexas.com
Mon Mar 29 12:12:18 PST 2004


Commands like these are typed from the Unix/Linux command line:

shp2pgsql shaperoads roadstable roadsdb > roads.sql 
psql -d roadsdb -f roads.sql

Hope this helps

Gene Coldwell



> Dear users :
> 
> I visited http://www.postgis.org/docs/x405.html i.e. to load my shape files 
> into postgreSQL (postgis extension) database.Under the "Using the Loader" 
> section. it doesnt say clearly where to type these commands ii.e. in unix as 
>   a command line argument or in postgreSQL. I have got my shape files in a 
> directory but have no idea how to put these into the databse.
> 
> ANy help would be appreciated.
> 
> Many Thanks
> 
> Saurabh Data
> 
> _________________________________________________________________
> It's fast, it's easy and it's free. Get MSN Messenger today! 
> http://www.msn.co.uk/messenger
> 
> _______________________________________________
> 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