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.

Filter by
Sorted by
Tagged with
5
votes
0answers
115 views

Issues with atlas generator and labelling across maps/images

I have a lot of layers in my project and I am trying to use the atlas generator in the print composer to create a tiled map. Some of the layers have labels which have different configurations with ...
0
votes
0answers
18 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
1answer
22 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
56 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
101 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 ...
3
votes
3answers
221 views

Regular expression to extract road labels from OSM other_tags ref

Extended question to the issue: Regular expression substring for labelling The answers I've found on the link above were fine for "simple" road labels. Unfortunately, I don't have a big SQL-...
2
votes
1answer
77 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
78 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 ...
9
votes
2answers
9k views

Is there a way in qgis 2.0 to prevent overlapping labels?

Is there a way in qgis 2.0 to prevent overlapping labels? I have a layer with a large geographical extent, which means a hell of a lot of labels. Many of them collide and it looks really bad. Is ...
1
vote
1answer
26 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
54 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. ...
0
votes
1answer
101 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
1answer
45 views

ArcGIS Online vs JS rendering differences

I am experiencing some issues working with ArcGIS JS API v4.9. I created a map on my offline software that I imported into ArcGIS Online. The map contains polygons with labels inside them and some ...
4
votes
1answer
72 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 ...
3
votes
1answer
620 views

Using Label Leader line in QGIS?

I am using QGIS 3.2. I am trying and trying to get a line from my points to my labels! I have not moved the labels manually, but they are offset using the "offset from point" choice for placement. ...
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?
2
votes
2answers
166 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 ...
1
vote
2answers
43 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 ...
1
vote
2answers
71 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
318 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: /*...*...
1
vote
0answers
22 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
1answer
122 views

arcpy export data view to jpeg: label size changes

I designed a little arcpy script to export different layers in a data view to jpeg (world files included). It's the first time I actually use arcpy but it works. The only drawback is that the labels ...
0
votes
1answer
24 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
4answers
209 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 ...
1
vote
1answer
58 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 ...
3
votes
1answer
143 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
39 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
183 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 ...
0
votes
1answer
42 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 ...
1
vote
1answer
79 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
37 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 (...
14
votes
2answers
7k views

How to add a halo to a text in the composer?

I would like to add texts with halo, in the composer (not in the map). Do you know a way to do it? I'm using QGIS 2.0.1
1
vote
1answer
518 views

How do you create a text-buffer in QGIS' print composer? [duplicate]

When creating a label you can create a buffer of another color around your text. Is there any way to do so in the print composer?
0
votes
1answer
35 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
125 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 ...
6
votes
1answer
693 views

Labeling (one-way) streets in QGIS?

I followed instructions in this answer to Creating Directional Flow Arrows for sewer lines? to add directional arrows to the one-way streets on a map I'm creating. I've currently created a marker ...
1
vote
0answers
70 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 ...
1
vote
1answer
48 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 ...
0
votes
0answers
23 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"....
2
votes
1answer
194 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 ...
1
vote
1answer
30 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. ...
0
votes
0answers
17 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 ...
2
votes
2answers
1k views

MultiLine field-name label referencing in PyQGIS?

A labeling routing (which is updated often) is being implemented via pyqgis and a QComboBox. The code below worked great, that is until needs for narrowed column headers spawned the use of pythons '...
1
vote
0answers
36 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 ...
0
votes
1answer
82 views

“No-break space” for labels

My map has labels, which usually should break after the 14th character using "wordwrap": wordwrap(name,14) But sometimes I need to suppress the wraping. So I need to use a "No-break space" - is ...
3
votes
3answers
3k views

Labelling only certain polygon features in QGIS

The red colored countries in the image are countries i consider highly vulnerable to freshwater shortages. I like to have the name of only these highly vulnerable countries appear on the map, i'd be ...
2
votes
0answers
138 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 ...
0
votes
2answers
106 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. ...
7
votes
2answers
248 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 ...