/*Only return points with an effective area above the threashold*/
for (p=0;p<ea->inpts->npoints;p++)
{
- if(ea->res_arealist[p]>=trshld)
+ if(ea->res_arealist[p]>trshld)
{
pt=getPoint4d(ea->inpts, p);
pt.m=ea->res_arealist[p];
/*Only return points with an effective area above the threashold*/
for (p=0;p<ea->inpts->npoints;p++)
{
- if(ea->res_arealist[p]>=trshld)
+ if(ea->res_arealist[p]>trshld)
{
pt=getPoint4d(ea->inpts, p);
ptarray_append_point(opts, &pt, LW_TRUE);
LANGUAGE 'c' IMMUTABLE STRICT;
-- Availability: 2.2.0
-CREATE OR REPLACE FUNCTION ST_SetEffectiveArea(geometry, float8 default 0, integer default 1)
+CREATE OR REPLACE FUNCTION ST_SetEffectiveArea(geometry, float8 default -1, integer default 1)
RETURNS geometry
AS 'MODULE_PATHNAME', 'LWGEOM_SetEffectiveArea'
LANGUAGE 'c' IMMUTABLE STRICT;