Bug report #4958
SL provider crs() method returns nearly always a custom CRS
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | - | ||
Category: | - | ||
Affected QGIS version: | master | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | No | Resolution: | |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 14753 |
Description
The SL provider uses proj4string from internal spatial_ref_sys table instead of srid to create a crs.
Since QGis crs-db contains modified CRSs (proj4 strings have a +towgs84 param) most of the SL layers has a custom CRS so when executing layer.crs().postgisSrid() returns 0 instead of the correct CRS.
Associated revisions
spatialite provider: prefer auth_id over proj4 string (fix #4958)
History
#1 Updated by Jürgen Fischer almost 13 years ago
- % Done changed from 0 to 100
- Status changed from Open to Closed
Fixed in changeset 6878bf1b581fe83752494fb3690e6bc2478c5fb7.