Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[browser] Fix addition of PostGIS layers with unknown CRS
When a PostGIS table does not have CRS specified (srid == 0) then it was not possible to correctly load it from browser (but it worked from DB manager). The problem was that browser item used negative srid in layer URI, messing up everything. Also fixed the display of srid in tooltip (it says "unknown" rather than showing -2147483648)
- Loading branch information
Showing
1 changed file
with
7 additions
and
2 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