-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ab51b1f
commit b67bfe9
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -76,8 +76,8 @@ def build_blurred_precise_geom_queries( | |
CorAreaSyntheseAlias = aliased(CorAreaSynthese) | ||
LAreasAlias = aliased(LAreas) | ||
BibAreasTypesAlias = aliased(BibAreasTypes) | ||
# [email protected]_4326 | ||
geom = LAreasAlias.geom.st_transform(4326).label("geom") | ||
|
||
geom = LAreasAlias.geom_4326.label("geom") | ||
# In SyntheseQuery below : | ||
# - query_joins parameter is needed to bypass | ||
# "self.query_joins is not None" condition in the build_query() method below | ||
|
@@ -107,7 +107,7 @@ def build_blurred_precise_geom_queries( | |
CorAreaSyntheseAlias, | ||
CorAreaSyntheseAlias.id_synthese == Synthese.id_synthese, | ||
), | ||
geom_column=LAreas.geom, | ||
geom_column=LAreas.geom_4326, | ||
) | ||
# Joins here are needed to retrieve the blurred geometry | ||
blurred_geom_query.add_join(LAreasAlias, LAreasAlias.id_area, CorAreaSyntheseAlias.id_area) | ||
|