Skip to content

Commit 12b3011

Browse files
authoredJan 24, 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.
1 parent 845bf29 commit 12b3011

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
@@ -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)
Please sign in to comment.