Skip to content

Commit

Permalink
fix max symbol shift
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Jul 2, 2024
1 parent 20e8942 commit 31bbd11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datamodel/app/vw_sign_symbol.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ def vw_sign_symbol(srid: int, pg_service: str = None):
SELECT
uv.id || '-' || _verso::int AS pk
, uv.*
, _symbol_height + MAX(_symbol_shift) OVER ( PARTITION BY uv.support_id, azimut, _verso ) AS _max_shift_for_azimut
, MAX(_group_height) OVER ( PARTITION BY uv.support_id, azimut, _verso ) AS _max_shift_for_azimut
, CASE
WHEN directional_sign IS TRUE AND (frame_anchor, _natural_direction_or_left_rectified) IN (
('LEFT', TRUE),
Expand Down

0 comments on commit 31bbd11

Please sign in to comment.