Skip to main content
Question

Raster Aggregation


Hi,

 

I have an ASCII grid with a cell size of 1km2, I was wondering if there was a way to aggregate these cells into 5km2 grid squares. I initially thought of using RasterResampler, but there is no option to sum the attributes.

 

For those familiar with ArcGIS i esentially want the equivilent of the tool 'Aggregate'

 

Thanks,

 

Ed

4 replies

gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • April 17, 2014
Hi,  I think u need to usea rastermosaicker first and then use a rasterresampler

 

 

 

Gio

  • Author
  • April 17, 2014
Thanks Gio,

 

I'm sure that solves my problem however, as the interpolation type i require is a sum of the atributes, whereas the rastermosaicker and rasterresampler only have averaging, nearest neighbor etc.

 

Thanks,

 

Ed

gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • April 17, 2014
Hi,

 

 

Then i assume u have overlapping gridcells.

 

you can use rasterexpressionevaluator for such.

 

 

There are good examples in the knowledge base here. Just search on the topic of rasters in there.

 

 

 

Gio

fmelizard
Safer
Forum|alt.badge.img+18
  • Safer
  • April 17, 2014
HI,

 

 

Typical case for some math on the cell values, I would think.

 

Essentially calculating the desired value and applaying the difference to each cell can  preserve the raster properties and  change the cell values to the desired value.

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