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 have a locality layer of neighborhoods and suburbs from a spatialite database. How do I label this single layer with the neighborhood name at a lower scales, but as I zoom out, I would like the town label instead?

Is this possible with a single layer or do I have to work on multiple layers to achieve this?

Perhaps a better question is what's the recommended way of achieving this: use local names as you zoom in, and super names as you zoom out.

Thanks.

share|improve this question

2 Answers 2

up vote 3 down vote accepted

Load the layer twice into QGIS, then label each differently, with different min/max "Scale Dependant Rendering" settings. One instance of the locality will be labeled with the neighborhoods, and min scale = 0, and max scale = (what_scale_the_labels_should_switch). The second instance will be labeled with the suburbs, min = (whatever_max_was_for_neighboorhoods), and max = (very large). HTH

share|improve this answer
    
This is what I currently do. I was hoping to do away with the extra layer, but I guess it's not possible. –  n1kn0k Jul 25 '12 at 1:07

I know this is an old topic, but I achieved this by using CASE as an expression based label

eg CASE WHEN $scale < 4000 THEN "Neighbourhood" ELSE "Town" END

share|improve this answer

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.