Skip to main content
Solved

Polygon Around Raster Image

  • February 21, 2019
  • 3 replies
  • 118 views

Forum|alt.badge.img

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.

 

Best answer by daveatsafe

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.

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

3 replies

daveatsafe
Safer
Forum|alt.badge.img+19
  • Safer
  • Best Answer
  • February 21, 2019

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.


Forum|alt.badge.img
  • Author
  • February 22, 2019
daveatsafe wrote:

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.


nicholas
Contributor
Forum|alt.badge.img+13
  • Contributor
  • June 23, 2019

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


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