Skip to content

Commit

Permalink
Fix making geom query
Browse files Browse the repository at this point in the history
  • Loading branch information
margrietpalm committed Sep 26, 2024
1 parent 4a4eb7a commit 3951279
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -220,13 +220,13 @@ def set_geom_for_control_measure_map():
-- Transform to EPSG:4326 for the projection, then back to the original SRID
MakeLine(
cml.geom,
PointOnSurface(ST_Transform(
ST_Transform(
ST_Translate(
ST_Transform(tc.geom, {srid}),
0, 1, 0
),
4326
))
)
)
ELSE
MakeLine(cml.geom, tc.geom)
Expand Down

0 comments on commit 3951279

Please sign in to comment.