[GIS] Masking WMS (Esri Oceans Basemap) layer in ArcGIS for Desktop

arcgis-online-basemapsbasemapcanadamaskingwms

I would like to display ESRI's Oceans basemap web map service (WMS) in one of my maps, but not the whole layer, just the landmass depicting Canada as I find it a nice fit for the look I'm trying to achieve. Is there any way to mask the features around Canada's landmass in that layer? I tried using the Advanced Drawing feature, but the Oceans basemap layer is not listed, probably because it's a WMS. I am working with ArcGIS 10.2. Are there any suggestions as to how I could do this?

Otherwise, if anyone can suggest a symbolized layer of Canada's landmass (and only containing Canada's landmass) ressembling that depicted on the ESRI Oceans Basemap that I could download or connect to somewhere, I would be grateful.

I could make my own. I tried with a few DEM's and hillshades but didn't get good results.

Best Answer

I finally found the answer: Yes, you can mask a WMS.

I used the 'Clip to Shape' > 'Outline of Features' and 'Exclude layers' options in the Data Frame Properties. I also used the 'Advanced Drawing' masking feature. Those two options are tricky to use. I learned that: 1) A WMS can be masked by using 'Clip to Shape' but not 'Advanced Drawing'; 2) With respect to 'Advanced Drawing', in order for a layer to mask another, the masking layer must be visible (checked) in the table of content; 3) If you're going to work with these two functions, I recommend to do this one step at a time. Start with 'Advanced Drawing' and once you are satisfied with the results, then set 'Clip to Shape'.

Related Question