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

learn more… | top users | synonyms (2)

0
votes
1answer
16 views

Adding units to numeric labels?

How do I add the distance units to labels? I have the area calculated and would like the label to be displayed as (XXX sq ft). I was able to write a VBScript of "(" & [AREA] &" )" but am ...
1
vote
1answer
12 views

Adding text to ArcGIS Javascript layer

I am using the ArcGIS Javascript API (v3.15) for a basic use case of placing some markers with text on a map. I am able to add the marker, but I am running into issues inserting text on that marker. ...
5
votes
2answers
4k views

Getting text to center in a label expression

Is there an expression that can be entered in the label expression that will force text to center? Such as the ones used to change case/replace/etc.
1
vote
1answer
42 views

Avoiding multiple elif statements in Python parser for ArcGIS label expressions?

My code for labels look like this: def FindLabel ( [NAME_GEO] ): if [NAME_GEO]=="Tbilisi" : return "<BOL><FNT size ='14'>" + [NAME_GEO] + "</FNT></BOL>" elif [...
3
votes
1answer
51 views

Labeling every feature using QGIS?

I'm working on a wall map that needs to include labels for EVERY street and address range. I recognize that I will have to do a lot of editing to make it work, but I can't even get QGIS to put the ...
3
votes
1answer
33 views

Is there a way to set label weighting for the legend?

I am using data driven pages to produce a series of maps. For each map extent, surrounding areas are labelled. My legend is located in the corner of the data frame (realizing now that that wasn't a ...
1
vote
0answers
13 views

Specify position of curved label in QGIS?

From this answer in 2012 underdark stated: BUT you won't be able to have curved labels anymore if you move/rotate the labels manually, as far as I know. It's now 2016, and I noticed that I can ...
2
votes
1answer
69 views

Labels shifting to different locations after I save from the attribute table

I just started working with QGIS, and I'm having a problem with my labels. I have figured out how to manually move labels for the points on my map (thanks to this forum!)--I have edited the attribute ...
1
vote
2answers
27 views

Label expression help with loop field and multiple fields

I have 13 fields I need to Label all in one Label. But I dont want to label values with zero. Need to have Label before each field example (Field is (C_B) and need to read C&B, 2). Here is what ...
1
vote
1answer
760 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
2answers
356 views

Refreshing display for newly added labels with ArcObjects from Python?

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
1answer
45 views

setting label expressions causing duplicate labels

kind of new to VB.NET. Trying to set my label expression for a layer. Essentially a user picks a layer from a combo box, hits a button, expression is applied on the layer and then the single shp file ...
2
votes
2answers
91 views

How do I get the building housenumber from OSM data?

I've made a map in which buildings in a city are displayed using shapefiles from Geofabrik and unfortunately, none of the shapes contain the housenumber. When I download the .osm files from Geofabrik ...
0
votes
2answers
84 views

Labelling layers with Python

I need to turn labels on for previously used layer. Here is the code: import arcpy import sys from arcpy import env env.overwriteOutput = 1 gp = arcgisscripting.create(9.3) fc_Mord = arcpy....
0
votes
1answer
286 views

Create a new BasicOverposterLayerProperties

ArcGIS 10.1 with VB.NET I have been trying to figure this out for days but can't seem to make the connection. For a layer I am trying to create a label. I create a new BasicOverposterLayerProperties ...
3
votes
1answer
62 views

Label QGIS diagram sector with percentage etc

I'm working with QGIS 2.14.3, using the diagrams function for vector layers. Is it possible to label each single diagram sector with an attribute / calculated percentage? In the layer properties tab / ...
0
votes
1answer
37 views

Label Expression If Statement remove Zeros

I am trying to perform a semi-complicated labeling expression that shows one field divided by another field and some additional fields with no division. The issue I ran into was that the denominator ...
3
votes
1answer
101 views

How to make some labels BOLD using Expression Builder QGIS

I am using QGIS 2.14 and I am trying to make some of my labels bold to stand out. I'm not sure how to do this using the expression builder. I know this is wrong and I was wondering if someone could ...
0
votes
1answer
13 views

Presenting Areas of Land from shapefile to 1 decimal position and convert from m-squared to hactares [duplicate]

I've got a shapefile containing multiple polygons, attached to an attribute table. I'm looking at labeling all these polygons using the attribute 'AREA' column. However, these areas have not been ...
3
votes
0answers
34 views

VBScript Syntax Error in ArcGIS labeling? [closed]

I have been using a script on older ArcGIS to convert depths in engineering format to the Hydrographic format seen on charts. On trying to use it I get a syntax error in Line 14. No matter how I ...
2
votes
2answers
308 views

Convert DateTime field to Just Date in Label Expression

I have a DateTime field (ex: CreatedDate) and would like to only show the date with the label. How would I setup the label expression to do this using python?
2
votes
1answer
40 views

Add leading zeros to data frame label

This is in ArcMap 10.0. When using data frames to label UTM coordinates, I'm sometimes asked to add leading zeros (e.g., 590 would become 00590) to the tick or line labels of the data frame. I'd ...
1
vote
1answer
39 views

How to refresh displayed labels after setting properties via ArcObjects?

I originally posted this query on the ESRI forums but thought I may get more help here. I have cobbled together some code to set halos around text labels for a given feature layer in ArcMap. The ...
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). ...
2
votes
1answer
36 views

Is there a way to automatically displace colliding labels?

I have a PostgreSQL table, which i'm loading on QGIS Essen, that relates many rows to the same object and all this rows have distinct values in the field i'm labelling the objects with. Hence, when I ...
3
votes
1answer
104 views

Labelling only part of the row

I have a column (see below) where I want to label only part of the row. Example: 16-23-1-01-7 -a -00 I want to label only: 7 -a Is it possible in QGIS?
1
vote
2answers
526 views

Arrow labels not rendered correctly

Geoserver SLD: <sld:LineSymbolizer> <sld:Stroke> <sld:CssParameter name="stroke"> <ogc:PropertyName>geo_color</ogc:PropertyName> </sld:...
4
votes
2answers
98 views

Dropping & inserting specific characters within a field being used for labeling

I would like to find out how to properly format a conditional expression in labeling, so as to only get specific characters back out of a field that has 9 characters in it, but don't wish to label ...
0
votes
0answers
5 views

Straddle Line Offset - Maplex

Currently trying to label a polyline using the straddle option in Maplex. Does anyone know how to increase the label offset from the line feature itself using this option? I'm using regular placement ...
1
vote
1answer
256 views

data defined labeling with postgis layer

How to use the expression based (edit: data defined) labeling with postgis? I'm wondering, whats the best way to use expression based (edit: data defined) labels with postgis (I'm new to postgis). ...
2
votes
2answers
60 views

How to label values every 5th number

I have a string of values(over 10,000) I want to label them but I dont want to label every single one. I need to label every fifth number.
0
votes
0answers
12 views

Duplicate labels at AGOL

How do you remove duplicate labels in ArcGis Online AGOL, similar to ArcMap?
1
vote
0answers
28 views

Save rule based lables to new attribute in QGIS

Is it possible to save/export rule based lables in QGIS to a new attribute?
2
votes
0answers
15 views

How to get road labels on Stamen Watercolor basemap in Cartodb

basic question here. I want to use the Stamen Watercolor basemap on CartoDB, but want the road and locality labels displayed on it, as at http://openlayers.org/en/latest/examples/stamen.html?q=...
0
votes
1answer
94 views

In MapBox Studio, how to create a centred label of a polygon created from Shape file?

To get the undesired result below, I: Uploaded a zipped Shape file to MapBox Studio. Using the shape, created a layer of polygons to display area boundaries. Using the same shape, created a text ...
1
vote
1answer
16 views

KML for Labels in Cesium to Display Countries, States, Roads, etc

Is there a free way to display countries, states, roads, etc. in Cesium? I imagine these could be displayed using a comprehensive list of ground overlays in KML. I have looked for free sources of KML ...
1
vote
2answers
250 views

Is it possible to make a stackable label with the Esri LabelLayer

I'd like to add a line break, but the textstring is always taken literally. For example: labels.addFeatureLayer(states, statesLabelRenderer, "Line 1 \r\n Line 2"); is displayed on the map as: ...
0
votes
1answer
70 views

Text Label GeoJSON Markers Google Maps API

I am trying to create a Text Label, for each of the markers created from my GeoJSON with the following code... function init() { var mapCanvas = document.getElementById('myMap'); var map; var image = ...
1
vote
0answers
21 views

Difficulties with placement properties in maplex labeling

I'm working in ArcGIS 10.2.2 and am having two difficulties with labelling using the Maplex Engine. The first problem is that I have two labels that I can't seem to put any additional space in ...
2
votes
0answers
60 views

python label expression [closed]

Can't get advanced python label expression to work. I am trying to get my if else expression to either concatenate or not based on if two fields are blank or not. If SUB_UNIT_TYPE and SUB_UNIT_ID ...
3
votes
0answers
87 views

Assigning different colors to different parts of text in labels using QGIS?

I'm using QGIS 2.14.3. It is now possible to assign different colors (or fonts) to different parts of text in one label (I have seen How to make a different font and color of text in labels? )? If so,...
2
votes
0answers
158 views

QGIS, How to label a layer in different font sizes, shrink to fit in polygon or a multiple line label?

I am just trying to figure out how to label a polygon layer to fit its size in QGIS. or if its very long title should break in line and scale, i did some research but couldn't find anything helpful is ...
2
votes
1answer
74 views

set scale level of background map (QGIS)

is there a way to set the scale of the background map in QGIS? Im importing a backgroundmap from MapQuest via the open layer plugin. I'm creating an overview Map of a whole city, so it is not ...
1
vote
2answers
33 views

Arcmap Label annotations

I am working on labeling features. I tried the annotation labels, but I have decided that it is not what I wanted. How do I change it back or delete the annotation label?
0
votes
0answers
21 views

How to create colour-coded permanent labels in ArcGIS Online

I am new to ArcGIS Online and trying to label different polygons (representing protected areas) within a shapefile based on the status of a monitoring tool used. This information is stored for each ...
3
votes
1answer
35 views

Custom rotated polygon labels in ArcMap

Can the following be done in ArcMap? It should be formula based without manual formatting as performed by my predecessor (in MapInfo using a lot of manual steps) to get the following output. So ...
1
vote
2answers
22 views

Arcpy label white color

I have this label expression within a function that works great. I want to turn the color to white. lblClass.expression = '"{}" + [OBJECTID] + "{}"'.format("<FNT size = '10'>","</FNT>") ...
3
votes
3answers
2k views

Labeling features and converting 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 ...
1
vote
1answer
2k views

Automate converting labels to annotation in ArcMap at multiple scales? [duplicate]

I need to be able to convert labels to Annotation feature classes at multiple scale levels for both address and street data. Similar in concept to generating tiled layers for a web service, I have 5 ...
3
votes
1answer
422 views

Leaflet.label and MarkerCluster problem with zoom dependent add/remove layers

Here's the setup: I have a leaflet map with point data, to which I have applied leaflet.label and leaflet.markercluster. I add the clustered point data at a particular zoom level (code below). All ...