We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When querying db, in some conditions st_union(ARRAY(...)) return a geometry with SRID 0 which raise a postgis Error.
select * from ( select obs.* from src_lpodatas.v_c_observations obs left join taxonomie.taxref t on obs.cd_nom = t.cd_nom where is_valid and ST_intersects(obs.geom, ( select ST_union( array[ST_transform(ST_PolygonFromText('Polygon ((4.26869195749907782 44.60729476349695943, 4.32826202363760348 44.60671480457767046, 4.32469941884767817 44.57158586432351655, 4.27308307503084706 44.57084020285586234, 4.27308307503084706 44.57084020285586234, 4.26869195749907782 44.60729476349695943))', 4326), 2154)]) as geom )) and (type_geom in ('ST_Point', 'ST_MultiPoint')) ) as "subQuery_0" limit 1 ;
Error: SQL Error [XX000]: ERROR: ST_Intersects: Operation on mixed SRID geometries (Point, 2154) != (Polygon, 0)
Error position:
QGIS 3.34, Postgis 3.4.3
No response
The text was updated successfully, but these errors were encountered:
refactor query area builder (fix #148)
d64430a
Merge pull request #149 from lpoaura/fix_148_st_union_on_querying_aras
781c10f
Successfully merging a pull request may close this issue.
What is the bug or the crash?
When querying db, in some conditions st_union(ARRAY(...)) return a geometry with SRID 0 which raise a postgis Error.
Steps to reproduce the issue
Error:
SQL Error [XX000]: ERROR: ST_Intersects: Operation on mixed SRID geometries (Point, 2154) != (Polygon, 0)
Error position:
Versions
QGIS 3.34, Postgis 3.4.3
Supported QGIS version
New profile
Additional context
No response
The text was updated successfully, but these errors were encountered: