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

learn more… | top users | synonyms (2)

47
votes
4answers
16k views

LatLon or LonLat, what's the “right” way to display coordinates and inputs?

I'm trying to get a sense if this is an issue for others or every input/output should be labeled so user is not confused and just go with it? I think almost everyone pronounces it as "LatLon". Who ...
23
votes
5answers
2k views

How to interrupt contour lines beneath elevation labels (instead of using label buffers)?

Is there a way to interrupt a contour line beneath an elevation label?
15
votes
3answers
15k views

Is there a way to manually place labels in QGIS?

Is there a way to manually place labels in QGIS? I have a map which has almost-duplicate labels in some places (e.g. E 1st St and 1st St) and I'd like to remove some of them. Also, I'd like to move ...
14
votes
14answers
33k views

Labels not appearing on any layer in ArcMap?

Not sure what the issue is, but I'm unable to get labels to display in ArcMap 10. The obvious things are accounted for (as far as I know). Labels are set in Properties, layers are checked to label in ...
14
votes
3answers
11k views

Idiots guide to expressions for QGIS

I have no formal training in GIS and have learned on the fly with ArcGIS 9.3 at work and have been dabbling with QGIS on my own time for my business. Is there any resource recommendations ingeneral ...
14
votes
4answers
4k views

How to place elevation numbers on contours with uphill orientation and position?

I want to orient my elevation labels uphill. Is that possible? I'm currently using the labeling tool from QGIS (not that one in layer settings). I want the labels curved and uphill oriented (and I ...
13
votes
9answers
10k views

Algorithm for finding irrregular polygon centroid (label point)

I need to find a centroid (or label point) for irregularly shaped polygons in Google Maps. I'm showing InfoWindows for parcels and need a place to anchor the the InfoWindow that is guaranteed to be on ...
12
votes
1answer
5k views

How to add labels outside of features?

I'm trying to achieve this kind of labeling using QGIS. Apparently, it doesn't seem to be easily supported. Would you have an idea for a workaround ? I managed to have circled text using ...
12
votes
1answer
643 views

How to create a label combining different font sizes or types?

I would like to place the elevation-number of a point in a different front size and centred under its name: Is that possible? (That is my actual labeling: label || '\n' || elevation)
11
votes
5answers
2k views

Measuring straightness of a curve segment (represented as a polyline)

I'm working on an automatic elevation contour labeling algorithm and one of the factors that I want to take into account when deciding the positions of labels is how "straight" a particular segment of ...
11
votes
4answers
348 views

How to avoid labeling features if overlapped by another layer?

With QGIS 2.12.2, how can I set up layer labeling to avoid placing labels where features from another layer already exist? For example, if I have a stream/river polyline layer that contains lake ...
11
votes
2answers
280 views

Can labels for overlapping points be combined/merged into one label?

I have points representing sample locations. Often, multiple samples will be taken in the same location: multiple points with the same location but different sample IDs and other attributes. I'd like ...
11
votes
2answers
6k views

How to use label classes, expressions, and annotations?

I've always found that when it comes to python, vector analysis, QGIS gives ArcGIS a run for its money, hell some of the qgis plugins exceed ArcGIS's performance by a few hours; however, I always have ...
11
votes
1answer
1k views

Is there a way to add a “current user” label to the print composer?

Is there a way to add a current user label to the print composer in QGIS. I thought there might be something similar to the $CURRENT_DATE format available. This would be in a windows environment.
11
votes
2answers
2k views

Is there a method to have the colour of a label automatically match the colour of the polygon indicated in the symbology tab?

My job requires that I produce several print maps every day, for a variety of different users. It is usually pretty straight-forward, but sometimes I have to make a map that uses rather ...
10
votes
3answers
519 views

What's the convention for “upside down” labels?

I have line features that are to be used for labels. These lines are correctly oriented(rotated) and positioned such that text placed on them should give a good cartographic output. Compare the below ...
10
votes
2answers
288 views

How to create dynamic leader lines?

I'm trying to create dynamic leader lines by using a PostGIS view in addition to the QGIS „Move Label“ tool. CREATE VIEW leader_line AS SELECT gid, ST_MakeLine(geom, ...
10
votes
3answers
448 views

Using Label classes vs Definition queries - which performs the best?

Which would provide the best performance for working within ArcMap with very large datasets stored in an ArcSDE geodatabase? Multiple label classes using complex SQL queries to label specific ...
10
votes
3answers
2k views

How to prevent text labels from overlapping other markers?

Is their a way within QGIS to prevent text labels from overlapping icons used to label a point layer? In the example map shown below, there are two layers: Roads layer which is labeled using the ...
9
votes
4answers
2k views

Are there any cartography “rules” you should follow when labeling maps?

We've all seen poorly labeled maps before. In these maps, the wording is either illegible or unpleasant to view due to positioning, color choice or size, or the labels take up so much map space that ...
9
votes
2answers
2k views

How to only show labels for an arbitrary selection of items?

I'm curious how others go about solving this problem: You've created a map for something with a large number of features that are labeled. The customer/client asks that you only show labels for X, Y ...
9
votes
2answers
599 views

How to create vertical labels in QGIS?

How to create vertical labels (each label in new line) like: 1998 150 pipe name and not horizontal: 1998 150 pipe name
9
votes
1answer
4k views

Polygon label repeated for each tile

I'm using the standalone GeoWebCache to serv tiles from a remote GeoServer. My problem is that the polygon label is added to each one of the tiles served, instead of only once in the polygon centroid. ...
9
votes
6answers
792 views

How are labels dynamically placed on a line or polygon?

I was wondering if anyone knew the math involved, or resources for learning the math involved, in finding the ideal position, scale, and rotation of a label for a line or polygon on a map? The most ...
8
votes
2answers
2k views

Is there a way to turn off all labels in ArcMap without clicking on every layer?

I rarely bother with labels, but sometimes it would be nice to toggle them on/off. Something like the Pause Drawing button, except that it would only turn off labels (all labels in all layers...not ...
8
votes
2answers
4k views

How does manual Label Placement in QGIS 1.9 work?

There are a bunch of questions here related to labeling in QGIS, but it's not clear which version they are referring to, and I know this is something that has changed recently. Hopefully it makes ...
8
votes
1answer
207 views

Changing thousands separators from comma to space in measured grids of ArcMap?

In ArcMap it is easy to include commas as thousands separators on a measured grid, as can be seen in the screenshot below, but I have not been able to find a way to change the separator used from ...
8
votes
1answer
718 views

Label legend interval with number of elements - ArcMap 10

I have made a series of choropleth maps in ArcMap 10. When I classify the interval the bottom of the dialogue tells how many elements are in the class. Is it possible to have this number ...
8
votes
3answers
2k views

Rendering and Labeling Shapefile with PyQGIS

I've been running into a few problems working with the QGIS API for python. I've gotten more comfortable working in the python console in QGIS but I run into problems when I try to run the code ...
8
votes
3answers
3k views

Label points at regular intervals using ArcGIS for Desktop?

I'm working with lines on roads represented by a large number of sequencial points. Since labeling all of them would make the points impossible to identify, I'd like to know if there is a way to label ...
7
votes
3answers
1k views

QGIS choose contour line labels

Is it possible to select only one contour line for labelling? I have numerous labels for each line and I'll prefer to label only the main ones, such as 1000 m and 1500 m
7
votes
2answers
1k views

How to label raster cells using ArcGIS Desktop or QGIS?

I want to generate a small sample raster (eg. euclidean distance or cost distance) to explain the method of cost-distance analysis, and I'd like to label the pixels with the corresponding cost-value. ...
7
votes
3answers
4k views

Label Expressions to replace null values with text not in feature class

I need to label some hydrants (points) - some of these belong to the fire brigade and have a number assigned to them, some do not and thus do not have a number. I would like to write an expression ...
7
votes
2answers
3k views

What are valid values for “data defined” labeling settings?

I'm using QGIS 1.8. I'd like to customize label features on an existing shapefile using the new label engine and it's "data defined settings" option. I'd like to know what the attribute table field ...
7
votes
2answers
6k views

Altering font size using label expression?

I have two label classes displaying dynamically over my parcel polygons. The owner info is the major label with larger font size and bellow it I am displaying some property type info in smaller font. ...
7
votes
2answers
552 views

Parsing serial date in ArcGIS for Desktop?

I have imported a shapefile that contains a serial date number that looks like this: 41256.260799. I would like to create a new field that shows only the hour and second like this: 06:33. I've tried ...
7
votes
1answer
1k views

ArcMap 10: How do I escape certain characters when labeling?

I am labeling certain Oil & Gas areas by Operator in ArcMap 10, using this expression: "" & [OPERATOR] & "" & vbNewline & "" & [UNIT_NAME] & "" The only problem is ...
7
votes
2answers
6k views

How to move labels in QGIS?

I'm trying to manually move labels but having some trouble. I'm trying to move the labels while in edit mode. I've added fields for x coordinate (all null), y coordinate (all null), rotation (all =0), ...
7
votes
2answers
5k views

Placing label designs in the legend - Is it possible in ArcGIS 9.3.1?

I'm working in ArcGIS 9.3.1 and apart from "regular" slayers with symbology, I have a few layers which I do not show their symbol on the map, but only their label (for example: cities layer in which ...
7
votes
1answer
168 views

Is there a way to label a layer using its file name or layer name?

Is there a way to label a layer using its file name or layer name (if I'd change it in Layers window TOC)? I tried some functions but I'm not good on that. I have lots of shapes (lines) and it would ...
7
votes
1answer
402 views

Label placement on rotated map in QGIS

I'm a newbie to GIS and QGIS (please be nice to me). I'm working on a map for a garden/arboretum catalogue using QGIS 2.6.1. The arboretum has been surveyed using GPS, and the specimen trees and ...
7
votes
1answer
877 views

How to position callout bubble leader using maplex?

I'm using data driven pages to produce a number of maps. I'm using Maplex to have a callout bubble labeling my features. The problem is that for about 5% of the features, the callout bubble is not ...
7
votes
2answers
1k views

ArcGIS 10 - Text background not showing up when exporting

I have highways labeled with the standard shield and route number on it. For my main data frame the labels come up correctly. I also have 4 inset maps where only the number will show up, not the ...
7
votes
0answers
137 views

Geoserver dxf plugin - How to export attributes labels?

I'm trying to export from Geoserver a set of layers with WFS request and dxf plugin for dxf conversion. There is an option withattributes:true that I have added for each vector layer a ...
6
votes
2answers
3k views

Placing image inside of Label using ArcGIS Desktop?

In ArcView, can I add an image to a label? Assume I have the photograph path as an attribute.
6
votes
2answers
133 views

ArcMap sometimes ignores labeling expression

I'm using this python script as an expression for labeling in ArcMap: def FindLabel ( [volkorrekt] ): if [volkorrekt] >= '5': return "<FNT size = '20'>"+ str( [volkorrekt] ...
6
votes
2answers
5k views

How to create multiline labels in QGIS?

How can I apply Multiline label option in the label property.Name field contains a lengthy name. I want to wrap it. How can I do it? please help me. My QGIS version is 1.8
6
votes
2answers
3k views

How to disable polygon Label on the vertices (OpenLayers) in Edit Mode

I added the style on the polygon layer like so. var style = $.extend(true, {}, OpenLayers.Feature.Vector.style['default']); // get a copy of the default style style.label = "1233456 ha" ...
6
votes
2answers
1k views

How is the default label field chosen by ArcMap?

I have 2 questions: I know how to manually go to Layer Properties>Labels tab>Label Field and choose my label field. I also know that I could set up my primary label field and save the setting as a ...
6
votes
1answer
103 views

How to use a graphic for labeling in Qgis?

The "label" option in QGIS allows a wide range of possibilities for displaying attributes of an object in the map. Is there a way to use a symbol/graphic (eg stopsign.png) for labeling objects of a ...