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

learn more… | top users | synonyms (2)

3
votes
2answers
77 views

How to combine two string replace functions in one expression?

I would like to change some of my street labels like "Musterstraße" into "Musterstr." or "Muster Straße" into "Muster Str." I already did that for the first case: replace("name", 'straße', 'str.') ...
3
votes
2answers
104 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
418 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 ...
3
votes
3answers
1k views

How to label features in QGIS using SQL statement?

In QGIS, I can't seem to find a way to define the features that I want to label using a SQL query? Is this possible? For example, I downloaded the OSM Natural shapefiles, and a lot of those features ...
3
votes
2answers
110 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. ...
3
votes
1answer
2k views

Why does QGIS show too many labels per feature?

When i check to label polygon feature, one out of a total five polygons shows like 10 labels on top of it. That particular polygon is only one polygon, represented by one row in the table, so i dont ...
3
votes
2answers
2k 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
443 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
665 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
4k 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
640 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
330 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
1answer
72 views

SQL Query in arcmap

I have a BUILDING.SHP and in the attribute table, it has several names and some of the attributes are "STOR" and "MULTIPLE-STOREY CAR PARK" like image below. In my map, I don't want label the ...
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 ...
3
votes
2answers
103 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
75 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
207 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
62 views

How do I make curved labels for polygons in QGIS 2.6.1?

I have been able to find answers on how to do this in older versions of QGIS, but can't seem to come across anything that deals with the latest installment. I need a way to make labels curve to ...
3
votes
1answer
50 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
66 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
1answer
208 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
256 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
288 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
689 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 will show the number of students? They should be completly different labels. ...
3
votes
1answer
537 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
86 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
350 views

Moving cartographic representation of labels in ArcMap?

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
528 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
2k 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
292 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
65 views

Is it possible to mix italic and normal font in a label?

I have concatenate the values of two field like "BYKV_BTYP" || '/' || "FFH" Is it possible to draw the value of the column "FFH" in italic if it is not empty and the value of "BYKV_BTYP" ...
3
votes
1answer
116 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
246 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
145 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
254 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
340 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
364 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
463 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
2k 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
313 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
370 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
41 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
712 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 ...