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.

I'm creating a map with some layers, each one has a label, the problem is that, Mapserver is displaying the labels of bottom layers, so it is mixing all the label.

Is it possible to hide label that is under others layers?

share|improve this question

1 Answer 1

Have a look at the PRIORITY option for LABELS - http://mapserver.org/mapfile/label.html

It is unclear how you are generating your map, and what client you are using to view images, but it often makes sense to store labels as separate layers in the MAP file, and switch them on and off through the client application (OpenLayers, WMS client etc.)

share|improve this answer
    
... it often makes sense to store labels as separate layers in the MAP file, and switch them on and off through the client application (OpenLayers, WMS client etc.), that's what I've been looking for, would you mind to share an example about it please? –  Gery Apr 30 '13 at 9:34

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.