Question

Creating a bounding polygon around Esri Asc Grid (excluding NO DATA)

  • 31 March 2021
  • 2 replies
  • 7 views

Badge +1

Hi,

I am looking to see if I can create a bounding box around an Esri Ascii Grid, but only around the points that have data (i.e. excluding any NO DATA values).

I am aware I can use a Hull Replacer to create a bounding box around a dataset, but the main barrier is how to query the grid file itself and remove NO DATA values.

I have tried to open the asc file in Notepad++, but it's huge and is unreadable due to it's size.

Any suggestions would be appreciated.

Cheers.


2 replies

Userlevel 4

One possible way:

  1. RasterCellCoercer to convert raster to points
  2. Tester to exclude NODATA
  3. HullReplacer

It may be slow if you have a huge amount of data, however.

Userlevel 2
Badge +17

Hi @cbalmbra1​ ,

The RasterExtentsCoercer (Extents Type: Data MBR Extents) might help you.

Reply