I'm working with a bathymetry raster for the coastline of British Columbia. Data found here: http://bcmca.ca/datafeatures/eco_physical_bathymetry/
I would like to create a new raster that shows the distance to the 1000 m isobath for any given cell.
I know how to create a line feature from the bathymetry raster that depicts the 1000 meter isobath, but I don't know how to create a raster of the distance to the isobath.
My main problem is that the original bathymetry raster has a very unusual shape (because of edges, coastlines, etc), and I would like to mimic the shape and retain NA values in my new raster.
I've tried the following in ArcMap 10.3
- I used the "Contour List" tool in Spatial Analyst to create a polyline of the 1000 meter contour
- I then used the "Euclidean Distance" tool to calculate distance to the polyline. The problem with this, is that the resulting raster is a square that does not match the bathymetry raster.
I would like to keep the outline the same, and keep the landmasses and islands as NA values, which makes me think R might be more appropriate.