[
https://issues.apache.org/jira/browse/SEDONA-466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17804185#comment-17804185
]
Haode Du commented on SEDONA-466:
---------------------------------
[~jiayu] I agree. I want to try and complete this as the very first
contribution. What do you think?
> 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
> Priority: Major
>
> 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)