0

I removed the Nodata portion of the landsat8 satellite image using QGIS. Then, I used the Extract Layer Extent tool to generate polygons along the edges of the cut images. enter image description here enter image description here

However, the result came out like this.

enter image description here

The result I want is to make a polygon along the outer edge of the pixel. Like the picture below.

enter image description here

Using "polyponize" creates one grid per pixel, which slows down the processing speed considerably. Also, you don't need a grid per pixel.

I have to make a polygon along the end of the pixel, what should I do?

How can I cut the area where the pink square polygon overlaps the satellite image?

3
  • 2
    You can use raster calculator with an expression that evaluates true for every pixel. Perhapsraster@1 > 0. Then polygonize the result. The cells will be dissolved into a single polygon.
    – Matt
    Commented Mar 22, 2022 at 9:41
  • GDAL utility nearblack may help you and this program is specially made for that purpose github.com/gina-alaska/dans-gdal-scripts/blob/master/src/….
    – user30184
    Commented Mar 22, 2022 at 9:55
  • 2
    @Matt Wow! Thank you so much. I've been wandering for days, and all the problems have been solved thanks to you.
    – bsg
    Commented Mar 22, 2022 at 9:58

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.