We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent adb646f commit 0f315e4Copy full SHA for 0f315e4
src/core/qgscoordinatereferencesystem.cpp
@@ -637,8 +637,10 @@ bool QgsCoordinateReferenceSystem::createFromWkt( const QString &wkt )
637
{
638
CPLFree( proj4src );
639
640
+#if GDAL_VERSION_NUM < GDAL_COMPUTE_VERSION(2,5,0)
641
// try fixed up version
642
OSRFixup( d->mCRS );
643
+#endif
644
645
OSRExportToProj4( d->mCRS, &proj4src );
646
@@ -1175,9 +1177,11 @@ void QgsCoordinateReferenceSystem::setMapUnits()
1175
1177
1176
1178
char *unitName = nullptr;
1179
1180
1181
// Of interest to us is that this call adds in a unit parameter if
1182
// one doesn't already exist.
1183
1184
1185
1186
if ( OSRIsProjected( d->mCRS ) )
1187
0 commit comments