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
1
vote
0answers
14 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
39 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
3answers
4k views

ArcMap label expressions with Python

Having trouble here: I'm trying to use python to write selective label expressions. I have several concentrations and depending on its "_Ex" number I either want it labeled red, not red, or not ...
2
votes
1answer
33 views

Problems with layer labeling QGIS standalone C++ application

mypLayer->setCustomProperty("labeling", "pal"); mypLayer->setCustomProperty("labeling/enabled", "True"); mypLayer->setCustomProperty("labeling/fontFamily", "Cantarell"); mypLayer-&...
2
votes
1answer
76 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
3answers
2k views

Using Python Parser of Label Expression to only show text after particular symbol?

I have a bunch of point data that needs labeling. However the attribute used for labeling is more complex than is needed in the map. Example of the attribute field for labeling: 15/8-9a, 001/15-2 8/...
1
vote
3answers
163 views

QGIS style in Google Earth

I've been using QGIS for sometime its a great software, it suits my needs in my project until I encounter this issue in Google Earth. Are there any plugins or any "work around" method to be able to ...
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 ...
2
votes
7answers
14k views

Some labels not displaying in ArcGIS Desktop?

I am using ArcGIS Desktop 10 and trying to label line features. It labels 75% of the features normally, while others do not display any label. There is no obvious geographic or label correlation ...
0
votes
2answers
41 views

Displaying of lake names similar to Google or OSM maps

This is a lake in Netherlands. Right side of the image : Points contains names of the lake (red label). I performed a spatial join between the point and polygon in order that the polygon get names ...
1
vote
0answers
36 views

Create label from different fields in ArcGIS Desktop?

I want to create label like this one in ArcGIS Desktop 10.3.1. Is there anyway to create label like this? Each data come from different field. I can create a label with box or a number with degree....
1
vote
1answer
868 views

Single label for multiple features with different values in ArcGIS Desktop?

I have several sample locations, that have been sampled several times at the same location. I want to label each location with stacked data from each location. So it would hopefully look like this "...
2
votes
0answers
37 views

Concatenating labels with some NULL values in QGIS? [duplicate]

I am trying to concatenate two fields into one label, where the second field sometimes has a NULL value. The first field is a numerical street address (ADR_NO) the second field is a text string (...
0
votes
1answer
17 views

How to prevent labels from a vector file to overlap the raster file?

I have vector file of say Sewer lines with diameter as their labels. Against some of the sewer, georef. images are placed. While displaying all together, line labels do appear over the raster file. I ...
1
vote
2answers
232 views

Google Earth Engine: Labeling polygons according to their attributes

I went through different websites and GEE Guides to find a way to label polygons. But, I could not find a solution for it. Is there anyone who knows how to label polygons based on their attribute data ...
0
votes
0answers
22 views

Annotation label symbols: How to manipulate the size of the symbols themselves?

I need to change the size of my annotation label symbol in ArcMap. Upon creating the annotation feature class from my line feature class, I realized that the line feature class' Reference Scale for ...
4
votes
2answers
170 views

QGIS - How to differently colorize labels from two separate fields using color expression script?

I have 2 fields, I concatenate them [concat(to_string(field1), ' ', to_string(field2))] to show their labels side-by-side. Is it possible to colorize from "text color expression" (using some scripts) ...
0
votes
1answer
38 views

arcpy - decimal value for labelling

i have field named (depth) in feature class (point) with this spec : float - 5 digits >>> 0.7186 or 0.9695 i create new field named (depth_new) with field calculator : round([depth],1) the ...
2
votes
1answer
460 views

QGIS 2.18 QuickMapServices basemap labels shrink when exported to PDF from Print Composer

For the love of all that is good on this Earth does anyone have a fix for this? When I export my print composer map in anything greater than 120 DPI the street labels from the ESRI Transportation ...
3
votes
2answers
648 views

Using Python Dictionary to label subscript formatting ArcMap 10.6 [duplicate]

*Updated Question at bottom Update #3 I need to label chemical formulas out of the attribute table but the attribute table doesn't recognize anything but plain text. Therefore I have built a ...
14
votes
1answer
400 views

Aligning road names in a row in QGIS

I am trying to align road names in a row, or column as much as possible in QGIS. I know it can be done in Adobe Illustrator with a mapping plugin, but I don't have the $$ for that. I tried something ...
0
votes
1answer
454 views

How to maintain OpenStreetMap labels/details (from QuickMapServices) when exporting from QGIS? [duplicate]

My question is about OpenStreetMap place labels in QGIS, and how to keep them at a similar size when exported to as they appear in the software. I realise variations of this question have been asked ...
1
vote
0answers
21 views

Label Position Changed In VectorTile Service

I made a map of boundies in ArcGIS Pro, labeled the polygon geometry by it's name. Everything is okay in ArcGIS Pro, but When I publish it to the ArcGIS Portal as a VectorTile Layer some of the label ...
4
votes
3answers
794 views

Display coordinates of points in DMS format in print composer

In QGIS 2.14.2 I have a series of polylines of which I want the start and endpoint to be labeled with its coordinates in WGS84 (EPSG 4326) like this: 51*15'23.40"N, 5*17'56.58"E I thought I figured a ...
2
votes
1answer
201 views

Values on top of each bar of a histogram in QGIS

Is it possible to show the values on top of each bar of a histogram created with QGIS? (I am using QGIS 2.18) I know this post [Is it possible to label bar charts? addressed a similar question years ...
1
vote
1answer
56 views

Creating label coordinates in a virtual columns in QGIS 2.18

I'm working from a database (PostgreSQL/ PostGIS). I created a view in QGIS of joined polylines from one table with the ST_union function. I want to label this polylines in QGIS. So, I created 2 ...
0
votes
0answers
148 views

Export vector layer with labels to Google Earth as kmz

I have a vector file with contours which i am interested to export it as kmz to google earth with labels similar to the ones QGIS labeling function produces. However I read that Google earth does not ...
-1
votes
1answer
122 views

Creating different label styles for different attribute in layer using QGIS?

I would like to create labels with different shapes in the same layer (like ellipse and triangle). Is it possible? I just read Creating different label styles for different polygon classes using ...
2
votes
1answer
104 views

Creating different label styles for different polygon classes using QGIS?

I'm new to QGIS 2. I have a polygon shape with two classes, and I want to set different labeling style and different "Scale-based visibility" but I don't get how the expression works.
0
votes
0answers
58 views

Multi line rule based labels in QGIS [duplicate]

I have created rule based categories for my symbology, and I would like to have multi line labels to go along with these. At the moment, I have written some expressions for specific cases, in which a ...
2
votes
0answers
95 views

Preventing labels from overlapping in ArcMap?

Im trying to prevent a mxd that has cluster of lables from overlapping these labels. What options do i need to select to ensure this? Labels have a prefered offset with a 500% Max offset. I have set ...
2
votes
0answers
87 views

Problems with latitude/longitude grid in QGIS 2

I try to produce a thematic map in QGIS, like this one done in MapInfo: I want to do this in QGIS. I work in projection "Albers-Siberia" projection ( PROJ.4: +proj=aea +lat_1=52 +lat_2=64 +lat_0=0 +...
4
votes
1answer
147 views

Fine-tune label placement for road shields in QGIS

I want to display road shields and road numbers within them. I already checked the option to connect multiple lines in order to avoid double placement, set the minimal length for lines to be labeled ...
2
votes
1answer
154 views

Strip map with horizontal labels in ArcGIS Pro

I've created a strip index page for my map series in ArcGIS Pro using the Generate Rectangles Along Lines tool. My problem is that the horizontal labels do not rotate with the map frame on the layout. ...
1
vote
0answers
32 views

Labeling single road once per data driven page?

I am working with data driven pages and need to label a long road that spans multiple pages.and convert those labels to annotation. Is there a way for ArcGIS Desktop to treat each page as its own ...
3
votes
1answer
166 views

Labeling without intersect geometries in QGIS?

I have a polygon geometry and I have some points that are its vertices. QGIS 2.18 changes randomly the position of labels. When I choose 'outside of symbol' option, labels are showed outside of point ...
5
votes
3answers
11k views

Moving labels after converting to annotation in ArcGIS for Desktop?

I'm trying to move some of my labels individually around some of these points so that they don't overlap with each other or crowd each other out. When I converted them, I chose to store the ...
4
votes
1answer
146 views

What's the difference between sample, sampleRegions, and stratifiedSample in Google Earth Engine?

According to the documentation of GEE, ee.Image.sample() samples the pixels of an image and returns them as a FeatureCollection, in which each feature has 1 property per band in the input image. You ...
3
votes
1answer
3k views

Adding label to QgsVectorLayer in PyQGIS? [closed]

My goal is to define labels programmatically for the case similar for the figure below: But I didn't find any guidance how to do so using Python. I have a feeling it could be done using QgsLabel ...
12
votes
4answers
6k views

How can I connect label and point with a line/arrow?

Is it somehow possible in QGIS to connect labels and points with a line/arrow or something? In my map it is not clear which label goes with its point. I can't bring it closer because there are many ...
2
votes
2answers
780 views

How to make labels appear at a different scale than features' scale in Geoserver?

I'm using Geoserver 2.6.2. I need to display land parcels and their references (a number). I have specified a maxscaledenominator for the features (polygons) but I don't want references to appear at ...
0
votes
0answers
41 views

Which label from different points inside a polygon is the most repeated

I have millions of points, each point with a label. These points are inside of different buffers (polygons). I want to create a new column that puts the value of the label that is repeated more time ...
0
votes
1answer
78 views

QGIS use layout name in styling expression

I have a .qgs file with a number of fairly complex styling rules showing the local Nordic ski trails. It has a single layout for printing on an 11x17 page. Until now the same PDF has been used for ...
0
votes
2answers
262 views

How to label features based on categories in the attribute column of ArcMap?

I have the below shown attribute table: I would like to label the features with the name for the points under the category 'AMN' only as shown in the last column of the above figure. Can anyone ...
0
votes
0answers
22 views

Expression labelling to annotation - ArcMap to CAD

I have point feature layer (more than 100). My task is labelling that point and convert annotation (I use ArcMap) then export that to DWG format I use this script to labelling : mxd = arcpy....
2
votes
1answer
294 views

Getting IndexError: list index out of range from arcpy.mapping.ListLayers() in Python Window of ArcMap?

i want to turn on label using arcpy, i use current mxd and my mxd path in my script and my layers also active in the current MXD, but it give me this eror, can somebody help me? here the script i ...
2
votes
2answers
3k views

Using attribute data for legend labeling in QGIS?

For features in a map it is possible to stuck data from the attribute table together and get a data driven label. I try to do this for my legend labels. I want to combine values from my attribute ...
4
votes
0answers
99 views

Reproducing Paper Results for Land Cover Mapping of Satellite Imagery?

I am interested in training a neural network to perform pixel-based classification for land cover mapping of satellite data. In order to learn more about this interesting field I am trying to ...
3
votes
2answers
780 views

Label font size and scale QGIS 3.0

How can I make it that the font size of the label changes when I zoom in and out? I have a polygon and I want the label get bigger when I zoom in and smaller when I zoom out (just like the polygon ...
3
votes
1answer
188 views

Geometry Generator - make line to polygon perimiter

I would like to improve the way arrows point to polygons when moving labels. I have some fields with unique numbers associated with each one. When the centroid of a polygon is outside the physical ...