Skip to content
New issue

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

PG unrestricted geometry: trust SRID from geometry_columns #38763

Merged

Conversation

elpaso
Copy link
Contributor

@elpaso elpaso commented Sep 15, 2020

Fixes #38567 where the SRID was not detected if the table was empty.

Also: do not override the SRID passed explicitly in the data source
URI.

Note: the logic in the provider is becoming a bit convoluted, there
are too many corner cases, at least the test coverage is pretty
good.

Fixes qgis#38567 where the SRID was not detected if the table was empty.

Also: do not override the SRID passed explicitly in the data source
URI.

Note: the logic in the provider is becoming a bit convoluted, there
are too many corner cases, at least the test coverage is pretty
good.
@elpaso elpaso added Data Provider Related to specific vector, raster or mesh data providers Bug Either a bug report, or a bug fix. Let's hope for the latter! labels Sep 15, 2020
@github-actions github-actions bot added this to the 3.16.0 milestone Sep 15, 2020
@elpaso elpaso merged commit 49037e0 into qgis:master Sep 16, 2020
@elpaso elpaso deleted the bugfix-gh38567-pg-unrestricted-geometry-srid branch September 16, 2020 06:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Data Provider Related to specific vector, raster or mesh data providers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PostGIS layer saved in 3.10 project, fail to load correctly on 3.14
1 participant