Hot answers tagged

5

The Labeling Toolbar has a Pause Labeling button The Pause Labeling button will stop labels from displaying until you're ready for them to draw. Pause Labeling - Suspends drawing of labels See A quick tour of the Labeling toolbar for more info. To interrupt the labels while they are drawing, just hit the Esc key.


4

The parentheses in your label "(" and ")" are text values that are added to your [AREA] value, so you can add any other text you want with it. "(" & [AREA] & " sqft)" will produce something like (1000 sqft) as your label.


4

From the help section for wordwrap() If wrap_length is positive the number represents the ideal maximum number of characters to wrap The key word being ideal ... wordwrap() wont break a 15 char word down at the 13th character. EDIT: The function below needs further refinement for the sample string provided. 'Anthony A. Loconte Memorial Skating ...


3

Using the Python Parser in the Label Expression window, check on the Advanced box and enter the following: def FindLabel ( [BLM] , [BR] , [Private] , [SITLA] ): xBLM = xBR = xPrivate = xSITLA = "" if [BLM]: xBLM = "BLM: {} acres \n".format([BLM]) if [BR]: xBR= "BR: {} acres \n".format([BR]) if [Private]: xPrivate= "...


2

Assuming you are using ArcGIS for Desktop, in Labels>Expression>Help section states that you need concatenate HTML tags with field specifiers to be able to do such tricks: Specify a conditional if-else statement. These functions label cities with their name in a large, red font if their population is equal to or exceeds 250,000 and in the default ...


1

Go to Layer Properties -> Labels and do the following as you can see in the image below: (1) Change the Method to "Define classes of features and label each cclass differently" (2) Use "SQL Query" to define the field that has dengue info.


1

As raykendo pointed out, the require functions were not in the correct order. Once that was corrected the label was displayed.


1

The following PyQGIS line should do the trick: self.contourLayer.setCustomProperty("labeling/labelPerPart", "true") As soon as you run such line, you should get the 'Label every part of multi-features' checkbox toggled in the properties dialog. I'm using QGIS 2.14.2.


1

The "c" in textcolor needs to be upper case like: palyr.textColor = QColor(68,92,249)


1

Sometimes what you see on the screen does not translate to what it looks like when printed or exported. To evaluate font/label size, in layout view click the 1 to 1 button. As my comment suggested, try to increase the font size and/or dpi resolution within your export method to enhance the label visibility.


1

Yes. Insert a label, and for the label text insert an expression with the text: @project_path The @project_path variable is automatically filled with the current path of the project.



Only top voted, non community-wiki answers of a minimum length are eligible