Skip to main content
Solved

Extract a raster subset from a polygon


Hello,

 

I want to extract roof textures from an imagery raster.

 

In input I have a raster and a polygon.

In output I would like to have the image I could use to texture the polygon.

 

Is there any transformer for that?

 

Thanks!

Best answer by david_r

Did you try using the Clipper?

View original
Did this help you find an answer to your question?

7 replies

david_r
Evangelist
  • Best Answer
  • October 4, 2022

Did you try using the Clipper?


  • Author
  • October 4, 2022

Thank you very much David, that is the transformer I was looking for!


  • Author
  • October 4, 2022

Actually I'm not sure if I am using it correctly. I have 1.507 geometries in input of my Clipper node. I would like to output 1.507 clipped rasters. I don't understand why there is only 872 outputs, I think I'm missing something important here.

 

Screenshot


david_r
Evangelist
  • October 4, 2022
0x974 wrote:

Actually I'm not sure if I am using it correctly. I have 1.507 geometries in input of my Clipper node. I would like to output 1.507 clipped rasters. I don't understand why there is only 872 outputs, I think I'm missing something important here.

 

Screenshot

First thing to do is to check that the Clipper and Clippee overlaps properly. You can send both to an Inspector and check visually. If they don't, it could be a projection / coordinate system issue.


  • Author
  • October 4, 2022
david_r wrote:

First thing to do is to check that the Clipper and Clippee overlaps properly. You can send both to an Inspector and check visually. If they don't, it could be a projection / coordinate system issue.

Thank you again, it helped!


  • Author
  • October 4, 2022

Sorry to bother again; is there anything I need to take care of before being able to apply the clipped raster as a texture with `AppearanceSetter`? I struggle a little bit with only `EXTRA_APPEARANCE_FEATURE` rejections. I guess this is a texture coordinates issue, but that's only a guess as I cannot find any documentation about that rejection code.


david_r
Evangelist
  • October 4, 2022
0x974 wrote:

Sorry to bother again; is there anything I need to take care of before being able to apply the clipped raster as a texture with `AppearanceSetter`? I struggle a little bit with only `EXTRA_APPEARANCE_FEATURE` rejections. I guess this is a texture coordinates issue, but that's only a guess as I cannot find any documentation about that rejection code.

I've not much experience with appearances, so perhaps someone else can chime in. If you don't get any replies, consider posting it as a separate question.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings