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

learn more… | top users | synonyms (2)

0
votes
0answers
15 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
18 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. ...
1
vote
1answer
10 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 ...
2
votes
1answer
34 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
0answers
16 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 ...
3
votes
1answer
20 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
2answers
88 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 ...
0
votes
1answer
93 views

Label background in SLD

Is there any possibility to construct SLD style which displays label with rectangular background. Background has to have sizes which automatically fit to sizes of text content. I would prefer not to ...
1
vote
1answer
278 views

Dealing with overlapping grid (and graticule) labels using ArcGIS Desktop?

I do have 3 grids made by Grids menu in data frame properties. I do need them to display in certain layout and also to behave accordingly to couple of rules (overlapping issues), so I can automate my ...
1
vote
1answer
27 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
72 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 ...
4
votes
2answers
522 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 ...
1
vote
0answers
18 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 ...
3
votes
1answer
312 views

Is there a way to export labels in QGIS?

I've used the v2 labeling engine to place some nice looking road labels. Now I'd like to export those labels as a point shapefile for use in another program. Is there any way to accomplish this?
3
votes
1answer
84 views

Converting QGIS Labels to a Polygon Shapefile

I am trying to create an annotation feature from labels and then export this out as a polygon shapefile (the resulting shapefile can then be loaded into ArcGIS online to basically have labels without ...
0
votes
1answer
156 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
57 views

QGIS custom labeling by clicking on polyline (and polygon)

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
493 views

Labeling one to many relationship class using ArcGIS for Desktop?

I’ve created a feature class with a one to many relationships to a table. One point many classes. However I want to label the point with the classes attributes. Esri wrote VB solution but it's ...
10
votes
3answers
142 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 ...
0
votes
0answers
50 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
0answers
27 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
58 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
107 views

labels showing up behind other labels due to unmatched z-index

I am using leaflet label plugin to show labels on markers by using layer.bindLabel('name'). As the number of markers is high the markers come above the label thus labels are not visible clearly. ...
1
vote
1answer
27 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, ...
2
votes
1answer
79 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
321 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
43 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
135 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
88 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
367 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
169 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
84 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
74 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
45 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
22 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
41 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
234 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
29 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 ...
2
votes
1answer
81 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
25 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
91 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
100 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
46 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
44 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
71 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
64 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
13 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 ...
3
votes
1answer
39 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
40 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 ...