<html>
<head>
<style>
P
{
margin:0px;
padding:0px
}
body
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body><div style="text-align: left;"><pre style="border: 0pt none ;">Hi all,<br>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 <span style="font-weight: bold;">linestring</span> instead of a<span style="font-weight: bold;"> multilinestring</span>? The geometry constranint is that it should return a multiline string or null but why does it return a linestring?<br>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"]</pre></div><br>Broun Uganda<br /><hr />Live Earth is coming. Learn more about the hottest summer event - only on MSN. <a href='http://liveearth.msn.com?source=msntaglineliveearthwlm' target='_new'>Check it out!</a></body>
</html>