ricg72
ricg72
suspect the asset https://github.com/apache/sedona/blob/master/spark/common/src/main/scala/org/apache/spark/sql/sedona_viz/expressions/Pixelize.scala line 119 assert(pixels.size() > 0)
Hi, what would the spec be ? -- if the object falls within a single pixel then displaying that single pixel is ok - it's the longer thin items that...
Hi, thanks for the suggestions - I'll try and test RS_Clip - (the RS_AsRaster / RS_ZonalStats - won't work) I suspect RS_Clip is going to cause performance issues because there...
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...
Hi, I think there is already a method that will get all the pixels in a polygon - https://github.com/apache/sedona/blob/master/spark/common/src/main/java/org/apache/sedona/viz/utils/RasterizationUtils.java#L214 public static List FindPixelCoordinates(int resolutionX, int resolutionY, Envelope datasetBoundary, Polygon spatialObject,...