[postgis-devel] r15336 - #3589, Orientation checking and forcing fuctions

Sandro Santilli strk at kbt.io
Fri Mar 17 00:19:48 PDT 2017


On Thu, Mar 16, 2017 at 05:28:07PM -0700, Daniel Baston wrote:
> Author: dbaston
> Date: 2017-03-16 17:28:07 -0700 (Thu, 16 Mar 2017)
> New Revision: 15336

> +						<function>ST_IsPolygonCCW</function>
...
> +				Returns true for all non-polygonal geometries.

I don't like this approach. Why true ? I'd rather see a NULL return
there, if you don't want to be hit by an exception.

What do others think about this ?

--strk;



More information about the postgis-devel mailing list