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

learn more… | top users | synonyms (2)

4
votes
1answer
1k views

Is there a way in qgis 2.0 to prevent overlapping labels?

Is there a way in qgis 2.0 to prevent overlapping labels? I have a layer with a large geographical extent, which means a hell of a lot of labels. Many of them collide and it looks really bad. Is ...
4
votes
1answer
174 views

How to avoid cutting labels along the map border?

I am labeling areas on a map (for example, forest (coniferous, deciduous trees), swampland, and so on). A cartographer has criticized it because labels which extend beyond the boundaries of the ...
4
votes
1answer
1k views

layer mask does not mask labels, only vector data

I am using ArcGIS 10. I made a layer mask (polygon) that blocks out everyting in a number of vector layers that is outside the area of interest (outside the boundary of two districts). I successfully ...
4
votes
2answers
366 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 ...
4
votes
2answers
308 views

Centered label halos in ArcMap 10.1

When I use label features with halos in ArcMap, whether using the standard or Maplex labeling engine, the halos in the exported map (PDF) are always shifted vertically, so that instead of the halo ...
4
votes
1answer
1k views

How to customize label color in QGIS: Data defined label settings? Expressions? Both? What are the steps? [duplicate]

Updated to show more current screenshot and clarified the question (Which tools? What are the steps?) I'm learning QGIS (1.8 "Lisboa" for Mac). On the QGIS Layer labeling Settings window there is a ...
4
votes
1answer
876 views

ArcGIS key numbering labels for every feature in one layer

I would like to use key numbering when labeling specific layer. But the tricky thing is I want to label every feature in this way. By default, key numbering is last option in Strategy order (source). ...
4
votes
3answers
1k views

Looking for a way to change the default shape file label in ArcGIS 10

Is there a way to change ArcGIS's default shapefile label Font: Aerial Size: 8 to something we are using over and over again? As shown in attached screen shot, i'd like to include a label expression ...
4
votes
0answers
97 views

geoserver dxf plugin - howto export attributes label?

i'm trying to export from geoserver a set of layers with WFS request and dxf plugin for dxf conversion. there is an option withattributes:true that have added for each vector layer a ...
3
votes
4answers
202 views

Removing first and third zeros of a fieldname in label expression

The fieldname only has three characters. I dont want to display zeros in the first and third values. example below. 010 = 1 100 = 10 01Y = 1Y 10Y = 10Y I have figured out how to strip out zeros ...
3
votes
1answer
578 views

Is there a no point symbology option in ArcGIS?

I'm sure it exists, but is there a way to set a point layer to have no symbology. This works best for cities as you just want to display the name, and not necesserily show the location. The way I do ...
3
votes
1answer
340 views

km2 or sqkm - which is more correct?

What is more correct, km2 or sqkm? I'd prefer to use km with a superscript 2, but it's not always possible to format text that way so I was just wondering if there is a convention that should be ...
3
votes
2answers
958 views

Turning off labels that have null values in ArcGIS Desktop?

How do I turn off labels that have null values? I am using a leader with this label but I want it turned off if the values are null
3
votes
4answers
2k views

When labelling polygons, not all labels are displayed - QGIS 1.7.0

I am trying to create a simple map of Mexico showing the state polygons and their label. The state shapefile is from here, and the specific file is the first one from the top (Áreas Geoestadísticas ...
3
votes
2answers
95 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
115 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
2answers
176 views

Python labeling expression using numeric field not working

I'm trying to label parcels from a shapefile in the Python expression below in ArcGIS 10.2. All parcels should be labeled with the last 8 characters of their [PARCEL_NUM], and parcels 10 acres or ...
3
votes
1answer
766 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
3k views

Stacking labels in ArcMap without Maplex?

I do not see any obvious setting for stacking labels in ArcMap (ArcView license). Am I missing something or do i have to write a complex expression to stack my labels?
3
votes
2answers
138 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
588 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
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
3k 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
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
2answers
4k views

How to label GeoJSON polygons?

I'm using Leaflet combined with GeoJSON features. Is there a way to label GeoJSON features (in this case - polygons)? It should get labels from feature.properties.name This is my code where I ...
3
votes
2answers
848 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
1answer
584 views

Rotating Layout View and Labels in ArcMap?

I have a question if you are able to, upon rotating the map, is there a way to do the same with the labels? If so, how? Also, besides using the "Rotate Data Frame" to rotate the Layout View, which ...
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
3answers
165 views

Displaying single label for multiple features with same value in ArcMap?

I'm working on ArcMap 10. I have a layer of points which I categorized based on a field that we can call "Name". Thus, as you can see in the picture below, the layer is now composed of 24 colors, each ...
3
votes
2answers
79 views

Expression for placement of label 'offset from point' by azimuth field using QGIS?

I need help making an expression for labelling points, such that the label is placed in one of the 8 quadrants (above point excluded), based on the azimuth field of the point. For example, if the ...
3
votes
1answer
182 views

ArcGis label last vertex Z value

Is it possible to label a feature in ArcMap using geometry values? In this instance I want to label features (polylines) with the Live Z value of the last vertex obtained from the Shape. However ...
3
votes
1answer
1k 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
413 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
1answer
3k views

How do I make text show up on top of Markers using Carto in TileMill

I'm attempting to place intersection markers on a trail map. Each intersection has a number. I can't seem to get the text show up above the marker. If I use the opacity, I can see the text is ...
3
votes
3answers
3k 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
86 views

How can I connect label and point with a line/arrow?

Is it somehow possible in QGIS to connect labels and points with a line/arrow or something? In my map it is not clear which label goes with its point. I can't bring it closer because there are many ...
3
votes
1answer
95 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
134 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
119 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
652 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
1answer
234 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
2answers
47 views

Placing the label style alongside the layer style within the legend - Arcmap 10

I've been searching for a way to include the label symbology within the legend, something similar to the image below: (Apologies for the quality) There was a post some 4 years back that touched on ...
3
votes
1answer
40 views

Using Function with replace with the US-350 to 350 How to?

I am trying to replace the US- 350 with 350 in the Label Expression but I am stuck how to do that... I am looking at the help here for the function: Function FindLabel ( [LABELFIELD] ) FindLabel = ...
3
votes
1answer
50 views

How to save .shp with layers 'baked' in with QGIS

I'm having no problem applying labels to the shapefile I'm working on in QGIS, but I can't seem to save the new shapefile with the layers 'baked in' for uploading to Mapbox, and then styling. I've ...
3
votes
1answer
152 views

Python FindLabel Function for Label Expression with Formatting Font?

I originally had this FindLabel function (which works)... def FindLabel ( [NAME], [Count_] ): if [Count_] != None: return [NAME] +'\n' + "Well Log Count: " + [Count_] I wanted to format the ...
3
votes
1answer
81 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
56 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 ...