Solved

Polygon Around Raster Image

  • 21 February 2019
  • 3 replies
  • 15 views

Badge

Hi all,

Does anyone know of an easy method to create a polygon around part of a LiDAR tile where the LiDAR tile does not have a complete set of values or is not complete?

So in the example below I would like to create a polygon around the colored sections (crudely drawn in red), not the whole tile.

I have tried the RasterExtentsCoercer, but that just creates a polygon over the whole tile.

Thanks all.

 

icon

Best answer by daveatsafe 21 February 2019, 18:47

View original

3 replies

Userlevel 2
Badge +17

Hi @juffers,

Please use a RasterExtentsCoercer transformer, with Extents Type set to Data Extents. This will create a polygon around the data areas of your raster, excluding any Nodata pixels.

Badge

Hi @juffers,

Please use a RasterExtentsCoercer transformer, with Extents Type set to Data Extents. This will create a polygon around the data areas of your raster, excluding any Nodata pixels.

Hi @DaveAtSafe, That's exactly what i was looking for, thought it would be something simple like that. Appreciate the help.

Badge +10

The RasterExtentsCoercer is great :-)

But I have lots of individual pixels that have nodata values, that form small holes inside your large polygon.

I suggest you also use DonutHoleExtractor to remove these small holes

Reply