Skip to content

Commit

Permalink
[server][wms] Fix qgis#60216 missing transformation ctx
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso committed Jan 23, 2025
1 parent fd67cd1 commit 553b662
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/server/services/wms/qgswmsrenderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1424,6 +1424,8 @@ namespace QgsWms
//then set destinationCrs
mapSettings.setDestinationCrs( outputCRS );

mapSettings.setTransformContext( QgsProject::instance()->transformContext() );

// Change x- and y- of BBOX for WMS 1.3.0 if axis inverted
if ( mWmsParameters.versionAsNumber() >= QgsProjectVersion( 1, 3, 0 ) && outputCRS.hasAxisInverted() )
{
Expand Down

0 comments on commit 553b662

Please sign in to comment.