[postgis-users] Unable to convert shapefile layer to postgis layer

Intengu Technologies sindile.bidla at gmail.com
Wed Jul 18 22:50:19 PDT 2007


Using shp2pgsql to convert a shapefile to postgis, creates the table (can
view using pgadmin) but cannot view the feature in udig. Here is my syntax
at the prompt: shp2pgsql.exe -s 4148  mypath \allotment_el.shp allotmentel |
psql database - U myname
Having pressed  enter for password this comes up

Shapefile type: PolygonM
Postgis type: Multipolygonm[3]
Password for user myname:

shp2pgsql executes and creates the table.

I have also attached sample shapefiles.
-- 
Sindile Bidla
Intengu Technologies
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20070719/b8f6df50/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: allotment_el.dbf
Type: application/octet-stream
Size: 556 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20070719/b8f6df50/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: allotment_el.prj
Type: application/octet-stream
Size: 167 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20070719/b8f6df50/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: allotment_el.sbn
Type: application/octet-stream
Size: 132 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20070719/b8f6df50/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: allotment_el.sbx
Type: application/octet-stream
Size: 116 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20070719/b8f6df50/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: allotment_el.shp
Type: application/octet-stream
Size: 53980 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20070719/b8f6df50/attachment-0004.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: allotment_el.shp.xml
Type: text/xml
Size: 11577 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20070719/b8f6df50/attachment.xml>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: allotment_el.shx
Type: application/octet-stream
Size: 108 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20070719/b8f6df50/attachment-0005.obj>


More information about the postgis-users mailing list