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
98 views

Labeling vertical lines with Shape Length = 0 in ArcMap?

I am trying to add labels to my linear feature class. Some of my lines are vertical (i.e. I only see a point representing the start or end node of the line, because they have the same XY coordinates ...
2
votes
1answer
137 views

Why might text formatting tag for bold not work in ArcGIS Pro labeling expression?

Someone told me recently that, when they used the text formatting tag for bold text in an ArcGIS Pro labelling expression: <BOL>Bold</BOL> test the label appeared as: Bold test ...
2
votes
2answers
156 views

Making labels stay at some defined position in QGIS?

I am using QGIS 3.2 Bonn. If I add a label (and I have a lot of labels, for every field, river, path, etc...) and if I zoom out all labels are crossing each other and it is hard to know what is ...
0
votes
2answers
48 views

Specifying Resource Field For Labeling in ArcPy?

How do I specify which field acts as resource for labeling a layer using ArcPy? Following code is some settings that I am doing on a standalone ArcPy snippet and as you can see I added layer....
0
votes
1answer
32 views

How to create a universal labeling rule for areas using different projections

I want to create a universal map style for osm water areas. The data can be in different projections like EPSG:4326 or a metric projection. To avoid reprojecting them all the time as well as too many ...
3
votes
1answer
247 views

How to label only one feature in QGIS without editing layers when several have the same value

The issue: I have several points (bus stops) in one area. They all belong to the same station, so they all have the same "name" attribute. To avoid a mess of lables showing all the same name i only ...
0
votes
2answers
79 views

Geoserver polygon labeling Arabic numbers using SLD

I've used SLD to label polygon features with their parcel Ids. The problem is for Ids include '.' and '-' marks, the ordering of character is messed up. For example 39.1 changes to 139. I've checked ...
0
votes
1answer
38 views

How to export a map in lower size (11*17 inch) with all the parameters set up for higher map size but still looking good?

I am working with ESRI ArcMap (10.2) and have set up a map page size for 40*60 inch. I created a pdf and printed, it looks good. Next I printed with lower size 11*17 but the place labels does not ...
2
votes
0answers
53 views

Using Python nested if statement for labels in ArcMap?

I am trying to use python to write a label expression that will display a specific set of labels based on nested if statments. The expression should result in a 4 line label if the value is greater ...
0
votes
1answer
195 views

Creating label with number circle and field “1v” in ArcMap?

How to create a label which combines a circle number and field "1v" in ArcMap? For example: I need, a line the labels. My code label expression is: Function FindLabel ( [TOTAL_VIV] ) FindLabel = "&...
2
votes
1answer
121 views

QGIS label: Capitalize first letter of different words in attribute field

I have a vector layer with an attribute text field with 3 words (word1, word2 and word3). I want to capitalize the first letter of word1 and word3 in label output. For example if a record has the ...
2
votes
1answer
69 views

Placing Label in QGIS with EasyCustomLabeling?

I've converted the labels for a feature class I have using the EasyCustomLabeling tool in QGIS 3.2. Other labels within the layer are not having the same problem. I'm trying to place the label in an ...
0
votes
1answer
104 views

Add "inch: symbol to label

I'm using QGIS 3.23-Bonn on a Win 7 machine. I'm trying to add the "inch" symbol to a label, but can't figure it out. I've tried using (Diameter) || '\' " but it doesn't work. However for length in ...
1
vote
1answer
32 views

Adding label to whole group of drainage features using QGIS?

I am using QGIS 3.2 Bonn and have a lot stuff imported from Google Earth. Am I able to create a group of all drainages and label them with one click, or do I need to choose/select a new one each time?...
1
vote
1answer
245 views

QGIS Labels Rotation

I have imported some OS MasterMap data into QGIS 3.2 and have labelled the Cartographic Text dataset. This dataset has a rotation field, populated with various angles of rotation depending where they ...
3
votes
1answer
700 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
2answers
200 views

Adjusting Transparency of Labels on ArcMap?

I am pretty new to GIS, and I am trying to figure out how to adjust the transparency of my labels. I know you have to convert the labels to annotations, but I can't seem to do that. I right click ...
1
vote
0answers
125 views

Text wrap labels in QGIS 3.2 [duplicate]

In QGIS 3.2, I want to show text labels on a map that are coming from a polygon attribute - easy enough. But I want to have the flexibility to set the wrap text position in a certain space, not just ...
0
votes
1answer
28 views

Repeated labeling of random points within polygon? [duplicate]

I have created 3 random points within each of 27k polygons. I now want to label each of those 3 points as "A", "B", "C" within each polygon. Is there a quick/automated way to do this?
3
votes
1answer
602 views

Adding text in integer field for label using QGIS?

I am labeling mile points along several different lines in QGIS 3.2. For the labels I am using a field that is just integers so the labels are 1, 2, 3, etc but I would like to add some text so that ...
0
votes
1answer
235 views

Sorting grid cells in fishnet grid by location and number using QGIS?

I am using QGIS 3.2.0 on a Mac (and also have QGIS 2), and I have a fishnet grid (probably created in Arc) that comprises of nearly 2 million grid cells. As a result, every change I make to the ...
1
vote
1answer
229 views

QGis Server labels encoding

I have a PostgreSQL database with "UTF-8" encoding which contains data in russian language. Each table of database loaded in QGis as a PostGIS layer. I want to show labels of objects on a map. When I ...
2
votes
3answers
339 views

QGIS: relations in label expressions

In my project I have a many-to-one relationship. For example I have a vector layer "Towns" and a data layer "TownsInfo". Each town record consists of "Name" and "Id". Each TownsInfo record consist ...
1
vote
2answers
148 views

Rotating labeling of grid in ArcGIS Desktop?

I have a doubt I would like to know if you can rotate the labeling of the grid. Look at the image 1, the grid is rotated but the labeling is still perpendicular, I need the labeling to be parallel to ...
0
votes
1answer
480 views

Showing contour line elevation labels in QGIS? [closed]

I have a contour map in DXF imported to QGIS. How do I turn on the elevation labels for each contour so they are visible. I thought I had done it by clicking on the layer and selecting properties > ...
0
votes
0answers
139 views

How to add labels using featurelayer and sceneview in ArcGIS API for JavaScript 4.3

I am using using featurelayer and sceneview in ArcGIS API for JavaScript 4.3 and want to add labels. I have followed code examples from the API documentation but the labels do not show. How do I get ...
1
vote
1answer
251 views

Geoserver SLD styling to align labels at the center vertical of roads

I've used SLD to style road features in Geoserver. As roads include multiple segments the 'group' attribute has been used to control label repeat of roads. The problem is some labels can't be placed ...
1
vote
1answer
212 views

pyqgis 3 setup vector labeling not working

I have a standalone pyqgis3.2.1 (Bonn) application that can display maps (vectors, rasters). I tried to setup labeling of vector layers using the following codes, but it only works for point layers, ...
0
votes
1answer
617 views

Showing labels on KML map in Google Maps?

I have converted my layer, that is (from shapefile to KML) in QGIS this is the way I read it in angular: this.kmlLayerc1 = new google.maps.KmlLayer ({ url: 'http://direccion/carpeta/nombre.kml', ...
0
votes
2answers
94 views

Adding labels to a Carto VL visualization?

It was possible to add labels to polygon visualizations in Carto.js 3.x via the CartoCSS; is there a way to add them in Carto VL visualizations? From what I can tell, Carto VL doesn't have the ...
4
votes
1answer
243 views

Is rule-based labelling available for qgis2web plugin?

Does the qgis2web plugin support multi-attribute, rule-based labeling? I'm trying to use the qgis2web plugin to export leaflet maps. The labeling on the map I want to export is rule-based. (eg if x >...
1
vote
1answer
623 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?
2
votes
1answer
213 views

QGIS 3 labelling issue

I have added labels showing the District names of Lesotho, but the highlighted feature is not showing a label until I zoom in or out. Zoom to country extent and label is missing: The label shows ...
0
votes
3answers
228 views

Geoserver SLD to hide points when label is not shown

Is it possible to create a PointSymbolizer together with a TextSymbolizer that will hide both the point and label when the label is not shown as a result of conflict-resolution? What I'm trying to ...
2
votes
2answers
217 views

Show in QGIS the number of overlapping lines in the Label

Is there a way in QGIS to show in linestring's labels the number of overlapping linestrings (with exact same geometries)? I've got cables that have the same geometry (are in same pipeline) and I need ...
6
votes
2answers
220 views

How to show labels in curved pattern in QGIS?

When I am trying to show label of these roads parallel almost all roads are showing, but in curved type visibility of labels are getting reduced. How I can show all roads names curved to road? Using ...
1
vote
0answers
120 views

QGIS API Label expression for vector layer

I'm using QGIS 3.3 C++ API (python dev should be able to answer too as both C++ and Python API share the same elements names) I'm trying to display a label on each point of the layer with this ...
1
vote
0answers
39 views

Conversion of Text layers to vector 'Line' Feature Class

Is there a way to convert Text or Labels to Vectors within Geomedia or utilize the Publish to KML and convert using Google Earth? I do not have Adobe Illustrator installed here to 'Create Outlines', ...
1
vote
1answer
351 views

Geometry Generator Line to Polygon Feature

I had great luck using Carlos' answer here to make lines from features in a point-shapefile layer to their labels, but when I tried the same technique with a shapefile layer of polygons, it won't work....
2
votes
1answer
217 views

How to rotate labels according to an angle stored in a field in the attribute table? [closed]

I have a street name layer. I want to have the name of each street be fitted exactly into the street shape. There is a field in the attribute table which has a degree of rotation, which is the angle ...
2
votes
1answer
411 views

Label Masking in ArcGIS Pro?

The data frame "Clip to Shape" feature, to hide both symbols and labels outside of a specified shape, seems to be gone from ArcGIS Pro. I'm able to use Masking (Feature Layer->Appearance->Drawing->...
1
vote
1answer
251 views

Displaying labels from a lower zoom level?

In QGIS, is there a way to "pin" labels and features from a lower zoom level so that they appear higher up? For instance, considering a map of the US, it would be impossibly cluttered to show every ...
0
votes
1answer
114 views

Python Label Expression Errors

I currently am using a Python label expression to label parcels. I have 4 fields labeled. About 60% of my polygons label correctly, and the rest display the code in the expression, but still label. ...
1
vote
0answers
286 views

Toggle labels from toolbar in QGIS 3

I recall having a label-toggle button in the toolbar in earlier QGIS (2.x). If the selected layer had labels configured, then clicking this button would toggle their visibility off or on. The labels' ...
4
votes
1answer
111 views

Writing Labeling Expression for ArcMap?

How can I remove the alphabets and show the numbers only in a label expression of a layer? For example, I have a field with values: TK209, 01TKRW394, 045TK, 089EYZ46 and I want to display labels as: ...
0
votes
1answer
417 views

Applying Street Labels in OpenLayers 5?

I am trying to replicate https://openlayers.org/en/latest/examples/street-labels.html?q=label plotting highways over California, both from GeoJSON. The Vienna labels show, but my CA highway labels ...
1
vote
3answers
100 views

Writing advanced label expression for ArcMap?

I have a label that I need to format using label expression. The label looks like this: EVA09C and I want the outcome to be this: EA09C Can I tell the label expression to skip the V in there?
1
vote
1answer
292 views

How to turn off a layer's labels programmatically in QGIS 3?

I'm trying to turn off QGIS3 (3.2) labels via pyqgis per How to turn on/off all labels of all layers in QGIS . I adapted the code in QGIS 2 answers linked above, as follows: #... def toggleAllLabels(...
1
vote
1answer
179 views

Expression to define label font in QGIS 3.2?

I am trying to define the font for features based on values in the attribute table. This is what I have tried in the Expression String Builder next to the Font dropdown in Layer Properties/Labels/Text:...
1
vote
1answer
123 views

Converting “show labels for this layer” into “rule based labeling” in QGIS?

Consider this scenario: You have a layer in QGIS with nice labels that you took a long time designing (customizing its multiple label options). For this you used "show labels for this layer" in the ...