Skip to content

Commit

Permalink
/deploy sit
Browse files Browse the repository at this point in the history
  • Loading branch information
sliu008 committed Oct 29, 2024
1 parent ab1c0d7 commit dcc4553
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions podaac/forge_py/open_cv_footprint.py
Original file line number Diff line number Diff line change
Expand Up @@ -445,8 +445,8 @@ def footprint_open_cv(lon, lat, width=3600, height=1800, path=None, threshold_va

if polygon_structure is not None:
simplified_polygon = simplify_polygon(polygon_structure)
clockwise = ensure_counter_clockwise(simplified_polygon)
reduced_precision = reduce_precision(clockwise)
return reduced_precision.wkt
reduced_precision = reduce_precision(simplified_polygon)
counter_clockwise = ensure_counter_clockwise(reduced_precision)
return counter_clockwise.wkt

raise Exception("No valid polygons found.")

0 comments on commit dcc4553

Please sign in to comment.