Skip to content

Commit c91e33d

Browse files
agiudiceandreanyalldawson
authored andcommittedJan 25, 2018
Fixes a typo in syncDb()
Fixes a typo in QgsCoordinateReferenceSystem::syncDb() that improperly set "Imported from GDAL" as name for all geographical coordinate systems imported from GDAL/PROJ definitions during postintall CRS database synch. Fixes #17941
1 parent 975ef8e commit c91e33d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/core/qgscoordinatereferencesystem.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1962,7 +1962,7 @@ int QgsCoordinateReferenceSystem::syncDatabase()
19621962
ellps = ellipseRegExp.cap( 1 );
19631963
}
19641964

1965-
QString name( OSRIsGeographic( crs ) ? OSRGetAttrValue( crs, "GEOCS", 0 ) : OSRGetAttrValue( crs, "PROJCS", 0 ) );
1965+
QString name( OSRIsGeographic( crs ) ? OSRGetAttrValue( crs, "GEOGCS", 0 ) : OSRGetAttrValue( crs, "PROJCS", 0 ) );
19661966
if ( name.isEmpty() )
19671967
name = QObject::tr( "Imported from GDAL" );
19681968

0 commit comments

Comments
 (0)
Please sign in to comment.