Annotating data on a map using text and/or graphics.

learn more… | top users | synonyms (2)

4
votes
0answers
31 views

Center my contour values in QGIS

In QGIS have an issue with my contour value labels being pushed to the edge of my map, instead of lining up at the center where they seem to have more space. Does anyone know why this happens for some ...
4
votes
0answers
85 views

Rule-based labeling and the Data defined placement options are not working together (QGIS 2.12, 2.14)

After setting "Rule-based labeling" to my layer (new feature since QGIS 2.12), my data defined labeling is not working any more (see labeling tools on the right side): Going back to "Show labels ...
3
votes
4answers
219 views

Removing first and third zeros of a fieldname in label expression

The fieldname only has three characters. I dont want to display zeros in the first and third values. example below. 010 = 1 100 = 10 01Y = 1Y 10Y = 10Y I have figured out how to strip out zeros ...
3
votes
3answers
3k views

Expression labelling in ArcMap: Label only where value is > 1

I have a field in a shapefile with values ranging from 1-50 and multiple listed as 0. Is there a way to label only the features where the number in the priority field is > 0?
3
votes
2answers
60 views

Label and symbol with condition in layer properties under style tab

I have forest areas. I want to put tree.svg with condition. Layer properties-> style-> background -> shape ->svg Something like this: if (myfield<1300 , then show, C:/PROGRA~1/...
3
votes
5answers
3k views

When labelling polygons, not all labels are displayed - QGIS 1.7.0

I am trying to create a simple map of Mexico showing the state polygons and their label. The state shapefile is from here, and the specific file is the first one from the top (Áreas Geoestadísticas ...
3
votes
2answers
92 views

Putting parentheses around label value in ArcGIS for Desktop?

How can I create a label expression to put parentheses around an attribute value I need labeled on a map? I'm using ArcGIS version 10.3.
3
votes
1answer
531 views

km2 or sqkm - which is more correct?

What is more correct, km2 or sqkm? I'd prefer to use km with a superscript 2, but it's not always possible to format text that way so I was just wondering if there is a convention that should be ...
3
votes
2answers
2k views

Turning off labels that have null values in ArcGIS Desktop?

How do I turn off labels that have null values? I am using a leader with this label but I want it turned off if the values are null
3
votes
4answers
101 views

How to choose a fixed position to labels in QGIS 2.14.2? [duplicate]

How can I manually position these numbers for a better position in a polygon layer?
3
votes
2answers
134 views

How to combine two string replace functions in one expression?

I would like to change some of my street labels like "Musterstraße" into "Musterstr." or "Muster Straße" into "Muster Str." I already did that for the first case: replace("name", 'straße', 'str.') ...
3
votes
2answers
130 views

Labeling only points that ends with the number 5 in QGIS

I have a shape file with points at evenly spaced intervals, the table has the following fields: Name is up to 32 characters of text. it is currently populated with an eight digit number. Point_No ...
3
votes
2answers
678 views

different labels at various scales

I have a locality layer of neighborhoods and suburbs from a spatialite database. How do I label this single layer with the neighborhood name at a lower scales, but as I zoom out, I would like the town ...
3
votes
2answers
256 views

Python labeling expression using numeric field not working

I'm trying to label parcels from a shapefile in the Python expression below in ArcGIS 10.2. All parcels should be labeled with the last 8 characters of their [PARCEL_NUM], and parcels 10 acres or ...
3
votes
2answers
568 views

Which labelling tool/engine in QGIS will be supported in the long term?

Why does QGIS appear to have two labelling tools? (Note this is not new and old symbology, but that...) there are two different GUIs, one in the toolbar (which gives the Data Defined Settings option) ...
3
votes
2answers
4k views

Stacking labels in ArcMap without Maplex?

I do not see any obvious setting for stacking labels in ArcMap (ArcView license). Am I missing something or do i have to write a complex expression to stack my labels?
3
votes
2answers
45 views

How to show up label more than one properties of a shape file

How to show a label that includes more than one properties of a shapefile on the layers, let say I'd like to show up to properties of a shapefile in Arcinfo / ArcGIS 10.0.
3
votes
2answers
423 views

Removing 0 values when labelling an integer field

I am trying to do a simple labelling exercise however I am a bit stuck on how to remove unwanted '0' values. I have three fields which I would like to display in a stacked label i.e. on three lines. ...
3
votes
1answer
891 views

Attribute Query for First/Last record and every nth inbetween

I have a feature class with over 5000 points. There are too many to label so I would like to be able to grab the first, the last and every 30th or 50th in between.
3
votes
1answer
2k views

Why does QGIS show too many labels per feature?

When i check to label polygon feature, one out of a total five polygons shows like 10 labels on top of it. That particular polygon is only one polygon, represented by one row in the table, so i dont ...
3
votes
1answer
104 views

How to make some labels BOLD using Expression Builder QGIS

I am using QGIS 2.14 and I am trying to make some of my labels bold to stand out. I'm not sure how to do this using the expression builder. I know this is wrong and I was wondering if someone could ...
3
votes
2answers
127 views

Labeling polyline vertices with Z value using ArcGIS for Desktop?

I would like to label all polyline vertices of a shape with the z value of each vertex without using export tools like Entity Vertices to Point and without creating new field in the attribute table
3
votes
1answer
176 views

How do you label only the odd or even integers of a field using python in the label expression in arcmap?

I'm new to python and would like to use the label expression box with python to display only the odd or even integers from the field, [Frame_Number]. I was thinking something like def FindLabel ( [...
3
votes
3answers
497 views

Displaying single label for multiple features with same value in ArcMap?

I'm working on ArcMap 10. I have a layer of points which I categorized based on a field that we can call "Name". Thus, as you can see in the picture below, the layer is now composed of 24 colors, each ...
3
votes
1answer
764 views

How to format labels with leading zeroes?

I'm trying to display a number next to a symbol in QGIS 2.0.1 - The numbers are from an integer-field in a postgresql database. The goal is that single digit numbers get a leading 0. Examples: 12 --...
3
votes
1answer
1k views

How to Use Label Expression with Text Formatting Tags

I am using a Label Expression to label a parcel layer. The expression is: "<FNT name=""Arial"" size=""12"">" & [Owners_Nam] & "</FNT>" This works correctly for some labels, but ...
3
votes
2answers
1k views

Why do my map labels disappear when publishing as a service on ArcGIS server?

I am developing a map service, rather basic, with some polygons and labels. Surprisingly, when I deploy this service on the production server, the labels disappear (see here). I have a second local ...
3
votes
2answers
1k views

How can I label edges of polygons?

How would I label polygon features, such as Counties, by its edge in ArcMap 10.1. This is similar to what one might find in a street atlas. For instance, have there are two counties (Lamb and Castro)...
3
votes
1answer
607 views

Rotating Layout View and Labels in ArcMap?

I have a question if you are able to, upon rotating the map, is there a way to do the same with the labels? If so, how? Also, besides using the "Rotate Data Frame" to rotate the Layout View, which ...
3
votes
2answers
5k views

Label *beside* polygons in ArcMap 10?

I try to add labels to polygons in ArcMap 10 based on a field in the corresponding attribute table. However, the labels always appear inside the polygon, and I can't find an option that lets me put ...
3
votes
1answer
2k views

ArcObjects add halo to label

I would like to add a white halo to labels using arcobjects. I think I need to reference the IFormattedTextSymbol interface, but I'm not sure how to implement this into my current code (see below). ...
3
votes
1answer
51 views

How to label an axis in ArcScene?

Can anyone help me label z layers (years in my case) along z-axis shown in image please? Year labels appear now on this image is just my texting on the screenshot just to show what I am wishing to ...
3
votes
1answer
137 views

Labeling each polygon based on the number of points inside it using Python

I have a parcel layer and a trees layer, I want to label each parcel with the number of trees it contains and the sum of DBH. I wrote a script that calculates this and it works stand-alone, but I can'...
3
votes
1answer
741 views

QGIS Multiple CASE WHEN/THEN Statements for Expression Based Labels

I am trying to label a single point with multiple labels, based on the attributes for that point. For example, if one of the attributes is equal to 1, I want to label it with a specific text string; ...
3
votes
2answers
119 views

Placing the label style alongside the layer style within the legend - Arcmap 10

I've been searching for a way to include the label symbology within the legend, something similar to the image below: (Apologies for the quality) There was a post some 4 years back that touched on ...
3
votes
2answers
285 views

Expression for placement of label 'offset from point' by azimuth field using QGIS?

I need help making an expression for labelling points, such that the label is placed in one of the 8 quadrants (above point excluded), based on the azimuth field of the point. For example, if the ...
3
votes
1answer
3k views

Using if/elif for passing null values to Python of label expression in ArcGIS for Desktop?

I am trying to pass the Null values in label expression in advance python section. I have this code and it's not working. Note that all my values in [TX_SECT] and [ABSTRACT] are numbers. def ...
3
votes
1answer
1k views

adding line breaks to labels in ArcGIS Online

I'm using the new labeling functionality in ArcGIS Online. My question is how do I add a line break to the label if I want to use more than one field?
3
votes
1answer
2k views

Single tiled Mapserver WMS to avoid Labels and features cut along tile borders and repeated labels

I am using Mapserver-wms-openlayers for publishing maps. But there are some issues came across related to duplicate labeling for same feature in adjacent tiles, unwanted breaks in line features along ...
3
votes
1answer
87 views

Arcobjects- IAnnotateLayerPropertiesCollection2.QueryItem in Python

Anyone tried access label properties trough ArcObjects with Python? I try to obtain reference to label object with IAnnotateLayerPropertiesCollection2.QueryItem, but when I do: pA = pGLyr....
3
votes
1answer
579 views

Labels with white (or other color) background

I tried to give my labels somekind of box and a backgroundcolor (or boxcolor) in QGIS, but i couldnt find the right option. My labels are not readable because my layers are too dark. I found offset ...
3
votes
3answers
3k views

Labeling coordinate value at 4 corners of graticule in ArcGIS Desktop?

Is it possible to label automatically lat/long values at 4 corners: upper left, upper right, lower left, lower right of the graticule in Arcgis (10)? I have not found the way to do that so far.
3
votes
1answer
104 views

Labelling only part of the row

I have a column (see below) where I want to label only part of the row. Example: 16-23-1-01-7 -a -00 I want to label only: 7 -a Is it possible in QGIS?
3
votes
1answer
82 views

In QGIS, how to set the label size to fit the scale in the composer window?

Is there a way to set the labels size of font to fit the scale of the map in the composer window but also to fit in the main window? The map in the composer is size A0 and the scale is 1:5000. In ...
3
votes
1answer
291 views

Placing axis labels inside graticule on data frame of ArcMap?

I'd like to add a graticule in DMS to my map in ArcMap 9.3, having tick marks and label axes inside the main figure/frame (similar to the below map). Although setting it for tick marks is very easy, I ...
3
votes
2answers
420 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 ...
3
votes
1answer
146 views

SQL Query in arcmap

I have a BUILDING.SHP and in the attribute table, it has several names and some of the attributes are "STOR" and "MULTIPLE-STOREY CAR PARK" like image below. In my map, I don't want label the ...
3
votes
1answer
344 views

How to create a US map in R with separation between states and clear labels?

I was trying to figure out how to create a map like down below in R on the Stack Exchange but maybe that's the wrong community and the GIS side is a better spot. Currently, I'm able to add the colours....
3
votes
1answer
189 views

How do I make curved labels for polygons in QGIS 2.6.1?

I have been able to find answers on how to do this in older versions of QGIS, but can't seem to come across anything that deals with the latest installment. I need a way to make labels curve to ...
3
votes
2answers
227 views

Why are there no line breaks in my labels even though I added \n?

I'm having an issue with creating multi-line labels in QGIS. I believe I have the syntax right in the label expression because the output preview looks correct. However, on the map, everything ...