Here is an example

shp2pgsql -s 4326 -I -S yourshppath\yourshapefile schema.tablename > 
yourshppath\import.sql
psql -d database -U username -f yourshppath\import.sql
You could send your command so will see what is wrong




Shreerang Patwardhan 
<[email protected]>@postgis.refractions.net 
Envoyé par : [email protected]
21/01/2010 10:59 AM
Veuillez répondre à
PostGIS Users Discussion <[email protected]>


A
[email protected]
cc

Objet
[postgis-users] Importing shapefiles to PostGIS








Hey all,
     I am new to using PostgreSQL and PostGIS. I am using Ubuntu 9.04 and 
PostgreSQL 8.4 and PostGIS 1.4. I wish to upload some TIGER shapefiles to 
PostGIS. I have been trying to do this using the shp2pgsql command, but am 
not clear with exact sequence of steps that I need to follow. Please help 
me folks!! This is urgent and any help would be greatly appriciated!...

Thanx,
Shreerang._______________________________________________
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

Reply via email to