Skip to content

Commit

Permalink
fixup! fix hardcoded local srid
Browse files Browse the repository at this point in the history
  • Loading branch information
bouttier committed Sep 7, 2023
1 parent 5eb7663 commit 44cdc69
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion backend/geonature/core/gn_synthese/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -707,7 +707,9 @@ def export_observations_web(permissions):
id_list = request.get_json()

# Get the SRID for the export
local_srid = DB.session.execute(func.Find_SRID("gn_synthese", "synthese", "the_geom_local")).scalar()
local_srid = DB.session.execute(
func.Find_SRID("gn_synthese", "synthese", "the_geom_local")
).scalar()

blurring_permissions, precise_permissions = split_blurring_precise_permissions(permissions)

Expand Down

0 comments on commit 44cdc69

Please sign in to comment.