[postgis-users] About AddPoint(linestring, point, [<position>])

Seamus Thomas Carroll carrolls at cpsc.ucalgary.ca
Mon Feb 7 15:53:37 PST 2005


Hi,

I was hoping to use AddPoint to build a LINESTRING by adding POINTs from 
time to time.  A problem arrises because innitially i want an empty 
LINESTRING.  It appears i cant begin to add points until there are at 
least two points in the LINESTRING (for that matter i cant create a 
LINESTRING with less than two points).

Is this by design or is it something that has not been needed up to this 
point?  Are there any suggestions on how i may accomplish this?

Thanks,

Seamus





More information about the postgis-users mailing list