Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[mssql] Do not expect that SRIDs are equivalent to postgis SRIDs
There is no direct relationship between postgis SRIDs and SRIDs used in any other database. If you imported data with GDAL, things may work, because GDAL prefers to use equivalent SRIDs to EPSG IDs / PostGIS SRIDs. If you imported data with QGIS, that will not work. QGIS MS SQL provider happily uses internal SRS IDs from srs.db for SRIDs. That should be probably modified to use GDAL's logic: 1. preferably use EPSG ID as SRID 2. if taken, find a safe SRID (cherry picked from commit 704959b)
- Loading branch information