I'm not sure if the following task is possible in ArcGIS, or whether I need to use something like MatLab - I wondered whether the community could possibly advise if it is possible, and if so, what tools would be best to use.
I have a grid set up (see image below), with raster values (orange) to extract to a buffer zone [polygon] (light green) along the coastline [a polyline] (where the coastline acts as source inputs into the ocean). Not all of the grid cells in the buffer are on the coastline however, so I was wondering if there was a way to map their values to the nearest coastline grid cell.
I'm happy for any output of the raster into the grid. All I require at the end is that each grid cell on the coast has a co-ordinate (already defined) and a total population value (the raster) that is on the coastline AND that derived from other cells in the buffer being allocated to their nearest coastal cell.
There are datasets for the coastline, the buffer, and the raster.
Desktop Version 10.2 Co-ordinate system: WGS84
I am happy to provide the datasets if it would be of assistance.