[postgis-users] loading shapefiles into postgis db

Shaq Gbadebo s_gbadebo at hotmail.com
Fri Mar 4 03:43:06 PST 2005


Hello,

I have succesfully installed postgis-0.8.1 with postgresql-7.3.4.

I am now trying to load it with data. The data which I have at present are 
in the form of shapefiles.

I have tried to use the postgis loader

shp2pgsql shaperoads myschema.roadstable | psql -d roadsdb

Whenever i carry out this command, all I get is "shape is null", and when I 
check to see what is in the database it appears empty. Do in need to do some 
other configurations?

Any kind of help would be most appreciated.