[postgis-users] RE Importing shapefiles to PostGIS

Shreerang Patwardhan patwardhan.shreerang at gmail.com
Fri Jan 22 20:00:54 PST 2010


Hello all,
        I have followed steps to import TIGER shapefile to PostGIS . I  got
the following output and errors.

shreerang at ubuntu:~/Shapefiles/06001_Alameda_County/tl_2008_06001_arealm$
shp2pgsql -s 4326 -I -S tl_2008_06001_arealm.shp public.test_db >
tl_2008_06001_arealm.sql
Shapefile type: Polygon
Postgis type: POLYGON[2]

shreerang at ubuntu:~/Shapefiles/06001_Alameda_County/tl_2008_06001_arealm$
psql -d test_db -U postgres -f import.sql
psql: FATAL:  Ident authentication failed for user "postgres"

Need help!!!


Thanx,
Shreerang.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20100123/7208790b/attachment.html>


More information about the postgis-users mailing list