<div>Michael,<br><br>I did try that however the resultant table does not contain a polygon.<br><br>I added a small rectangle to the layer using uDig (through geoserver) and attempted the query again. A polygon was generated.
<br>I checked the layer using isclosed(geom) and it returned false. How do I determine where the the line is broken and then rectify the error?<br><br>Craig<br><br> </div><br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">
On Wed, Jul 04, 2007 at 11:31:37AM +1000, Craig Feuerherdt wrote:<br>> I have a table that has 275 individual multilinestrings. The geometries have<br>> come from a variety of tables and represent a bounding area.<br>
> I wish to create a single polygon from them.<br><br>Have you tried something like this?<br><br>select buildarea(geomunion(geom)) from tablename;<br><br>--<br>Michael Fuhr</blockquote>