-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
crssync: also update 'deprecated' flag (fixes #18905)
- Loading branch information
Showing
1 changed file
with
12 additions
and
6 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
e15f7cc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @jef-n!
Unfortunately, this
bool deprecated = name.contains( QLatin1Literal( "(deprecated)" ) );
for now works only for PROJCSs with GDAL 2.2 and 2.3.0, but however it solves the inconsistencies reported in #18905 (except for EPSG 102067 that has deprecated=1 but not " deprecated" in the description and was manually updated at 792ac5a setting noupdate=1).
Anyway this fix will work also for GEOGCSs in a future version of GDAL (see OSGeo/gdal#575) and hopefully for GEOCCSs (see https://lists.osgeo.org/pipermail/gdal-dev/2018-May/048495.html and OSGeo/gdal#646) solving the discrepancies between srs.db and the GDAL EPSG derived support csv files about deprecated GEOGCSs and GEOCCSs also reported in #18905.