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

learn more… | top users | synonyms (2)

7
votes
2answers
49 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 ...
2
votes
1answer
35 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 ...
1
vote
2answers
305 views

Arrow labels not rendered correctly

Geoserver SLD: <sld:LineSymbolizer> <sld:Stroke> <sld:CssParameter name="stroke"> <ogc:PropertyName>geo_color</ogc:PropertyName> ...
1
vote
1answer
39 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 ...
1
vote
1answer
132 views

QGIS Python Labelling

i want to label a point layer with those values exceeding a set of variables attribute table as follows 'loc field'(text),'a'(float),'b'(float),'c'(float) variables as follows vara = 5, varb = 3, ...
3
votes
2answers
84 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 ...
0
votes
1answer
360 views

Setting a scale range for labels in KML files

Is there a way for labels to be displayed in KML only when zoomed in (or out) beyond a certain scale range, just as it is possible in ArcGIS? If exporting to KML from ArcGIS, I guess the first step is ...
2
votes
1answer
164 views

How to make labels' size relative to the map in QGIS1.8?

I want to make my labels' size changed automatically with the scale of the map,so in the menu of "Layer labeling settings",I set the Text size" in map Unit".However,the labels in the selected layer ...
3
votes
1answer
68 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 ...
0
votes
2answers
106 views

2 labels, 1 query - 1 a symbol and the other text: How?

I have a problem: I am trying to add a label to a feature that has two fields embedded in it. The first field simple has two numbers and I would like them to be placed within a circle (text symbol - ...
3
votes
2answers
66 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. ...
1
vote
1answer
32 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
20 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
34 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 ...
2
votes
2answers
226 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 ...
1
vote
0answers
24 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
1answer
73 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 ...
1
vote
2answers
21 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
87 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
2answers
98 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
44 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
42 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: ...
2
votes
0answers
68 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
61 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 ...
0
votes
0answers
9 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 ...
0
votes
1answer
139 views

How to drag label using DragFeature or ModifyFeature?

I am new to openlayer. I have seen the examples in which DragFeature is able to move my points, polygon and lines. But when it comes to test the Label moving in IE8, then the dragging functionality ...
3
votes
1answer
34 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
14 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
33 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 ...
1
vote
2answers
97 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 ...
0
votes
1answer
58 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? ...
2
votes
3answers
205 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 ...
4
votes
2answers
49 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
0answers
20 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 ...
3
votes
1answer
171 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 ...
1
vote
1answer
31 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
43 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
80 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 ...
4
votes
2answers
2k 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
1
vote
0answers
28 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
0answers
27 views

NASA WorldWind : PointPlacemark label is not hidden by the terrain

I am facing this problem where the label for the pointplacemark using the NASA worldwind API is not hidden behind terrain. The symbol hides but the label doesn't. It uses javax.media.opengl.GL and ...
4
votes
2answers
3k 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 ...
2
votes
2answers
319 views

How to create callout/balloon labels in QGIS 2.0?

I'd like to use callout/balloon labels for a vector layer in my GIS using QGIS 2.0. The only way I can see to do this is to position an ordinary label where I want it and then draw an empty text ...
0
votes
2answers
61 views

Display Point Labels in QGIS

I have coordinates and points from that coordinates. so what do i need to do to show point numbers on the map? Thanks. It's my second day with QGIS
3
votes
2answers
171 views

How to show just some labels based on feature intersection of layers?

I'm trying to use "expression based" labeling in QGIS, but I'm stuck with a particular case. I managed to use it for a project with the help of other topics and FAQ but I'm not skilled enough to ...
3
votes
5answers
153 views

How to place labels under a vector layer?

I want to place the labeling under a layer. In QGIS 2.2 apparently the label appears automatically at the top. Can someone help me. (see attachment) example:
3
votes
1answer
77 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 ...
0
votes
0answers
43 views

Township/Range polygon to Line labeling

I'd like to use a township range in my maps where the labels are right on the border of the polygon like the image attached. I've read that I can do this by converting a polygon to a line but I can't ...
1
vote
2answers
69 views

Geoserver SLD text symbology

I have problem with the Geoserver. I have a layer (called "cities") which contains points with attributes. (ID, Name, Layer, etc....) I'd like to write out all the names (at now it doesn't matter if ...
2
votes
1answer
288 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 ...