You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@sedona.apache.org by "ricg72 (via GitHub)" <gi...@apache.org> on 2024/03/09 14:39:41 UTC

Re: [I] ST_Pixelize drawing polygon perimeter rather than all pixels in polygon [sedona]

ricg72 commented on issue #1273:
URL: https://github.com/apache/sedona/issues/1273#issuecomment-1986873985

   suspect problems is :
   https://github.com/apache/sedona/blob/master/spark/common/src/main/scala/org/apache/spark/sql/sedona_viz/expressions/Pixelize.scala
   lines53-55
         case geometry: Polygon => {
           RasterizationUtils.FindPixelCoordinates(resolutionX, resolutionY, boundary, inputGeometry.asInstanceOf[Polygon], reverseCoordinate)
         }
   
   adding an extra argument to the call of 1.0 calls a different method which gets the interior pxiels ?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@sedona.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org