[Cartoweb-users] Edit plugin MULTILINESTRING ERROR
tekuganda at hotmail.com
Mon Jul 2 07:46:27 EDT 2007
Could you explain what you mean by delicate,
I just changed the linestring to multilinestringIt still returns the same error.Broun Uganda
From: oliver.christen at camptocamp.comTo: tekuganda at hotmail.com; cartoweb-users at lists.maptools.orgSubject: Re: [Cartoweb-users] Edit plugin MULTILINESTRING ERRORDate: Mon, 2 Jul 2007 08:32:59 +0200
most likely because only LINESTRING was implemented in the plugin and not MULTILINESTRING
it should be possible to implemente that, though it may be delicate.
I think the code to modify is in the function getGeometryType (ServerEdit.php)
----- Original Message -----
From: Broun Uganda
To: cartoweb-users at lists.maptools.org
Sent: Monday, July 02, 2007 4:17 AM
Subject: [Cartoweb-users] Edit plugin MULTILINESTRING ERROR
Hi all,May some one advise me what the error is in this case. Every time i move a line in my edit i get this error below. why does it return a linestring instead of a multilinestring? The geometry constranint is that it should return a multiline string or null but why does it return a linestring?UPDATE public.links SET the_geom = GeometryFromText('LINESTRING(493630.4177779367 1995850.7688888889,493350.18066688 1995824.71352007)', -1) , id = '53', year = '1978', material = 'Ceramic', condition = 'Fair', diameter = '255', from_node = '18', to_node = '17' WHERE gid = 43 [nativecode=ERROR: new row for relation "links" violates check constraint "enforce_geotype_the_geom"]Broun Uganda
Live Earth is coming. Learn more about the hottest summer event - only on MSN. Check it out!
_______________________________________________Cartoweb-users mailing listCartoweb-users at lists.maptools.orghttp://lists.maptools.org/mailman/listinfo/cartoweb-users
Express yourself instantly with MSN Messenger! Download today it's FREE!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Cartoweb-users