[Cartoweb-users] Edit plugin sql error

Broun Uganda tekuganda at hotmail.com
Mon Jun 25 08:27:24 EDT 2007


Dear all,When i create an sql using shp2pgsql, the sql creates a constraint, i dont understand and it is not explicit in the sql. The sql is thus:-CONSTRAINT enforce_geotype_the_geom CHECK (geometrytype(the_geom) = 'MULTILINESTRING'::text OR the_geom IS NULL),The problem is it wont allow me to edit_move or edit_line a line. Could it be implicit in these and what does it mean?SELECT AddGeometryColumn('','contours,'the_geom','-1','MULTILINESTRING',4);CREATE INDEX "contours_the_geom_gist" ON "contours" using gist ("the_geom" gist_geometry_ops);Broun Uganda
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/cartoweb-users/attachments/20070625/a7cde7c3/attachment.html


More information about the Cartoweb-users mailing list