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

learn more… | top users | synonyms (2)

3
votes
1answer
49 views

Label points at regular interval using qgis

I have a point shapefile with a point index. Like the first picture. I'm trying to label the point index every 30 points to obtain the second screen capture. I also have an attribute R3 or R4 to ...
1
vote
1answer
96 views

how to label only number using vbscript in arcgis 10.1

I have a GPS station feature dataset and I need to label using field NAME. However, I need to label only the number, for example in the field NAME the name are GPS123, STATION 239, STN 325 but the ...
0
votes
1answer
58 views

Convert DateTime field to Just Date in Label Expression

I have a DateTime field (ex: CreatedDate) and would like to only show the date with the label. How would I setup the label expression to do this using python?
0
votes
1answer
28 views

Center text value of a field in polygon and display

I would like to display the value of a field over the polygon. In this case, the field name is Subname, and i would like to use a specific font. Would like to perform this action for each polygon on ...
2
votes
0answers
37 views

How can I manipulate the number of points visible according to scale?

I've gotten trillions of points extracted from a DEM and they are to be labelled. It's fine at scales such as 1:500 but it gets too cluttered especially if I need to make maps of this with scales up ...
3
votes
2answers
63 views

Labeling runs out of map extent and onto borders when exporting to PDF from ArcGIS for Desktop?

When I have tried to export several of the maps I have made but I have a problem with labeling that runs out of the map extent and onto the borders. I am exporting to a PDF and opening the file in ...
0
votes
2answers
71 views

Is it possible to make a stackable label with the Esri LabelLayer

I'd like to add a line break, but the textstring is always taken literally. For example: labels.addFeatureLayer(states, statesLabelRenderer, "Line 1 \r\n Line 2"); is displayed on the map as: ...
0
votes
0answers
38 views

Labels aren't displayed for layers inside a group

I'm using a python script to create an empty group layer in the current map document, add some layers to this group and update their symbology from an existing .lyr file. I also want to to turn on ...
1
vote
1answer
101 views

GeoServer Label Placement - Place Always Inside Polygon

Is there a way within the SLD to ensure that the label always appears within the polygon? For example, in odd shaped polygons (with a hole, or a horseshoe shape) my labels are sitting outside. I'd ...
1
vote
0answers
31 views

label based on related features

Esri's telecom data model has 2 geometric networks, one for infrastructure (manholes and conduits) and one for fiber cables. fiber cables are easily related to a section of conduit based on existing ...
2
votes
1answer
97 views

How to refresh display for newly added labels with ArcObjects

I've added a shapefile to an MXD and Edited the symbolization of it with ArcObjects. Now I'm trying to edit the labeling with ArcObjects. I've successfully been able to edit the default class in the ...
1
vote
1answer
140 views

Vendor parameter <VendorOption name=“labelObstacle”>true</VendorOption> not working?

I am trying to avoid drawing overlapping labels with vendor parameters. I tried below option in different versions of Geoservers (2.2.1 to 2.5.2), its not working. ...
3
votes
1answer
37 views

Label Style is converting decimal String names to Number

The feature.attributes.fid returns a String value like "9.3210". But on the map, this value is being converted to some number type and on map is showing the value 9.321 (without the 0). var ...
1
vote
1answer
165 views

“The coordinates or measures are out of bounds” when converting labels to annotations

Am converting Labels to Annotations in ArcMap 10.1. However an error messages pops up with this message. The coordinates or measures are out of bounds. Text = RUSHOZI The coordinates or measures are ...
1
vote
1answer
86 views

Switch callout text boxes on and off?

In my ArcMap project I’ve added text to the map in callout boxes to identify certain districts. Is it possible switch these on and off like the data layers? I don't want them to show in everything I ...
6
votes
1answer
95 views

one label for two-lane roads (osm, qgis, postgis)

I labeled my osm-lines-layer (PostGIS) with symbols for primary roads and motorways. While the symbols for the primary roads are well placed - with enough distance between each - the two-lane motorway ...
1
vote
0answers
118 views

Is there any way to create a legend from label classes or annotations in ArcGIS 10.2.2?

I have a single "geonames" layer with 56 label classes and another few layers with around 10 label classes. Each class has a different font and colour or graphic. I would like to add most of these ...
1
vote
2answers
102 views

How to label only house number in python? [duplicate]

I have parcel data that has the site address field as ex. 123 First Avenue. I only want to label the house numbers on the map, so 123 in the example. How can I do this using the label expression in ...
1
vote
1answer
38 views

How to Set Label Expression Using a Long Field Type in Toolbox

What I am hoping to be able to achieve with this Tool within my Toolbox is to allow the user to input a number of layers and to set all of the labels with the same font settings (font style, color, ...
3
votes
2answers
876 views

How can you alter label styles (font, color, size, etc.) using Python scripting? (ArcGIS 10.2)

I am trying to write a python macro that will automate the process of labeling points in a layer based on different types of apartments. For example, one style of apartments would have a blue square ...
10
votes
3answers
199 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 ...
1
vote
1answer
70 views

How to use the % Modulo operator to select points for labeling?

I have a shape file with point numbers for individual ID's. I would like to select point numbers divisible by a number, and if the remainder is 0 then I would like to label that point. I have tried ...
3
votes
2answers
103 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
1answer
521 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 ...
1
vote
1answer
65 views

QGIS 2.4 How to label a polygon

I have tried labeling a polygon using the layer properties>label function but it doesn't show my label. How and where do I type the text I want and get it to show?
1
vote
1answer
98 views

ArcPy Label Class object returning unexpected value for expression property?

import arcpy mxd = arcpy.mapping.MapDocument("CURRENT") for lyr in arcpy.mapping.ListLayers(mxd, "TestFile_LineToPoints13_Prod"): if lyr.supports("LABELCLASSES"): for lblclass in ...
0
votes
1answer
99 views

Label related records in ArcMap from enterprise geodatabase

Two questions related to labeling 1:M related records in ArcGIS 10.2. I have successfully built an Advanced Label expression in Python to label records from a related table. I am currently working ...
1
vote
0answers
55 views

How can I add labels to charts in Mapserver?

I have created a mapfile with a piechart and I want to add labels to the various pieces of the pie. The layer in the mapfile is defined as follows: LAYER DATA "Test" NAME "Test" METADATA ...
1
vote
2answers
114 views

Route hatch labeling as stations (0+00) with vba

I have a route feature which I have set up to label every 500' with the distance along the line. I'd like to use typical stationing format (000+00). I've been using the following VBA script: Function ...
3
votes
2answers
109 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 ...
1
vote
0answers
82 views

How to create a stretched symbology with labels for each 1 meter in ArcMap

Can anybody help me with this problem. I want to create a stretched symbology with hard colour breaks and label for each 1 metre in ArcMap. I know how to create a symbology with hard colour breaks ...
1
vote
0answers
58 views

Word cloud labels in QGIS from database

I would like to do some word clouding as labels in QGIS from a series of tables in a database. Examples of word clouds can be found here: Word Cloud - Google Search I have two tables in a database: ...
3
votes
2answers
101 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 ...
0
votes
0answers
17 views

WMTS or TMS Map Labels

Is there another WMTS or TMS offering labels for cities, peaks, rivers, lakes, etc. like the stamen-toner-labels? I did some research but could not find anything. It has not necessarily to be for ...
2
votes
1answer
139 views

What's wrong with my expression to control label colors?

I am struggling to alter the label colours according to field values (as strings) in the attributes table. In my mind what I want is: If the string in column X = 'Proposed' Then label the point ...
2
votes
0answers
88 views

How to design labels which look like a fraction (with a fraction line)?

I want to create labels like a fraction using data from two columns. I have tried to use: "Field" || '\n' || '――' || '\n' || "Field2" but it doesn't look good. How can I do it using other method? ...
2
votes
1answer
130 views

openlayers display labels

I am displaying and labeling a polygon Layer using a geojson file and the field nom_comm. I would like to label the polygons between two scales i.e. two zooms. (So to speak, labels are to be ...
3
votes
1answer
69 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 ...
1
vote
0answers
35 views

Labels on the QGIS WMS layers are not drawn according to the style definition

I have an issue regarding the styling of labels of WMS layers using QGIS server. I can't seem to get them to display how I want. What I did: create a QGIS project (2.2 on Mac) with a layer from a ...
1
vote
0answers
115 views

custom SVG label style - openlayers

My goal is to display rotated labels for roads on my openlayers based webmap. The problem is actually solved (with a custom SVG solution), but i have some problems with the styling of the labels. As ...
2
votes
3answers
351 views

Python Label Expression: Only show text after a 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 ...
0
votes
1answer
120 views

Using Standard and Maplex Labelling Engines at same time?

Is there any way to have one layer using the Maplex Labelling Engine for labeling and another layer using the Standard Labelling Engine at the same time in ArcMap? ...
1
vote
2answers
291 views

Concatenating fields with label expressions using Python

I am trying to combine three numeric fields together for a feature's label. I only want to label the feature if it is over 0. The labeled numbers need to be separated a dash ("-"). This is what I ...
1
vote
0answers
46 views

Annotation/Label size adjusting to map scale in QGIS

I'm trying to label the street names for a map I'm working on but I do not want the labels to automatically adjust to the map scale when zooming in or out. My question is: In QGIS how do I set a fixed ...
4
votes
2answers
66 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 ...
1
vote
1answer
63 views

Labeling in MapInfo using expressions

How do I do this? Columns - Sitecode Acres 271730-001 .75 271730-002 .50 I'm trying to label objects by multiplying the Acres column by "2.5". As an ...
1
vote
1answer
188 views

Force all labels visible in GeoServer

How can I force all labels to be visible in GeoServer I have tried with both <VendorOption name="conflictResolution">false</VendorOption> and <VendorOption ...
3
votes
4answers
643 views

Label using VBscript in ArcMap - multiple IF statements?

I have 4 fields that hold number values. I only want a label returned if the field <>0. For instance, if col1<>0, then label = col1 AND if col2 <>0 then label = col2, etc. So, I want all ...
1
vote
0answers
32 views

Order of displaying labels within a layer

How do I choose the order which labels are drawn, within a layer? I am using label classes but I don't want my points drawn in the order of the label class. My points are numbered and I want to ensure ...
3
votes
1answer
366 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 ...