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
3
votes
2answers
48 views

Using print composer name in a label

I want the title (a label) of my map in print composer to automatically contain the name I've given the print composer and also the date that it was created. For example I want it to say 'Really cool ...
2
votes
1answer
34 views

Rule-based labeling moved and overlapped

When I move my labels with the move label tool my double rule-based label is overlapping. I have tried to change the settings of its position but it is not possible to affect it once its moved. Any ...
0
votes
0answers
20 views

ArcGis Pro Expression in Appearance [on hold]

I want to write an expression in the appearance expression builder but it doesn't work. What is my mistake? if ['Regionen_RheinNeckar_Mieten.M2012'] > 3: value = ((['Regionen_RheinNeckar_Mieten....
0
votes
0answers
40 views

Some labels disappear depending on zoom (scale dependent vis is turned off)

for one layer I have an issue with a very few select labels disappearing depending on zoom level. See label "3" on the right in below screenshots. "Scale dependency" is inactive and "Show all labels" ...
0
votes
0answers
18 views

Labeling using ArcGIS for AutoCAD 370? [on hold]

I am trying to label my streets in AutoCAD using the Esri_PickLabel, but no labeling occur. Extension for AutoCAD = ArcGIS for AutoCAD 370.
5
votes
2answers
108 views

How to add text on top of symbols for vector layers in QGIS

I read the QGIS 3.2 Changelog and saw a new feature to add text on top of symbols for vector layers. Does anyone knows how to do this?
0
votes
0answers
23 views

Converting Python to Arcade in ArcGIS Online?

The following python expression can trim street addresses for labeling in ArcMap. I need to convert the expression to Arcade so I can retain the same labeling scheme when pushing my feature layer ...
1
vote
1answer
51 views

QGIS Label Expressions [duplicate]

I'm trying to create a label that will show the following: MP 23.6 The "23.6" is a double type column in my table, the "MP" is the text I want to add in front of it of the number (milepost). I am new ...
3
votes
1answer
41 views

Setting a Background Color with RVBT field with python

I'm trying to set the color of a background of a layer. To do this i created an attribute "Color" with the RVBT numbers associate to each feature. As in the picture, i want to set the color with those ...
1
vote
1answer
37 views

Turning one column to multiple columns in Attribute Table?

This is kind of a two-part question to see which route would be more efficient. I'm trying to display a label in a shortened version, but the info is all in one column: Township 1 South Range 20 ...
1
vote
2answers
27 views

Pixelated result using SVG as label background?

I have points that are labelled with a 2-digit numeric attribute, shown by default with a circle background (white fill, coloured outline of 1 map unit, buffer of 1 map unit beyond the label). I have ...
2
votes
0answers
17 views

Moving individual labels & rule-based labelling in QGIS

I have been playing around with labels and came to a problem. Hopefully someone can pinpoint whether I'm doing something wrong or there is a systemic hurdle in Qgis. Are you allowed to move labels ...
7
votes
2answers
112 views

Positioning multiple attributes separately in a label

I'm using QGIS I've got a basemap with the Texas landgrid for all of the counties in the Permian Basin. There are various attributes associated with the sections in the grid, but I only need 2 to ...
1
vote
0answers
28 views

If Then Statement, Python Label expression, ArcGIS Pro

I'm trying to create a Python label expression in ArcGIS Pro for a parcel layer where I only want to label the parcel when a street number in the Address field is present.If a street number is not ...
2
votes
1answer
31 views

How to set label color with setCustomProperty in QGIS2?

I can set most font properties like this: layer.setCustomProperty("labeling", "pal") layer.setCustomProperty("labeling/enabled", "true") layer.setCustomProperty("labeling/fontFamily", "Noto Sans") ...
1
vote
1answer
19 views

Label Boundary Placement in ArcGIS

I am using ArcMap 10.5.1, and I am having trouble getting my labels to draw somewhere besides the center of the map in layout view. I am using Maplex. The problem is that I have a polygon from a ...
1
vote
0answers
14 views

label-style preview in QGIS

When I want to load a layer style, I can open the layer properties and in symbology I get a list of styles I can choose from. On the left of each style I get a small picture that shows me a preview on ...
0
votes
0answers
26 views

Changing date format for labels in ArcGis Pro with label expression?

I am trying to use an expression to convert my date field to a simple %d,%b,%Y format. Right now it is in "%Y%m%d %H:%M:%S %z" How do I do it properly using Python to do this in ArcGIS Pro? Q&...
1
vote
1answer
53 views

Setting placement labels on “Offset From Point” with OffsetX,Y parameters in PyQGIS?

I'm trying to set properties of QgsVectorLayer using QGIS 3. I want to put labels with "Offset from point" and define "Offset X" and Offset Y". I saw on the documentary that there is a class "...
1
vote
2answers
41 views

How to not show labels that are under polygons of another layer in QGIS 3.6.1

I am editing the polygon layer by adding new polygons and moving them to new locations. When I place a polygon in a new location I would like any labels from the two point shapefiles that happen to be ...
4
votes
1answer
87 views

Getting label feature with PyQGIS?

I need get the label text for each feature in a points layer. I can read feature attribute using: layer = QgsProject.instance().mapLayersByName('layer_name')[0] features = layer.getFeatures(...
1
vote
0answers
51 views

Showing labels of feature on the edge of screen

My QGIS only shows labels on the center area. How to show labels of feature on the edge?
0
votes
1answer
13 views

QGIS 3.4 Saving Label Text Size, Placement, Wrapping, As Template

Is it possible to export & save formatted labels as a template in a file that can be opened in future projects? Ideally, it would save my manual label placement, text size, wrapped characters/...
2
votes
1answer
40 views

Getting label quadrant using PyQGIS?

How can I get the specified quadrant of a label using PyQGIS? The print statements below return 1 and 0 no matter which option I pick in the dialog. palyr = labeling.settings() print(palyr....
2
votes
1answer
37 views

Using multiple colors for labelling that depend on values in QGIS?

I would like to do labelling like this (3 rows): Location_name Time People My csv has 5 features Location_name Time AM/PM People A/K Based on the value of "AM/PM", I want the ...
1
vote
0answers
49 views

Show/Hide labels of Vector Tile layers on button click

I have displayed vector tiles layers with "application/vnd.mapbox-vector-tile" format in Open Layers 3.While creating vector tile I have applied only image style. I want to display labels for existing ...
2
votes
0answers
31 views

Labels location on print view way off IN QGIS

I'm having a weird issue with labels. I have two point layer files showing cities. They are both labelled using the same parameters (Around Point, 2mm from centre, etc.). They both show up fine in ...
6
votes
3answers
213 views

Creating second map without labels using QGIS?

I want to remove the labels in the second, smaller map. So far when I switch off all the labels and refresh only the smaller map, of course, the labels are not shown. But it seems like QGIS updates ...
0
votes
1answer
15 views

Geonetwork overlapping labels

the labels in GeoNetwork are defined as: <element name="gmd:codeSpace" context="gmd:RD_Identifier"> <label>Namespace</label> </element> but the problem is we also have a ...
1
vote
0answers
30 views

Why are the labels not showing when I load a .qml file in a standalone pyqgis script?

The first image is the final output that I have when I run my standalone script. The second Image shows the grid that I made and the sample labels that I want to put on my final output. I saved the ...
0
votes
0answers
19 views

Line to feature from label in ArcGIS Pro?

I want to have a line from each label to the features it labels. I am trying to a label a lot of features in a small space and need it to be clear which label coresponds to which feaure. How can I ...
0
votes
1answer
17 views

Are easements normally marked on county property maps? [closed]

There is a main gas line easement on the edge of our land, but the gas company is concerned about where the garden is. Would the line be marked well enough on a county map to say where the easement is?...
4
votes
4answers
166 views

Placing data-defined labels both by expression and manually

In my project layers (QGIS 3.6.2) I use data-defined label placement. I am trying to set up the placement as follows: By default, the placement chosen in Label Settings is used (in my case, "around ...
0
votes
1answer
28 views

Labeling Ortolines with GeoTools

I want to add labels with geocoordinates on the grid of the map. I have previously asked you this question and you have shared some code with me (How can I label the coordinate position of the grid ...
2
votes
1answer
23 views

Difference between Priority in the Positioning dialog and Z-Index in the Rendering dialog in QGIS

I studying the layer labeling options in QGIS and encountered two options which seem to be the same. If I understand the QGIS documentation correctly, the option "priority" within "Positioning" ...
0
votes
1answer
32 views

1:n relations in label expressions & general syntax

I've got a colleague who wants to create a (concatenated) label based on a 1:n relation between some shapes and related tables. They asked me if this was possible in QGIS - and I think it should. I ...
0
votes
1answer
38 views

Capitalizing and changing font/color in Label Expression using Python Parser of ArcGIS Pro?

Currently Using ArcGIS Pro 2.3.2 and Python. I am currently trying to label Road names, which are all uppercase in the database. I'm unable to edit the database but would like to Capitalize the road ...
2
votes
1answer
50 views

Import labels into QGIS

In ArcGIS, when I want to Label my layer, there are a number of label styles I can choose from. I would like to have that Feature in QGIS as well. For example, when I label my layer in a certain ...
1
vote
1answer
15 views

Including rotated label alongside stacked label in ArcMap?

I am trying to replicate the label that I have attached an image of. Is this possible in ArcMap? So far I have stacked 3 labels but am unsure how to: Create 3 individual boxes around the stacked ...
1
vote
2answers
183 views

OpenLayers: Keep text style label in visible polygon area

I have a feature with a polygon and a text attribute. The text attribute is displayed via a text-style above the polygons center. Nothing special and so far so good. The current behavior: I can move ...
0
votes
1answer
28 views

How can I extract the coordinates from one layer and import them in a diferent layer when key field is the same?

I'm working with 2 different layers. First one is a csv file with 3 fields. Name, longitude and latitude. Second is a text file with the field name. I want to assign the longitude and latitude ...
3
votes
1answer
65 views

QGIS 2.18 label by expression concatenate field strings

For a building layer I have an attribute table with several fields for the building type where data was entered with a manually created form using checkboxes. Example: Production: 1 = (yes), 0 = (no) ...
1
vote
0answers
30 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
38 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
17 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
87 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
72 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 ...