Skip to content

Commit 450404f

Browse files
committed
fix: resolve bug in isochrone hole query
1 parent 97560d7 commit 450404f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/routing/src/routing/crud/crud_catchment_area.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@ async def save_result(self, obj_in, shapes, network, grid_index, grid):
516516
FROM isochrones_with_id a
517517
LEFT JOIN LATERAL
518518
(
519-
SELECT ST_DIFFERENCE(a.filled_geom, b.orig_geom) AS geom
519+
SELECT ST_DIFFERENCE(a.filled_geom, b.filled_geom) AS geom
520520
FROM isochrones_with_id b
521521
WHERE a.id + 1 = b.id
522522
) j ON {"TRUE" if obj_in.polygon_difference else "FALSE"};

0 commit comments

Comments
 (0)