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

learn more… | top users | synonyms (2)

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
1answer
522 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
2answers
130 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
129 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
648 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
248 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
559 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
41 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
369 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
834 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
2answers
106 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
163 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
453 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
694 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 ...
3
votes
1answer
605 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
31 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
129 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 ...
3
votes
1answer
632 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
263 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
2k 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
82 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 = ...
3
votes
1answer
557 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
70 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
230 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
111 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
342 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
141 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
2answers
206 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 ...
3
votes
2answers
188 views

Show categories in QGIS

I have a .csv file pointing at coordinates. It is a large file that is edited often. In it, I have three groups of data (say A, B, and C). Within each group there are a number of Names, and each ...
3
votes
1answer
1k views

How to label vector features programmatically?

I am using python for QGIS 2.0.1 and I have a vector layer of points representing the positions of state labels. I want to display the 'state abbreviation' attribute on the corresponding point for ...
3
votes
1answer
904 views

Is there a way to turn on labels with ModelBuilder?

I have a model that creates a feature class and adds it to the map. The properties of the feature class reference a layer file for the symbology. However, I can't seem to find a good way to pass the ...
3
votes
1answer
300 views

How do I set labels to not be one over the other?

In certain zoom I see many city labels "written" on each other. I know there is a feature that set to auto hide labels that override each other ( and I'm not talking about rendering from specific ...
3
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.
3
votes
4answers
2k views

How can I display “related” data in a polygon label?

I have the classic situation with ownership parcels where a single polygon has numerous owners. I have related the parcel shapefile with an owner table in my database but for the life of me I can't ...
3
votes
2answers
2k views

How to label a dynamic KML file in OpenLayers?

How can I display labels for features in a KML file on an OpenLayers map. I was thinking of using popup messages, but labels are more attractive and eye-catching. I want to replicate the labeling ...
3
votes
3answers
687 views

Adding labeling expression to Custom Overlay Grid in ArcGIS Desktop?

I have a custom overlay grid whose labels are driven by an ugly attribute field which contains unnecessary leading zeroes and other labeling no-nos. How can I introduce a labeling expression to this ...
3
votes
3answers
64 views

Labelling nest wells in ArcMap?

I'm making monitoring well figures which includes nested wells. This means that I have mulitple features with the same coordinates but having different attribute data (ex. Well ID). I need to label ...
3
votes
2answers
69 views

VBscript to not include empty fields

I am trying to create a label in arcgis with about 30 columns with this basic VBscript: [field1] & vbnewline & [field2] & vbnewline &[field3] & vbnewline... ETC How can I make ...
3
votes
2answers
77 views

QGIS: Updating labels based on delimited text layer

I have a csv file that I am joining to a layer, then creating labels based on the joined layer. When creating the delimited text layer, I include the option to watch the layer. At the time of ...