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

Michael Fuhr mike at fuhr.org
Thu Jul 19 01:44:24 PDT 2007


On Thu, Jul 19, 2007 at 07:50:19AM +0200, Intengu Technologies wrote:
> 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.

Does uDig support 3-dimensional geometries?  I couldn't view your
original geometry with uDig or QGIS but I was able to view a
2-dimensional version returned by st_force_2d().

-- 
Michael Fuhr



More information about the postgis-users mailing list