Question

Create tiles from .ecw for every individual polygon

  • 23 January 2019
  • 4 replies
  • 3 views

Hello,

 

I want to extract individual tiles/images with a fixed dimension (pixels x pixels) from an orthomosaic file (.ecw format), containing a single building in the centre of each tile/image. I do have a shapefile containing all building footprints but a can figure out how to approach this.

Can someone help me or give me some tips?

 

Thank you!

 

Best regards,

Bram


4 replies

Badge +16

Hi @brmschipper, I would use the clipper with your inputs, just make sure that the footprints are buffered a bit so the you dont miss some info.

Hope this helps.

Userlevel 5
Badge +25

Generate a centerpoint for each building then use the 2DBoxReplacer to make a polygon centered on that point with the size you want, then use that as input for the clipper as @itay suggested.

Badge +3

@brmschipper

 

I would use a BoundingBoxAccumulator grouped by the building id. Then scale them to your required size.

 

Generate a centerpoint for each building then use the 2DBoxReplacer to make a polygon centered on that point with the size you want, then use that as input for the clipper as @itay suggested.

Thanks! Worked perfect!

Reply