This commit is contained in:
abelvm 2016-08-12 13:48:55 -04:00
parent 8430b98931
commit 5c207d9ec0

View File

@ -76,7 +76,7 @@ BEGIN
ST_MakeLine(n.p1,n.p2) ,
ST_MakeLine(n.p2,n.p3) ,
ST_MakeLine(n.p3,n.p1)]) as Edge,
ST_Force_2D(cdb_crankshaft._Find_Circle(n.p1,n.p2,n.p3)) as ct ,
ST_Force_2D(cdb_crankshaft._Find_Circle(n.p1,n.p2,n.p3)) as ct,
CASE WHEN st_distance(p.ct, ST_ExteriorRing(p.pg)) < tolerance THEN
TRUE
ELSE FALSE END AS ctx,