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.

When I open a QGIS file, QGIS 1.8 resets the scale factors for all labels. Is there a way to save the file so that it knows to also save the label scales?

share|improve this question
    
I have a polygon shapefile which represents parcels. I am labeling the polygons with an attribute containing the parcel ID and I only want the label to show up at scales less than 1:5000 so I set the max scale factor to be 5000. I zoom in and out to check my settings are correct. I save and exit. I open the file again and the scale factors are not set and the labels show up at all scales. –  GreyHippo Jul 20 '12 at 1:54
    
Which version are you using? I can't confirm on current development build. –  Nathan W Jul 20 '12 at 3:29

2 Answers 2

up vote 0 down vote accepted

It is strange that, when you save a project, it does not keep the style of the labels as well. I think aynthing will be better once the (now development) 1.9 version of QGIS will released with the new labelling system. (You can of course install the dev version from the OSGEO installer, I use it daily and I have no stability problem at all)

I would anyway suggest you that, when you are finished with the style editing of a shapefile, to save the style of the shapefile as the "deafult style":

in the style tab of the shapefile "style properties", at the bottom "save as default"

This creates a style file (.qml) assosiated to your shapefile which stores also the label formatting.

In this way anytime you import that shapefile in a project it keeps the style format and the labelling. hope it helps

share|improve this answer

Label scale works on my stable version of QGIS 1.8. Presumbably it is saved between sessions. Are you familiar with the save icon for the layer vs the save icon for the project file?

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.