[postgis-devel] Invalid output from ST_BuildArea()

Mark Cave-Ayland mark.cave-ayland at siriusit.co.uk
Fri Sep 19 08:07:57 PDT 2008


Obe, Regina wrote:

> Sorry to not answer the question you are interested in, but just wanted
> you to clarify something.  
> 
> I always thought it was perfectly legal for a linestring to have 2
> points.
> Do you mean >= or just > ?

Ooops yes, you are right - that was a typo/thinko. The actual check in 
the LINESTRING code is to error for numpoints < 2, which is of course 
allows LINESTRINGs with numpoints >=2...


ATB,

Mark.

-- 
Mark Cave-Ayland
Sirius Corporation - The Open Source Experts
http://www.siriusit.co.uk
T: +44 870 608 0063



More information about the postgis-devel mailing list