Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

Is there a way to interrupt a contour line beneath a elevation number?

enter image description here

Thanks!

share|improve this question
    
ArcGIS? QGIS? Custom? –  Ragi Yaser Burhum Mar 5 '13 at 3:36
1  
I use qgis for the contour labeling –  MAP Mar 5 '13 at 8:37
    
Would you accept an answer that requires PostGIS? –  Scro Mar 5 '13 at 15:01
    
unfortunatly: no :) But, is there a way to solve the problem with PostGIS? –  MAP Mar 5 '13 at 18:53
add comment

3 Answers

I use the "Buffer" option on the "Label setting" tab. (Using the labels button, not the old labels option on the layer properties dialog.) This does not wipe out the contour line, as I imagine you are wanting to do, but it does make the label legible.

share|improve this answer
3  
I never thought of it before, but it would be convenient if instead of assigning a color for the buffer, you could choose to apply it as a 'knockout' to selected layers. –  Scro Feb 25 '13 at 22:01
1  
The latest version of QGIS has transparent buffers so you can reduce the impact on other parts of the map. –  Nathan W Feb 25 '13 at 22:59
1  
@MAP A knockout erases the pixels beneath it. If that were an option, in this case you would choose to knockout the contour layer. –  Scro Feb 26 '13 at 11:41
1  
knockout - the esri term is "masking" resources.arcgis.com/en/help/main/10.1/index.html#//… –  mike Feb 26 '13 at 19:47
1  
@MAP - Sponsor a developer, or submit a feature request and wait on the benevolence of others. :) –  Scro Feb 27 '13 at 23:02
show 3 more comments

Do you remember this thread Martin? The only way I can think of to get near to a solution to your problem would be to overlay your contour layer with a clipped contour layer, use this for labelling and change the line colour to something neutral that would mask the contours under the labels, one hopes without being too intrusive. N.

Added later: it might be worth looking at this thread too, the second answer. Perhaps breaking the contour lines might be an answer, perhaps using the buffer layer used to clip the contours?

share|improve this answer
add comment

ESRI blog entry: http://blogs.esri.com/esri/arcgis/2011/11/28/variable-depth-masking-contour-label-example/

Variable-depth masking for contour labels involves three steps:

1creating annotation from the labels, 2using the Feature Outline Masks tool to create masks, and 3using the Advanced Drawing Options > Masking settings to specify which layers the masks will mask out.

share|improve this answer
    
This shows how it could be implemented, but it doesn't really answer the question. –  underdark Mar 5 '13 at 21:00
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.