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

learn more… | top users | synonyms (2)

4
votes
3answers
1k views

How to label features in QGIS using SQL statement?

In QGIS, I can't seem to find a way to define the features that I want to label using a SQL query? Is this possible? For example, I downloaded the OSM Natural shapefiles, and a lot of those features ...
4
votes
1answer
2k views

How to display label in symbol in ArcGIS?

As you see on the map below, there are labels in circle coloured symbols. How can I show them in this format in ArcGIS? If you look at the legend of this map it shows the different categories with ...
4
votes
2answers
4k views

Customizing label features using arcpy

I have a script that creates symbology for a polyline (contours) and then adds it to a .mxd file. My problem is that it picks the “FontName” as the default field to label on the map (see attached ...
4
votes
2answers
97 views

Dropping & inserting specific characters within a field being used for labeling

I would like to find out how to properly format a conditional expression in labeling, so as to only get specific characters back out of a field that has 9 characters in it, but don't wish to label ...
4
votes
2answers
796 views

How can ArcGIS labels use a different expression if attribute is null?

I am using an expression to label features by concatenating two attributes in ArcMap. It works like this: <attribute_1>+" "+<attribute_2> Unfortunately when either attribute is Null the ...
4
votes
2answers
1k views

How to create label with variable size in ArcMap?

I'd like to create a circle label in ArcMap in the middle of each Polygon feature in my map document to shows the value of a particular attribute associated with that feature (like number of available ...
4
votes
5answers
3k views

Openlayers renderer in IE8 - Labels not visible

I copied the source code of http://openlayers.org/dev/examples/vector-features-with-text.html. This url works just fine in IE8. I put the html page as it is in the webfolder in our network. I opened ...
4
votes
2answers
3k views

Is there an option to remove duplicate polygon labels in QGIS?

I would like to know if there is an option in QGIS labeling engine which would remove all the duplicate labels. My polygon layer contains a few features with same name. So when labeled it becomes a ...
4
votes
2answers
319 views

Is there an advanced way to label in ArcMap so that the label will not be dropped?

Is there an advanced way to label in ArcMap so that the label will not be dropped?
4
votes
2answers
128 views

How to get a multiline labeling if it is too long to fit? (QGIS 2.14)

How do I get multiline labels if the text is too large to fit in the length of one line (street). I know "wrap on character", but I need an automatic way to do it. Update: More details After ...
4
votes
1answer
369 views

ArcGis label last vertex Z value

Is it possible to label a feature in ArcMap using geometry values? In this instance I want to label features (polylines) with the Live Z value of the last vertex obtained from the Shape. However ...
4
votes
1answer
153 views

How to make QGIS abbreviate labels with a dictionary?

I'm trying to use qgis "expression dialog" for labeling a layer. What I'm looking for is an expression that permits to apply some abbreviation rules on the layer. For now i'm using this CASE WHEN ...
4
votes
2answers
195 views

Is it possible to position QGIS labels by clicking on polylines (and polygons)?

QGIS has now few really good options for custom labels but I can't find a way how to easily manage labels along polylines. Is there a tool which helps me place labels by clicking on a polyline so the ...
4
votes
1answer
736 views

QQIS composer: Using bold and normal text styling in a label at the same time?

I am writing text explanations for map symbols and need to write three lines for each symbol - basically explaining the same thing in three different languages. I'd like to bold the main language - ...
4
votes
3answers
6k views

How to label GeoJSON polygons?

I'm using Leaflet combined with GeoJSON features. Is there a way to label GeoJSON features (in this case - polygons)? It should get labels from feature.properties.name This is my code where I ...
4
votes
2answers
1k views

How to show two different labels of a particular vector layer with the help of QGIS?

I am working under a government project in Kolkata with QGIS. I want to show two different labels of a particular vector layer. just like we can show two different labels in Arc GIS with the help of ...
4
votes
6answers
4k views

How to get rid of double labels on ArcGIS 10

I'm displaying several point shapefiles. I want them all labeled with the field "ident" which is a 3 digit number starting at 001. Two of the three shapefiles show the labels correctly but the 3rd ...
4
votes
1answer
76 views

Rule-based labeling using Atlas - QGIS.2.14.1

Does anybody know how to only label features of a shapefile that are inside of another shapefile's features used as coverage in Atlas ?
4
votes
1answer
50 views

Change entire label style after certain extent

I need to design a dynamic label in ArcMap that changes its entire style after a certain zoom extent. The research I've done suggests to me that there is currently no way to use VBscript to manipulate ...
4
votes
2answers
8k views

Remove first n characters in label using ArcGIS 10 label expression builder with VBscript

I have a planning cadastre dataset. It has the type of plan (DP, RP or SP) and then the plan number, thusly: DP123456 RP1248590000 SP3855 etc... I want to make a label in the expression builder in ...
4
votes
1answer
754 views

Are features of new labelling tool available to control via Python API?

I am writing a plugin using Python and currently using methods that set the label similar to those seen under Layer Properties. Some of the features under the new labelling engine available on the ...
4
votes
1answer
874 views

Setting mask (halo) for labels in Python script?

I currently am writing a python script and using a lot of the arcpy mapping module functionality. I have been using the LabelClass of the arcpy mapping module to automate the display of labels with my ...
4
votes
1answer
3k views

Alternatives to Maplex Labeling Engine for ArcGIS Desktop?

I am running ArcGIS 10 (ArcView) with the standard labeling engine. I am very familiar with Maplex and have used it in the past but it still lacked the "feature-linked" functionality given the type of ...
4
votes
1answer
4k views

Placing all labels in ArcMap non-overlapped by extending arrow/line from label to point? [duplicate]

I was wondering if there is a way to place all labels on a map non overlapping, but by extending an arrow/line from the label to the point. I've tried the call out box, but I couldn't find a way to ...
4
votes
1answer
169 views

Excluding certain attributes from being labeled in ArcMap?

I am using ArcMap 10.1, and i am labeling a roadway system but would like to exclude certain road labels from being displayed.
4
votes
1answer
1k views

How to display multiple fields as labels if one field is null?

I am having some issues trying to show multiple fields for a single label in QGIS. In QGIS2.6, attempting to display labels for a feature consisting of multiple fields results in an empty label if one ...
4
votes
1answer
247 views

QGIS 2.2: prevent labels being cut off / clipped at edge of map

I've read a few other issues about trying to prevent labels from rendering if they run off the edge of the map canvas. This is particularly a problem in Composer, where I get lots of country labels ...
4
votes
1answer
734 views

How to write labels with varying significant figures/decimal places?

I have results that range from ex. 113,009 down to 0.00495 - Can someone recommend a way to write/construct a label expression for the following in ArcMap: • If less than 1, use 2 decimal places (...
4
votes
1answer
765 views

Moved labels in QGIS 1.8 disappear on saving vector file

From other posts I worked out how to activate the "move label" icon and was successfully able to move a number of labels into the positions I wanted. However when I untoggle the "edit" function for ...
4
votes
1answer
4k views

Getting text to center in a label expression

Is there an expression that can be entered in the label expression that will force text to center? Such as the ones used to change case/replace/etc.
4
votes
1answer
704 views

How to display intersecting roads and create multiple labels for long roads in QGIS?

I am new to GIS and I am using Qgis 1.7.3 on Windows. Can any one please tell me how to display a map from line shapefile with these two characteristics: Roads are displayed with borders at the ...
4
votes
3answers
1k views

How to “Never Remove” labels in Maplex?

The out-of-the-box labeling engine does a fine job with forcing all labels to display despite of overlap. The same cannot be said of Maplex. I have a polygon layer obtained from the Ontario ...
4
votes
1answer
67 views

Why is QGIS only one label rendering at a time?

I'm new to QGIS, but I'm experiencing what I think is a bug. When I load the qgis_sample_data landcover raster and lakes vector layers, then enable labels for NAMES on that layer, I can only ever ...
4
votes
2answers
129 views

QGIS Print composer Label Icon in Legend

In a legend of a map I want to label the icon with a number, just as it appears in the map. As example, I have different parcels and every parcel has a number. In the map, the parcels are labelled. In ...
4
votes
2answers
111 views

How to show labels for all polygons in a layer, even with 'NULL' values?

I have a polygon layer which contain information on property name, number of trees within the polygon, average height, and min- and max height values. My problem is, I want to label each polygon with ...
4
votes
1answer
3k views

How to get labels to diplay in Google Earth after saving to KML?

When saving a QGIS layer as kml, is it possible to have labels be displayed when opened in Google Earth?
4
votes
2answers
103 views

Where can I set the BufferColor property for labels in QGIS?

The accepted answer to this question suggests that the buffer color can be set as a data defined label property. However, in the Layer Properties > Labels > Advanced tab, the only options I can see ...
4
votes
1answer
1k views

Finding suitable font size for map scale in ArcGIS Desktop?

Is there a website that suggests suitable font sizes for each scale level in the layout? I am currently using ArcGIS 9.3 but pretty soon will upgrade to 10.
4
votes
1answer
69 views

QGIS print composer internal grid labels

Is there a way to have the grid labelled inside of the map frame (I don't mean the option to draw coordinates inside the frame)? What I want to achieve is a "ladder" of labels like in this example: ...
4
votes
1answer
77 views

How to get coordinates of label position or make static labels for each feature

How can I get the coordinates of generated labels on Canvas? Or is there a way to make static labels for each feature? I want the labels to not move when the canvas changes scale or moves. My ...
4
votes
1answer
191 views

Data defined label alignment option greyed out on new Quantum GIS Dufour

I am trying to customise the positioning of labels in relation to points in a vector file layer in the new QGIS 2.0. In QGIS 1.8 I was able to enter two customised X/Y columns in the attribute ...
4
votes
2answers
472 views

Centered label halos in ArcMap 10.1

When I use label features with halos in ArcMap, whether using the standard or Maplex labeling engine, the halos in the exported map (PDF) are always shifted vertically, so that instead of the halo ...
4
votes
1answer
233 views

How to avoid cutting labels along the map border?

I am labeling areas on a map (for example, forest (coniferous, deciduous trees), swampland, and so on). A cartographer has criticized it because labels which extend beyond the boundaries of the ...
4
votes
1answer
51 views

Positioning of graticule labels in QGIS 2.14.1

I have a map grid (line, shp) that was created with MMQGIS. The X and Y coordinates of the lines are stored in the the attribute table, which makes labelling the lines an easy process. My problem is ...
4
votes
1answer
118 views

Bold and Italic layer labels with Python in QGIS

I'm trying to apply some labeling properties to a layer using Python. Everything went fine, except the way I tried to apply the Bold and Italic settings. Here is a part of the code: layer....
4
votes
1answer
483 views

Qgis - Labels automatically resize to fit within the polygon

The question of my problem is simple, I want to make labels automatically reduce to fit within the polignos. Type the biggest size is 12 and goat decrease the size to be restricted to the limits of ...
4
votes
3answers
1k views

Looking for a way to change the default shape file label in ArcGIS 10

Is there a way to change ArcGIS's default shapefile label Font: Aerial Size: 8 to something we are using over and over again? As shown in attached screen shot, i'd like to include a label expression ...
4
votes
0answers
124 views

Different styles in same label

I have a multiline label made of 3 attributes made through an expression like: "Length" || '/' || "Level" || '/' || '→ ' || "Bearing" || ' ←' I'd like to make the Length and Level lines in ...
4
votes
0answers
30 views

QGIS Color text labels the same color as the feature [duplicate]

Using QGIS 2.12.1 on Ubuntu 14.04 Desktop. What I have is a layer where each feature is a different color. I also want to label each feature but I want the label colors to match the feature colors. I ...
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 ...