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

Intengu Technologies sindile.bidla at gmail.com
Thu Jul 19 06:09:37 PDT 2007


st_force_2d() - does this mean i must change my shape field from PolgonM to
Polygon, I have done that using ET Geowizard in ArcGIS and able to view the
features.

On 19/07/07, Michael Fuhr <mike at fuhr.org> wrote:
>
> 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
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
>



-- 
Sindile Bidla
Intengu Technologies
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20070719/38afbbfb/attachment.html>


More information about the postgis-users mailing list