<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.3243" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY 
style="WORD-WRAP: break-word; webkit-nbsp-mode: space; webkit-line-break: after-white-space" 
bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Thanks for answering, Dane!</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>    Reading my post you can see i 
donīt see clearly what iīm doing. ;)</FONT></DIV>
<DIV><FONT face=Arial size=2>What i want to do is to create a unique linestring 
from other linestrings, some of them sharing points. When line 1 and line 2 have 
both a common point, then i want a unique line as result. And when they donīt 
share a point, then two lines. So i was reading old list archives and i 
read about linemerge.</FONT></DIV>
<DIV><FONT face=Arial size=2>But linemerge seems to produce that 
multilinestring, and what i want are two linestrings. So i try to dump the 
multilinestring and then errors appear...</FONT></DIV>
<DIV><FONT face=Arial size=2>1) St_dump doesnīt exist as function, and i donīt 
know why ( maybe an old postgis version?).In Postgis manual:</FONT></DIV>
<DIV><FONT face=Arial size=2>"<FONT face="Times New Roman" size=3>Availability: 
PostGIS 1.0.0RC1. Requires PostgreSQL 7.3 or higher." so, which is the 
problem?</FONT></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>2) if i try to dump(linemerge(collect(the_geom))) 
then :</FONT></DIV>
<DIV><FONT face=Arial size=2>ERROR: set-valued function called in context that 
cannot accept a set<BR>Estado SQL:0A000</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>But if i try your sentence it works well, so the 
problem appears when you try to dump(linemerge(collect.... 
directly.</FONT></DIV>
<DIV><FONT face=Arial size=2>Which is the difference?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>It works with your example but donīt know 
why...  :(</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Gus</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><BR> </DIV></BODY></HTML>