Skip to content

Commit

Permalink
rollback functions.sql
Browse files Browse the repository at this point in the history
prod want ST_INTERSECTS  while ST_within was a test
  • Loading branch information
mattiagiupponi authored Jun 16, 2023
1 parent 0ef8168 commit 42c369e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions database/functions.sql
Original file line number Diff line number Diff line change
Expand Up @@ -1107,7 +1107,7 @@ BEGIN
acq_distretto d,
acq_condotta a
WHERE d_tipo = ''MIS''
AND a.geom&&d.geom AND ST_Within(a.geom,d.geom)
AND a.geom&&d.geom AND ST_INTERSECTS(a.geom,d.geom)
AND d.d_tipo = ''MIS''
) t WHERE t.idgis = ' || v_table || '.idgis
);
Expand Down Expand Up @@ -4803,4 +4803,4 @@ begin
END;
$$ LANGUAGE plpgsql
SECURITY DEFINER
SET search_path = public, DBIAIT_ANALYSIS;
SET search_path = public, DBIAIT_ANALYSIS;

0 comments on commit 42c369e

Please sign in to comment.