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

learn more… | top users | synonyms (2)

0
votes
1answer
182 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 = ...
8
votes
4answers
1k views

QGIS choose contour line labels

Is it possible to select only one contour line for labelling? I have numerous labels for each line and I'll prefer to label only the main ones, such as 1000 m and 1500 m
7
votes
1answer
154 views

Geoserver dxf plugin - How to export attributes labels?

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 I have added for each vector layer a ...
0
votes
1answer
16 views

Label certain features of the layer

I have a world country map with a field of showing dengue data in some countries. I want to label only those country with dengue data in the map. I do not know how to do that in ArcGIS. Can anyone ...
3
votes
3answers
378 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 ...
4
votes
0answers
51 views

How to show labels exactly around a circle in QGIS?

I found an interesting way of proportional symbol mapping and labeling, I think this was made by Adobe Illustrator but I couldn't find out if it can be done in QGIS. What I am interested in the most ...
1
vote
1answer
781 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 ...
1
vote
1answer
57 views

Interrupting label display with ArcGIS Desktop?

In order to avoid slowness I would like to interrupt labels display when I'm working with ArcGis 10. I read that the F9 key could do that but it doesn't work for me. Does anyone know an other way to ...
0
votes
0answers
557 views

CAD Contour Lines to ArcGIS Attributed Polylines [closed]

I'm having a 'CAD to GIS' issue. I have a dwg file which contains large number of contour lines that have been split by labels. I need to import the contour lines from CAD to GIS so that they contain ...
0
votes
0answers
29 views

Label formatting of two fields with different font and color

I need to add labels from two different fields and format them differently. Can this be done with a single expression? The first field, "ID", needs to be size 6 font, bold, and pink. The ...
0
votes
1answer
30 views

Adding units to numeric labels in ArcMap?

How do I add the distance units to labels in ArcMap? 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] &" ...
0
votes
1answer
292 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 ...
0
votes
0answers
34 views

Labeling with LocalLayer widget in Web AppBuilder for ArcGIS?

I am using Web AppBuilder (developer edition) to put together a few maps. Since I am using Feature Layers, I am using the LocalLayer widget to pull them in. I tried following the directions on Github ...
1
vote
2answers
111 views

How to control the priority of individual feature labels in one layer?

I have a group of city in a small area with labels. Due to label engine it shows them in a 'random order' (and certainly optimizing) according the space the have. There is a way, without duplicate ...
3
votes
1answer
55 views

Esri ArcGIS Imagery Labels too small?

I'm frequently working with the imagery basemaps provided by Esri. I find that the labels (cities, districts etc.) are way too small. Is there any option to increase the font size?
0
votes
3answers
40 views

Writing ArcMap Label Expression in VBscript?

I have to columns, pipe material and pipe size, I only want to label pipes with a size greater than 2" I am trying to do this but keeps kicking back and error, can anyone assist in what im doing ...
1
vote
1answer
28 views

How to enable “Label every part of multi-features” with pyQGIS?

Regarding the 'Label every part of multi-features' check box located in the 'Labels // Rendering // Feature Options' layer properties UI... Can this be done with pyQGIS? These two commands enable ...
2
votes
2answers
330 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?
0
votes
1answer
18 views

FieldName underscore corrupts Label Expression for Font Size

I am trying to change the size of a secondary line in the Label Expression box: MID( [TRACT] ,4,11) & vbnewline & [FERC_NAME] This approach does not work but it DOES work when the field ...
1
vote
1answer
23 views

Skipping when value is Null in ArcMap dynamic label expression?

I have a table of contents with multiple owner agencies that may or may not have an acreage value in the field and am trying to get a dynamic label expression to only write out the label for the ...
1
vote
2answers
257 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: ...
1
vote
2answers
530 views

Arrow labels not rendered correctly

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

SyntaxError from Python Label Expression in ArcMap?

I am trying to use a find label expression that changes the font of one field, [NUMBERNAME]. I am using the Python parser of ArcGIS 10.3.1 for Desktop. All fields have a data type of text. This is ...
5
votes
2answers
312 views

FindLabel not Defined in ArcMap labeling with Python Parser?

I'm trying to make an advanced label expression using the python parser and I keep getting the following error: def FindLabel ( [Direction] ): return "{}° {}' {}\"".format( [Direction].split("-")...
3
votes
1answer
91 views

Setting default label font in QGIS?

QGIS currently does not have a way to set a default font to be used for labelling, and being lazy I'm getting tired of having to set our house font styling for every layer I create or use (see change ...
4
votes
1answer
78 views

How can I specify a Minimum and Maximum Word Wrap length in QGIS?

I want my labels to fit nicely within polygons. Based on this answer I discovered the power of the wordwrap function in QGIS to make labels. However, I'm confused as to how I could specify a minimum ...
2
votes
2answers
166 views

Labeling with two decimal places (rounded) even when second is zero in ArcMap?

I have a benchmark data that need to label. The data where in the field has attribute height like 12.340, 12.400, 13.690. I have to label the height for examples 12.34, 12.40, 13.69.I already used ...
3
votes
1answer
179 views

NASA WorldWind : PointPlacemark label is not hidden by the terrain

I am facing this problem where the label for the pointplacemark using the NASA worldwind API is not hidden behind terrain. The symbol hides but the label doesn't. It uses javax.media.opengl.GL and ...
3
votes
1answer
439 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 ...
2
votes
0answers
110 views

Maplex not placing labels in area that appears to be available?

I am trying to get ArcMap 10.2.2 to place my labels where I want them using the Maplex label engine. I want to stop the labels from both overlapping other features in the same layer, and overlapping a ...
2
votes
1answer
288 views

Print LABEL text in multiple lines in Cesium JS API

I have a problem printing text in multiple lines using Label in Cesium JavaScript API. text is member of Label class which takes String as input but doesn't really support multiple line labels using '\...
1
vote
1answer
44 views

PyQgis create labels

I am creating a QgsVectorLayer in a plugin and loading it into the map. I would like to set the labelling parameters while I'm doing that. I've followed several examples found here and here, but my ...
2
votes
1answer
241 views

Leaflet removing labels when any popup window is shown

I am newbie to leaflet and i found the following solution to add static labels to features in my map: L.CircleMarker.include({ bindLabel: function (content, options) { if (!this._label || ...
3
votes
1answer
1k views

How to label vector features programmatically?

I am using python for QGIS 2.0.1 and I have a vector layer of points representing the positions of state labels. I want to display the 'state abbreviation' attribute on the corresponding point for ...
1
vote
2answers
191 views

Openlayers - ModifyFeature - How to label vertices with a progressive number

I am quite new in openlayer and javascript. I have a control ModifyFeature on a path vector layer. I would like the vertices to be rendered with a stylemap label showing their progressive number (1,...
1
vote
1answer
21 views

arcpy export data view to jpeg: label size changes

I designed a little arcpy script to export different layers in a data view to jpeg (world files included). It's the first time I actually use arcpy but it works. The only drawback is that the labels ...
3
votes
1answer
29 views

Label every polygon in Geoserver multipolygon

I want to label all areas in a multipolygon in Geoserver using SLD. I have a map with two or three areas, but the label is only visible on the largest one. See attached images; the first image shows ...
1
vote
1answer
23 views

How to create a label with QGIS project path in print composer? [duplicate]

Is there a way in the Print Composer of QGIS to create a label that will automatically update the path of the QGIS project?
2
votes
0answers
32 views

Dynamic Label or Annotation in QGIS canvas

I'm creating an animation from several Raster images, and I'd like to add a label or an annotation to the map canvas, not the print composer, that will enable me to show the layer's name, which holds ...
2
votes
0answers
14 views

Label edits disappear upon saving?

I am trying to label a map I'm creating in QGIS v 2.8.9. I'm using data defined labeling to both manually place and rotate labels. I've created the required fields (X, Y, and Rotate) all as decimal ...
1
vote
1answer
28 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
5k 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
46 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 [...
4
votes
1answer
71 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
38 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
15 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
75 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
31 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
50 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
113 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 ...