Haode Du created SEDONA-466:
-------------------------------

             Summary: RS_AsRaster does not use the weight and height of the 
raster in its parameters.
                 Key: SEDONA-466
                 URL: https://issues.apache.org/jira/browse/SEDONA-466
             Project: Apache Sedona
          Issue Type: Bug
            Reporter: Haode Du


RS_AsRaster does not use the width and height of the raster passed in its 
parameters. Instead, it will use the bounding rectangle of the passed geometry 
as the width and height of the generated raster. ([RasterConstructors.java 
172|https://github.com/apache/sedona/blob/master/common/src/main/java/org/apache/sedona/common/raster/RasterConstructors.java#L172])

The function only utilizes the Scale and Skew information of the parameter 
raster.

This behavior can be confusing, and I think we should fix it to use the width 
and height of the parameter raster.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to