Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [labeling]

Rendering values from attribute tables as text on maps near their feature. For questions about legend labels use the [legend] tag instead.

0
votes
0answers
16 views

Aligning font when rotated using QGIS?

I added a label in the print composer of QGIS (3.6). I rotated the label, but then the font is no longer aligned to a common line. I think it is stair-stepping where the letters go, perhaps snapping ...
0
votes
1answer
21 views

Labeling Graduated Symbols in ArcMap?

I am looking to place labels showing the exact number associated with a graduated symbol. I have the labels, and the symbols, but cannot seem to get them placed in the same location. Can someone shed ...
0
votes
0answers
13 views

Using alternate glyphs/stylistic set with label font in QGIS?

I am using a non-standard font for my labeling in QGIS (the font is jost*, modeled on Futura), and would like to use one of the alternate stylistic sets. It's easy to do this in Word. Is there a way ...
0
votes
0answers
14 views

Writing Custom Label Expressions using Arcade for ArcGIS Online? [on hold]

I'm not familiar with Arcade, but I'm trying to do a simple expression. I need to write an if-else label expression that will label addresses by their address number, unless there is a address unit ...
0
votes
1answer
20 views

Adjusting symbology in layer file?

I have a layer file for a geology layer containing attributes for "Age", "Rock Type" and "L_Code". The layer has symbology defined using the "L_Code" attribute. But I want the same symbology applied ...
2
votes
0answers
17 views

QGIS globe map - label distortion [duplicate]

I have created an azimuth orthographic projection map (basically a globe, I've used this custom CRS: +proj=ortho +lat_0=51.470129 +lon_0=-0.452751 +x_0=0 +y_0=0 +a=6371000 +b=6371000 +units=m +no_defs ...
1
vote
1answer
46 views

Automatic sheet size in text label in QGIS

I'm in Print Composer and want to develop a template. In that template, I would like to add a text Label which automatically represents the size of the sheet in the format "Sheet size: 841x1189". ...
1
vote
0answers
19 views

QGIS to .DXF export: labels do not appear

I have been trying to export a shp layer in QGIS 2.18 to dxf with some labels using the export to DXF tool included in QGIS, but somehow, the labels won't appear on the export. I have tried changing ...
2
votes
1answer
42 views

QGIS 3.6 - Label layers turning black

I have a project where I am making a lot of rule based labels from a polygon layer. The layer is saved as a shapefile (like the other label-layers (point and linestrings). All other layers in the ...
6
votes
1answer
68 views

Label callout lines to the closest point on the label

I am trying to improve callout lines on maps I'm making. I'm currently using the method in this link to make my callout lines. That works fine, bu I'd like the lines to always go to the closest point ...
0
votes
0answers
16 views

Positioning labels beside symbol (graduated symbols)? [closed]

How do I put/position the labels beside the symbols automatically? The label stands for: 1st line: number of people 2nd line: corresponding percentage 3rd line: location These labels are from the ...
1
vote
1answer
17 views

Maplex label engine

I'm currently going through the GIS 20 essential skills book where I have to fix labels. I have changed the setting from simple to Maplex and now I couldn't figure out how to assign buffers to label ...
0
votes
0answers
51 views

Symbolising with one expression and labelling with another using QGIS?

I'm wondering if it is possible to categorise layers in QGIS using one expression but label it using another? I have several layers based on the same dataset but clipped so they have different areas. ...
5
votes
1answer
59 views

Labeling polygons with the number of related table entries in QGIS

Using QGIS 3.6.1 I have a layer with areas and a table with entries related to the areas: A relation is defined like this: What I would like to achieve is to label the areas with the number of ...
1
vote
0answers
35 views

Labelling layer not from attribute fields QGIS API v2.14?

How to label vector layer with my own values that aren't stored in the attribute fields?
1
vote
0answers
11 views

Convert Large Number of labels to annotations in ArcGIS

I have Parcels counting to approximately 35000 for which I want to create feature linked annotations. But when I am ready with all the symbol and labelling properties and right click the layer to "...
1
vote
2answers
63 views

How to make labels in a fixed position for a road layer in QGIS 3.2 [duplicate]

I am working on a road layer containing hundreds of roads and want to print it out in a A2 size with all labels. I want the labels to be fixed in the original position and not depend on scaling of the ...
0
votes
1answer
79 views

Leaflet: Canvas Text Labels

I have some text labels in Leaflet which I'm building from JSON data using L.divIcon. They're looking like this: lbl_coord = feature.properties.coord; lbl_text = L.divIcon({ className: /*...*...
2
votes
2answers
79 views

Filtering out labels surrounding active feature in Atlas

Let me put it this way, if I’ve tried data-defined rendering and the common featureid expression and it’s still not working - and I think one or both options should - what basic thing could I be ...
0
votes
1answer
22 views

Using dynamic label to give all results in capital letters?

I need this dynamic label to give me all the results in capital letters: [dyn type="page" property="attribute" field="Predio" domainlookup="true"]
1
vote
1answer
41 views

Moving point labels on vertices inside of polygon

What I'm trying to do is to label vertices of a polygon with a number and plot that number inside the polygon. So far I extracted the vertices to a 2nd point layer. Named them correctly and plotted ...
1
vote
1answer
27 views

Rule for labeling ways not being part of OSM relation in QGIS

A brief overview of what I want to achieve: Create a map showing all cross-country ski trails in a specific region with some customizations/styling on them. The data come from OpenStreetMap ...
1
vote
2answers
37 views

Calculate geographic location of point display offset in QGIS

I have a point layer in which some symbols are displayed offset from the feature's true location by a given number of millimetres. As the map's zoom changes the offset symbol's geographic location ...
0
votes
1answer
36 views

Adjust label/symbol size in print composer automatically when choosing different scale for atlas

I am having trouble with my labels/symbols in the print composer and didn't find a solution here so far. I have a project with a certain area from which I have to create several layouts in the print ...
3
votes
1answer
113 views

Automatically change the labelling style depending on the visibility of each label on a layer?

I would like to show as many street name/label as possible on the print composer map, without overlapping, automatically change each label’s style, if it is necessary, depending on what is possible ...
1
vote
1answer
47 views

Saving original label position in QGIS?

Figure A Figure B If I am generating line geometry with a marker to label parcels when I use a label call-out, (attached images) how can I use the automatically defined label placement point for my ...
0
votes
1answer
33 views

Basing an 'ELSIF' expression on several fields

I am still fairly new to coding so please excuse what may be simple mistakes. I am working in ArcMap 10.5 and have an Overhead Conductor feature layer that I need to label based on what field (...
1
vote
4answers
76 views

How to hide individual labels in QGIS?

I enabled labels for a streets layer in my QGIS 3.6.0 project via Properties > Labels > Single labels. The following screenshot shows an example of such labeling: How can I hide individual labels if ...
0
votes
1answer
23 views

Label point layer with attribute of surrounding line features (QGIS 3.x)

I would like to label the points of my point layer with the name attributes of the surrounding line features. The result should be a list, with the names of all lines next to the point (f.e. 10 map ...
3
votes
1answer
55 views

Dynamically color labels in color of features (QGIS 3.x) [duplicate]

How do I dynamically color labels in the color of the labeled feature? As you can see in the screenshot, the lines are in different colors, but the labels are just in black. As I know, I have to set ...
1
vote
0answers
42 views

QGIS Duplicate Labels still appearing despite suggested changes. Do i need to do an expression?

I have one field called Streets. In Streets there are road beds with suffix as Pkwy, Street, Avenue, Expressway and so on. I also want to label some of these road beds. In Layer styling under ...
0
votes
0answers
21 views

Combining two arrows with one arrow that has same label name?

I have Label Manager turned on and I am working on some of the polygons that need to be shown clearly. If you have a polygon that has two labels that are the same name: Look at the word "Cincinnati"....
1
vote
1answer
40 views

Using “Elseif” “OR” “And” statement to create label from two fields

I'm an admittedly novice when it comes to scripting but I have been able to create a basic 'else if' with 'OR' expression to create a label for a fuse feature class I have constructed. I am now trying ...
2
votes
1answer
91 views

Label layer as symbol colors with QGIS 3

Is it possible to label a layer using same colors as the categorized symbology of that layer? It is possible using the Rule-based labeling, but it can be difficult for a layer with many categories ...
0
votes
0answers
13 views

Removing labels for deleted point features in ArcGIS Pro?

I am new to ArcGIS pro. I have a number of points on a map that have been inputted into ArcPro from a KML file. I have deleted some of the points as they aren't required but the labels for the deleted ...
0
votes
1answer
74 views

“No module named numpy” Python Error in ArcGIS Label Expression?

I have developed code to label points that pull formatting from a dictionary. I developed this code and it was working fine two weeks ago, today I try to open my map and I am now met with an error ...
1
vote
1answer
15 views

GeoServer 2.10.1 Center Justify Polygon Label Style File .xml

The Title kind of says it all. Trying to Center Justify a label of a polygon using a sld style file on Geoserver 2.10.1. Here is the code snippet followed by a screenshot of the label now. ...
1
vote
1answer
38 views

Advanced/label classes in gvSIG 2.4

New to gvSIG and trying to get SQL filters to work. I can get labels to draw for all features the same way, but when I try to define label classes with filters nothing will draw. I'm trying to label ...
0
votes
1answer
51 views

Changing legend labels in ArcGIS Desktop?

I don't know how to change legend labels using attribute table. I want to use values from "litologia" field instead of "kod". Is this even possible or do i have to switch value field in symbology ...
1
vote
0answers
30 views

Adding Label Classes to Polyline in MapInfo Pro

I want to add 2 label classes to one polyline shapefile using x,y coords. I need to add the arrival time along the line from the start (x_start & y_start) & the finishing time along the line ...
2
votes
0answers
62 views

How to write subscript or superscript labels in QGIS 3.4? [duplicate]

How to write subscript or superscript labels in QGIS 3.4? Is there any function to do it without any external involvement like Character Map or etc? I'm EXPLAINING that this is not a duplicate ...
7
votes
2answers
190 views

How to create a label containing values from different layers in QGIS

I have several layers which are stagged on each other. I need to create a label (or text-window / description, doesn't matter) which should contain values from different layers. Creating a regular ...
0
votes
2answers
61 views

Font size in DXF export QGIS

I am trying to export our Property layer to DXF but am running into issues with labels. I have tried each of the three ways that I have seen described about DXF export, and none of them work for me. ...
2
votes
1answer
80 views

Labels with leaders in QGIS

I used the following link to create labels with leaders, but since I have a polyline layer I used a different expression for the Geometry Generator: make_line( centroid($geometry), make_point("...
1
vote
0answers
12 views

Set zoom level for display features in OpenStreetMap [closed]

I´m using OpenStreetMap to show data of a specific region in Brasil. I would like to show the county names as soon I show the map, instead of in a higher level of zoom.
3
votes
2answers
34 views

Python Expression for Labeling Addresses

I am trying to create a python label expression where only the first word of the address is labeled. Additionally I only want a label to appear if it is a number not a word. I have used this script ...
1
vote
1answer
59 views

Labels overlapping annotations in ArcMap 10.6

I came across this issue regarding labels overlapping annotations in ArcMap 10.6 (picture left) where they don't overlap in 10.5 (picture right)... What am I missing? I simply opened the mxd in the ...
2
votes
1answer
40 views

In QGIS for Type Case in Labels, Rule Based Rule, the Capitalize first letter option does not work

Here are my labels untouched Now when i change to all lowercase You see that it changes However for type case i want to capitalize first letter It shows that it made it everything capitalized ...
2
votes
1answer
32 views

Problems with layer labeling QGIS standalone C++ application

mypLayer->setCustomProperty("labeling", "pal"); mypLayer->setCustomProperty("labeling/enabled", "True"); mypLayer->setCustomProperty("labeling/fontFamily", "Cantarell"); mypLayer-&...
0
votes
0answers
35 views

How to place labels for varying projects? [duplicate]

I have a data set of features in a historic landscape. So if I make a map of it at a certain scale, I then need to move the feature labels around a bit—tweak them—to make it look nice. But then if I ...