[postgis-users] Closing a LINESTRING

James G Wilkinson jgw at alpinegeophysics.com
Sun Nov 12 13:55:32 PST 2006


strk,

Thanks for the pointer to linemerge(), but I am still not sure how to 
insert an additional
linestring into the existing geometrycollection.  Maybe this a "duh," 
but I have not
figured out how to inert a line segment into the existing geometry.

Regards,

Jim

strk at refractions.net wrote:

>On Sat, Nov 11, 2006 at 10:42:06AM -0800, James G Wilkinson wrote:
>  
>
>>I am not sure this is the correct board for this, but here goes.
>>
>>I have a GEOMETRYCOLLECTION that represents a
>>meandering line.  It is a valid geometry per ISVALID(), and
>>it is not closed per ISCLOSED().  Is there anyway that I
>>can insert an additional line into this collection so that ISCLOSED()
>>will return true?  That is I want to connect the start point and end
>>point of this collection.
>>    
>>
>
>See linemerge() manual entry (to use *after* adding the new line
>to the collection.
>
>--strk;
>_______________________________________________
>postgis-users mailing list
>postgis-users at postgis.refractions.net
>http://postgis.refractions.net/mailman/listinfo/postgis-users
>
>
>  
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20061112/7a463f28/attachment.html>


More information about the postgis-users mailing list