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

learn more… | top users | synonyms (2)

3
votes
2answers
1k views

Is there an option to remove duplicate polygon labels in QGIS?

I would like to know if there is an option in QGIS labeling engine which would remove all the duplicate labels. My polygon layer contains a few features with same name. So when labeled it becomes a ...
3
votes
1answer
45 views

How to make QGIS abbreviate labels with a dictionary?

I'm trying to use qgis "expression dialog" for labeling a layer. What I'm looking for is an expression that permits to apply some abbreviation rules on the layer. For now i'm using this CASE WHEN ...
3
votes
1answer
330 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
2answers
526 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
2answers
3k 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
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 ...
3
votes
1answer
290 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
2answers
2k views

Customizing label features using arcpy

I have a script that creates symbology for a polyline (contours) and then adds it to a .mxd file. My problem is that it picks the “FontName” as the default field to label on the map (see attached ...
3
votes
2answers
3k views

Can you create labels based on an attribute field in a shapefile with Arcpy?

I was curious if anyone knew how to access the ArcGIS label engine with arcpy? I want to be able to label point features on my map in a python loop.
3
votes
3answers
2k views

Labeling coordinate value at 4 corners of graticule in arcgis

Hello all 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 ...
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
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 ...
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
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 ...
3
votes
1answer
186 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
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
1k views

How to “Never Remove” labels in Maplex?

The out-of-the-box labeling engine does a fine job with forcing all labels to display despite of overlap. The same cannot be said of Maplex. I have a polygon layer obtained from the Ontario ...
3
votes
1answer
3k views

ArcGIS: Place all labels on a map non overlapped

I was wondering if there is a way to place all labels on a map non overlapping, but by extending an arrow/line from the label to the point. I've tried the call out box, but I couldn't find a way to ...
3
votes
1answer
40 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 ...
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 ...
3
votes
2answers
307 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 ...
3
votes
1answer
116 views

Conditional formatting for Advanced Label Expression in ArcMap

I am trying to do some conditional formatting in order to highlight specific criteria. The main error I keep getting is that there are no features found. I've done a simple label with the exact same ...
3
votes
1answer
137 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
218 views

How to create halo for a text in the composer

I would like to add texts with halo, in the composer (not in the map). Do you know a way to do it? I'm using QGIS 2.0.1 Thank you
3
votes
2answers
265 views

Multiple labels in QGIS [duplicate]

Is it possible to show 2 or more labels for 1 layer? For example - 1 label will show the name of a school and the 2nd label with show the number of students? I wanT to avoid having 2 layers - one for ...
3
votes
1answer
405 views

How do I export labels as editable text objects to be used in Illustrator?

How do I export labels as editable text objects to be used in Illustrator? QGIS 1.8 Thanks.
3
votes
1answer
79 views

How can I label both coordinates in mmQGIS?

How can I label both coordinates in mmQGIS? Everything I try leads to only one of the 2 coordinates (lat or lon) to be labeled. I cannot get both labeled at the same time.
3
votes
1answer
443 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
4answers
1k 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
1answer
273 views

Is it possible to label the start and end of a line in MapServer?

I would like to be able to have the upstream invert at the top of the main and the downstream at the bottom. <---Down Label---------------------------------------------Up Label--->
3
votes
1answer
2k views

Mapserver: labels and tiles

I'm developing map with Mapserver to be rendered in tiles and testing output with Ka-map. Most of the time labels split on two tiles are matching, but sometimes they're not. I configured Ka-Map like ...
3
votes
1answer
48 views

How to display multiple fields as labels if one field is null?

I am having some issues trying to show multiple fields for a single label in QGIS. In QGIS2.6, attempting to display labels for a feature consisting of multiple fields results in an empty label if one ...
3
votes
5answers
186 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
118 views

OSM line labels in Tilemill

I'm learning to use Tilemill to map Toronto OSM street data. I've added osm2psql data from http://metro.teczno.com/#toronto. When turning on road labels for the line file, I find that I'm getting ...
3
votes
1answer
195 views

How to make a different font and color of text in labels?

Is it possible to make a bold or italic, and change the color of individual words Label? Example: the first line is bold in red text, font 12, second row 10 green italic font
3
votes
2answers
218 views

Add labels to points in OpenLayers

I have a Layer: pointLayer = new OpenLayers.Layer.Vector("Point Layer", { strategies: [strategy], styleMap: new OpenLayers.StyleMap({ "default": { ...
3
votes
1answer
296 views

ArcMap - cartographic representation and labels

Cartographic representation in ArcMap is a nice way to temporary change geometry of features, so you can make adjustments just for map making. In my mapping project I need to move some point features ...
3
votes
1answer
310 views

Is there a way to force leader lines to polyline centroids in ArcGIS Desktop 10?

I'm making a pretty standardized set of maps that include alphabetical labels for specific stream segments. As it stands, all my label leader lines snap to the downstream end of my polylines. My ...
3
votes
1answer
418 views

How to rotate labels using ArcPy?

I'm writing Python code for ArcGIS using the arcpy library and now I'm experiencing a little problem with labels. In fact I'm not able to rotate them in layout via arcpy (I should rotate all labels of ...
3
votes
3answers
1k views

How could I label features and convert them to annotations with arcpy?

how could I do the following steps with arcpy: right-click on the layer with the features Label Features Convert Labels to Annotations ... The annotions should be saved in a new shapefile. How ...
3
votes
1answer
287 views

ArcGlobe annotation

Hoping someone here can point me in the right direction. All i want to do is put some labels on a globe in ArcGlobe. I've spent time looking here : http://resources.arcgis.com and here ...
3
votes
2answers
352 views

Does ArcMap have non-breaking space for labels? [duplicate]

Is it possible to have a non-breaking space in ArcMap? I particularly need it for labels. &amp; gives me a & but &nbsp; doesn't work. Is there any way to make a non-breaking space? I'm ...
3
votes
1answer
33 views

How to label states in QGIS with county-level shape

Hi I want to label state names in QGIS but my original shape file is built in county-level. If I simply label them with ``State'', my map shows multiple labels in each state as my original file (one ...
3
votes
4answers
283 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 ...
3
votes
1answer
103 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 ...
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 ...
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
2answers
225 views

OSM zoom levels correspond to what level of text labels?

I'm using Maperitive to render OSM map data of Mexico City as SVG files, destination Illustrator and then print (on paper, in a book). At different zoom levels, the resulting maps have different ...
3
votes
1answer
42 views

qgis2 - hide a layer (or its labels) when another layer is coincident?

I have two road layers - one is a subset of the other, so, there's a lot of overlap. When they are coincident, I see labels from both layers. The 'lower' layer is the thin line road in the SW ...
3
votes
2answers
212 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 ...