Skip to content

Commit 141be44

Browse files
authored
Merge pull request #6153 from agiudiceandrea/patch-1
Fixes a typo in syncDb() that improperly set "Imported from GDAL" as name for all geogcs imported from GDAL/PROJ
2 parents 1c34b25 + 12b3011 commit 141be44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/qgscoordinatereferencesystem.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1807,7 +1807,7 @@ int QgsCoordinateReferenceSystem::syncDb()
18071807
ellps = ellipseRegExp.cap( 1 );
18081808
}
18091809

1810-
QString name( OSRIsGeographic( crs ) ? OSRGetAttrValue( crs, "GEOCS", 0 ) : OSRGetAttrValue( crs, "PROJCS", 0 ) );
1810+
QString name( OSRIsGeographic( crs ) ? OSRGetAttrValue( crs, "GEOGCS", 0 ) : OSRGetAttrValue( crs, "PROJCS", 0 ) );
18111811
if ( name.isEmpty() )
18121812
name = QObject::tr( "Imported from GDAL" );
18131813

0 commit comments

Comments
 (0)