I am using ArcMap (ArcGIS for Desktop Advanced)
I have a map in ArcMap which has elevation contour lines. I tried to follow the directions at this link: ArcGIS Desktop and it seemed to "mask" the entire contour line for every contour line.
Also, the drop-down menu for Mask Kind is greyed out so I can't choose Convex Hull.
How can I make this work as shown in the pictures?
I got this to work following the instructions at this webpage: Variable depth masking: Contour label example | ArcGIS Blog
A couple of tips, when you convert labels to Annotation, don't Store Annotation "in the map", check the radio button to store the annotation "In a database". The last step is to use the Advanced Drawing Options (in the instructions).
Solved! Go to Solution.
Hi Rick,
Hopefully the following will give you the result you need:
First up you need to create annotation for your contours. - Esri does have a contour label setting in maplex that you should use to get the best results.
Next take the annotation you have - and create masks for them. You may need to experiment on a distance for your masks, as you don't want to block out to many contours in some locations.
Remember to mask only your 'placed' annotation - other wise you might have masks blocking contours where you have no annotation.
Add the masks to your map and use advance drawing settings to mask the contour lines.
An alternative is to use the masks to clip your contours - but the advance drawing options seems to work fine.
Hope this helps,
William.
ESRI link below should help:
Labeling using the Contour Placement style—Help | ArcGIS for Desktop
Normally just do this with the labeling tab on the features class properties.
Pick the label position (along the line), parallel.
Then set the text to have a halo around it, so it masks the line underneath.
I tried the halo but it stays the same color no matter what color the map beneath it is. The halo works for contour lines on a white background but in the example below the mask would stand out against the various colors in the background.
Hi Rick,
Hopefully the following will give you the result you need:
First up you need to create annotation for your contours. - Esri does have a contour label setting in maplex that you should use to get the best results.
Next take the annotation you have - and create masks for them. You may need to experiment on a distance for your masks, as you don't want to block out to many contours in some locations.
Remember to mask only your 'placed' annotation - other wise you might have masks blocking contours where you have no annotation.
Add the masks to your map and use advance drawing settings to mask the contour lines.
An alternative is to use the masks to clip your contours - but the advance drawing options seems to work fine.
Hope this helps,
William.
ESRI link below should help:
Labeling using the Contour Placement style—Help | ArcGIS for Desktop
Thank you so much, I really appreciate your advice. The link is very helpful. I followed the steps, it's easier than it seems. The contour labels look perfect now.
I believe anyone looking for this technique in ArcMap 10.x this workflow is used
Variable depth masking: Contour label example | ArcGIS Blog
in ArcGIS Pro 2.x it is layer masking, but this current write up needs some clarity