Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
The "Convert map to raster" algorithm does not handle extent CRS corr…
…ectly

Fixes: #32829
  • Loading branch information
havatv committed Nov 13, 2019
1 parent a6aea87 commit 13b50ed
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions python/plugins/processing/algs/qgis/Rasterize.py
Expand Up @@ -33,7 +33,7 @@
QgsProcessingParameterNumber,
QgsProcessingParameterBoolean,
QgsProcessingParameterMapLayer,
QgsProcessingParameterRasterDestination,
QgsProcessinAgParameterRasterDestination,
QgsRasterFileWriter
)

Expand Down Expand Up @@ -171,7 +171,8 @@ def processAlgorithm(self, parameters, context, feedback):
extent = self.parameterAsExtent(
parameters,
self.EXTENT,
context)
context,
context.project().crs())

tile_size = self.parameterAsInt(
parameters,
Expand Down

0 comments on commit 13b50ed

Please sign in to comment.