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

learn more… | top users | synonyms (2)

4
votes
0answers
78 views

Is there a way to label a layer using its file name or layer name?

Is there a way to label a layer using its file name or layer name (if I'd change it in Layers window TOC)? I tried some functions but I'm not good on that. I have lots of shapes (lines) and it would ...
2
votes
0answers
34 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 ...
1
vote
1answer
815 views

Labeling classes for small roads on large extent maps in ArcMap with SQL statement?

I have many small sub divisions that won't label nice, (lot of overlapping) unreadable. While using the bullet leader symbol. What would be the best statement that would place the labels in a ...
3
votes
2answers
51 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
0answers
30 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
61 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
43 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
65 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
24 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
32 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 ...
0
votes
1answer
130 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
307 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
46 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
79 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
566 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
26 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
323 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
104 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 ...
3
votes
1answer
69 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
549 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
167 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
53 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
62 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
74 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
185 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
31 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, ...
1
vote
2answers
356 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
51 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
99 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
166 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
109 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
80 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
54 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
54 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
70 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
261 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
37 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
92 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
49 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
97 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
106 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
55 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
49 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
79 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
81 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
15 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
50 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
79 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
178 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
84 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? ...