I have a shapefile with polygons which represent a raster which represents all countries on Earth (~70,000 cells) and one shapefile layer from NaturalEarthData which represents the worlds oceans.
How can I add an attribute to each raster cell that is adjacent to the outer border of my open shapefile or, in other words, how can I add a specific attribute to those polygons that entails the coastline?