mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
The "Convert map to raster" algorithm does not handle extent CRS correctly
Fixes: #32829
This commit is contained in:
parent
59292b47c7
commit
904d1d6c2d
@ -33,7 +33,7 @@ from qgis.core import (
|
||||
QgsProcessingParameterNumber,
|
||||
QgsProcessingParameterBoolean,
|
||||
QgsProcessingParameterMapLayer,
|
||||
QgsProcessingParameterRasterDestination,
|
||||
QgsProcessinAgParameterRasterDestination,
|
||||
QgsRasterFileWriter
|
||||
)
|
||||
|
||||
@ -171,7 +171,8 @@ class RasterizeAlgorithm(QgisAlgorithm):
|
||||
extent = self.parameterAsExtent(
|
||||
parameters,
|
||||
self.EXTENT,
|
||||
context)
|
||||
context,
|
||||
context.project().crs())
|
||||
|
||||
tile_size = self.parameterAsInt(
|
||||
parameters,
|
||||
|
Loading…
x
Reference in New Issue
Block a user