3

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?

1 Answer 1

3

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.)

1
  • ... 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
    Commented Apr 30, 2013 at 9:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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